3 ms·
Love the Easter egg! Here is something you might want to learn about: "shebangs" they are those #!usr/bin/python3 thingies on the first line, and you can run p
by andrei-akopian 2y ago
Love the Easter egg!
Here is something you might want to learn about: "shebangs" they are those #!usr/bin/python3 thingies on the first line, and you can run python scripts with ./myscript.py just like you would run shell scripts and binaries.
- andrei-akopian 2y agoIn hindsight, this was bad advice. There should be a leading slash (/) for root. So #!/usr/bin/python3 And for the file to execute you have to give yourself execution permission with "chmod +x myscript.py"