|
Thanks for the references John.
I’ll load up Python 3 ASAP.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
On Jul 6, 2015, at 3:52 PM, John Yeung <gallium.arsenide@xxxxxxxxx> wrote:
On Mon, Jul 6, 2015 at 1:31 PM, Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:
Guess I’ll have to get started with my Python studies!
I find a great place to start is the standard Python tutorial. It's
part of the standard documentation:
https://docs.python.org/3/tutorial/index.html
The above again assumes Python 3. (Replace the 3 in the URL with 2 for
Python 2.) If you're using Windows, you can also get the docs in the
usual .chm format by looking for "Python Manuals" in your Start menu.
Jon, I know you prefer to use a Mac as your personal computer; it will
almost certainly have come with Python 2 preinstalled. My
recommendation is to download and install the latest Python 3
(currently 3.4.3) for your own use. This is in part to better match
IBM's recently released Python, and in part because this way you are
less likely to inadvertently muck up the system Python (which is used
by the operating system itself as well as by some third-party
software).
Some tips specifically geared for Mac users is here:
https://docs.python.org/3/using/mac.html
You asked Buck for examples that aren't object-oriented. Well, Python
comes with a whole bunch of them. On Windows, the directory where
Python is installed (for Python 3.4.x, this is typically C:\Python34)
should have a Tools subdirectory. I don't have a Mac to verify this
myself, but I believe the corresponding place to look is
'/Applications/Python 3.4/Extras'.
These examples are meant to be both illustrative and actually
practical as tools. (Just as one example, there's a script called
rgrep.py which implements a "reverse grep".)
John Y.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.