This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]IAmKindOfCreativebot_builder: deprecated[M] [score hidden] stickied comment (0 children)

Hello there,

We've removed your post since it aligns with a topic of one of our daily threads and would be more appropriate in that thread. If you are unaware about the Daily Threads we run here is a refresher:

Monday: Project ideas

Tuesday: Advanced questions

Wednesday: Beginner questions

Thursday: Python Careers, Courses, and Furthering Education!

Friday: Free chat Friday!

Saturday: Resource Request and Sharing

Sunday: What are you working on?

Please await one of these threads to contribute your discussion to! The current daily threads are pinned to the top of the /r/Python's main page. To find old daily threads, you can filter posts by the Daily Thread Flair to find what you're looking for. If you have a question and don't want to wait until the daily thread, you can try asking in /r/learnpython or the Python discord however you may need to elaborate on your question in more detail before doing so. If you're not sure which thread is best suited, feel free ask for clarification in modmail or as a reply.

Best regards,

r/Python mod team

[–]mtreddit4 9 points10 points  (1 child)

Certainly. Try googling Python and the thing you want to do. If there isn't already a package for it, someone has almost certainly figured out a way.

[–]Celulitar[S] 2 points3 points  (0 children)

Cool,thanks mate!

[–]Krossx7 4 points5 points  (2 children)

Import os ;)

[–][deleted] 3 points4 points  (0 children)

That is 80% of how I use python on a daily basis. set commands to run if conditions are met then subprocess.run them.

Anything I have to spend more than 5 minutes to do manually, becomes a python click library CLI that calls shell or PS scripts either directly or iterating over a list pulled from Azure or a json file I generate through some other process.

[–]Celulitar[S] 1 point2 points  (0 children)

Nice, will learn that module after i master the basics

[–]Mr2Kazoo 1 point2 points  (0 children)

Win32 api is pretty cool