Open in TheBrain

Python Tutorial — Python v2.7.3 documentation

<p>Feb 26, 2013 03:05 PM &#160;this is not the Nick Parlante tutorial.

&#160;

named after Monty Python's Flyding Circus and not the reptile.

&#160;

quit() &#160;gets you out the interpreter &#160;(or just close the window)...

&#160;

&#160;

c<b>ontrol C is the INTERRUPT characte</b>r &#160;

&#160;

On <b>Windows</b> systems, there is <b>no notion of an “executable mode</b>”. The Python installer automatically associates&#160;<tt class="docutils literal" ><b>.py</b></tt><b>&#160;</b><b>files with</b><tt class="docutils literal" ><b>python.exe</b></tt>&#160;so that a <b>double-click on a Python file</b> will run it as a script. The extension can also be&#160;<tt class="docutils literal" >.pyw</tt>, in that case, the console window that normally appears is suppressed.

hjhjh

&#160;

&#160;

&#160;

&#160;

&#160;

&#160;

&#160;

&#160;</p>

Attachments