New to Python New to Alpaca and aglo trading

Hello I’m new to Alpaca and python I’m trying to read the doc and it all seems a little discombobulated to me. All I want at first is to know how to write a small script on buying and selling in my ide. Then move on to building a trading bot.

Can anyone point into the right direction.