Python 3 Programming Tutorial - Frequently asked questions

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.

Gearloose

Welcome to my blog. My name is Akis Mparekas. I am a freelance web developer from Greece. At the same time I am taking my first steps in game development (unity) and animation (blender). I also create cool stuff, either for work or for fun. When I have time, I write tutorials and I blog.