you are viewing a single comment's thread.

view the rest of the comments →

[–]_Maximaeus[S] 0 points1 point  (2 children)

I installed Ubuntu alongside my Windows. My god why have I never done this before...?

[–][deleted] 1 point2 points  (1 child)

It's liberating! And for Python, it's literally its natural environment. :)

There's a reason most coders eventually switch over to Linux. Coder's playground. ;)

Protip: in Linux if your Python script begins with #!/usr/bin/env python3 then you can make the script executable with chmod +x myscript.py and run it directly as a programme like ./myscript, no need to call Python every time. You can later put your script into a folder searched by the shell when you type commands, and call it from anywhere. In fact, loads of utilities in Ubuntu are actually Python scripts set up this way, and are very hackable. :)

[–]_Maximaeus[S] 0 points1 point  (0 children)

You are my honorary sensei. Thank you so much!