python
  
 Posted in   
         438
        11:41 pm, March 28, 2021 
        python getting started notes
check your version of python
Python
python --versionif this does not work try
Python
python3 --versionthis should show something like:
Python 3.8.5
you can run a python script with
Python
python3 myscript.pyyou cant just make it +x and run it, there is prob a setting for that
adding your 1st py script
BASH
nano hello.pythen 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.pyif all is good it should print...
Hello World
x
View Statistics
            This Week
          
          
            76
          
        
            This Month
          
          
            324
          
        
            This Year
          
          
            1287
          
        Add Comment
Other Items in python
Related Search Terms
Other Categories in Articles
    ai api and javascript apps bootstrap code notes cooking 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 audio 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 rants rs3 runescape site bugs slick slider terraria valheim video notes video reviews videos web development webdev windows wordpress wow wow classic youtube 
  
 
    
   
	