python
Posted in
2018
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
44
This Month
268
This Year
390
Add Comment
Other Items in python
Related Search Terms
Other Categories in Articles
ai api and javascript apps bootstrap data imports docker forster funny images gaming linux marriage minecraft nft newsletters osrs operating systems photoshop pi rs3 slayer random code random things site development site updates tech tool documentation tools and utilities utilities vpn video notes videos web dev windows apps android apple apps atom bootstrap charts code code thoughts comments cooking core crypto css designs factorio games google hardware how to howto ios ideas linux mac music new world osrs php pi400 privacy python random random stats random web code random web things rs3 runescape site bugs slick slider terraria valheim videos web development webdev windows wordpress wow wow classic youtube