python
Posted in
6
11:41 pm, March 28, 2021
python getting started notes
check your version of python
Python
python --version
if this does not work try
Python
python3 --version
this should show something like:
Python 3.8.5
you can run a python script with
Python
python3 myscript.py
you cant just make it +x and run it, there is prob a setting for that
adding your 1st py script
BASH
nano hello.py
then add a print command
Nano
print("Hello World")
Press CTRL+X and then Y to save the file
then run it to test
BASH
python3 hello.py
if all is good it should print...
Hello World
x
View Statistics
This Week
28
This Month
117
This Year
0
Add Comment
Other Items in python
Related Search Terms
Other Categories in Articles
apps forster nft pi site development tech tools and utilities utilities videos android apple apps atom bootstrap code cooking core crypto css designs factorio games google hardware how to howto ios linux mac music new world osrs php pi400 privacy python random rs3 runescape site bugs terraria valheim web development webdev windows wordpress wow wow classic