Skip to content

lxieyang/python-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python tutorial

This is a python tutorial repo containing several pieces of python starter code. If you are using a Mac or a Linux machine and want to directly run your python script via Terminal, add the following to the first line of your code:

#!/usr/bin/env python

Then, run the following command in Terminal:

$ chmod a+x first.py

Then you can run the program like this:

$ ./first.py

###UTF-8 To use UTF-8, add the following to the second line (if the first is occupied by the #!/usr/bin/env python):

# -*- coding: utf-8 -*-

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages