r/PythonLearning 2d ago

Devops python course suggestions for someone who writes bash and then regrets it

Most of my automation is bash held together by hope. It works fine until a filename has a space in it and suddenly I’m debugging quoting for half the day.

Trying to move the bigger scripts over to python now. The problem is every python course I find seems to spend forever on basic stuff before getting anywhere near a file or an api.

Boot dev, Automate the Boring Stuff and real python are the three I have bookmarked so far.

Anyone here actually used one of these for devops python course stuff? Just looking for something that gets into useful scripts pretty quickly.

5 Upvotes

8 comments sorted by

1

u/ninhaomah 2d ago

Have you tried any ?

Since you know bash , let's skip hello world and for loops.

What have you tried so far ?

1

u/IcyCranberry3297 2d ago

Not much yet, mostly basic file automation stuff

1

u/Etiennera 2d ago

Shove your scripts that you understand well into an LLM and just see how it does things differently. Ask about the unclear parts.

It is current year, you know?

1

u/Imaginary-poster 2d ago

Ive been doing this with SQL and it has been great. I can make just about whatever I want but dropping them in its gotten me writing things more efficiently. Talking about shaving minutes to seconds.

1

u/Embarrassed_Hand3967 1d ago

I'd skip the basic stuff ad go straight for the file handling and APIs tbh

1

u/itlogicpartnersllc 16h ago

do not skip the data types four weeks entirely the bash to python transition breaks specifically on mutable default arguments and on how python handles subprocess quoting and both live in the boring section you want to jump over..

1

u/Defiant-Courage3570 4h ago

Do not skip the data types four weeks entirely. The bash to python transition breaks specifically on mutable default arguments and on how python handles subprocess quoting, and both live in the boring section you want to jump over.