r/learnpython • • Dec 23 '19

What are some creative small programs that you have coded using Python?

I am a beginner at coding with Python, so I am curious about learning what small programs or projects you all have created. I am hoping to develop my skills using Python, so I figured looking at actual code for various programs would greatly help.

Please include a short description of what the program does and the code itself in the comments below. Thank you!

348 Upvotes

224 comments sorted by

View all comments

Show parent comments

1

u/ThatGuyAgain42 Jan 03 '20

But does it work on other operating systems?

1

u/Andi_y Jan 03 '20

Ehm good question, i am not 100% shure if it works. I only have windows laptop to test it out.

Google:

  • On Linux the command is: Shutdown -h 30

  • An on MacOs it is: sudo shutdown -h +60

So it should work on mac but I am not shre if it works on linux.

But if you have a other os you could give me some feedback if it worked or not!

1

u/ThatGuyAgain42 Jan 03 '20

Time to over engineer a solution then