Python 3 Programming Tutorial - Frequently asked questions

Channel:
Subscribers:
1,410,000
Published on ● Video Link: https://www.youtube.com/watch?v=hlxCpeb9pbU



Category:
Tutorial
Duration: 5:33
105,688 views
940


Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4&feature=share&list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M

In this python 3 programming tutorial video, the following topics are discussed:
#!/usr/bin/python placed at the top of scripts and if __name__ == "__main__" for the main loops.
#!/usr/bin/python is a shebang line, which notifies Linux of the python path. This allows the script to be executable in Linux.
if __name__ == "__main__" is used by people who distribute their code to others. This allows the code to either be used as a standalone, or to be imported by another script without running the mainloop.







Tags:
Computer Programming (Professional Field)
Python (Software)
programming
tutorial
basics
python 3
python 3.3
python 3.4
python 2 and 3
python 2.7
2.7
3.3
3.4
beginner
how-to
coding
easy
shebang
#!/usr/bin/python
if
__name__
==
__main__
Python (Programming Language)