[Chicago] Now I get it.

Lewit, Douglas d-lewit at neiu.edu
Tue Jun 16 05:55:42 CEST 2015

if __name__ = "__main__":

Now I get it.  Do you want to just import the methods from your .py file?
Or do you want to actually run the program directly?  Cool stuff!



P.S.  Any thoughts on Ruby guys?  I've been messing around with it lately.
Sort of Python-like, but it actually offers more constructs than Python.
For example, Ruby has a do-while loop and Ruby offers two different ways to
represent ranges, one with the upper limit included and the other with the
upper limit excluded--as in Python.  But Ruby has a very "Pythonic" feel to
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20150615/7899a9ab/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MergeSort.py
Type: text/x-python
Size: 2475 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/chicago/attachments/20150615/7899a9ab/attachment.py>

More information about the Chicago mailing list