Python is a scripting language at its core, but overall it is much more. Python has a variety of modules and add-ons. Some basic include modules include NumPy/SciPy for math and science, CSV for delimited text, and XML for xml parsing and generation. My first Python program took me only a day or so to develop and test, it was a CSV translator. Basically it converted one CSV file into another. My next program took me another 2-3 days and it converted a gridded file into a CSV formatted file. And today, I wrote my first XML parser. Using 'minidom' from the xml package I was able to put together a simple parser for converting an XML file into a csv file.
All this I've basically accomplished over a few weeks of learning using only a handful of simple resources both online and in print. Yes I have many years of experience with a variety of programming languages, but I definitely have found Python the easiest to learn yet. Here is a quick list of resources I've found helpful:
- Tutorial at Python.org
- Python.org Library Reference
- Dive into Python by Mark Pilgrim
- Python/XML Howto by A.M. Kuchling
- Python XML Frequently Asked Questions by Dave Kuhlman
- Book: XML Processing with Perl, Python, and PHP by Martin C. Brown
- Magazine: CiSE issue: Python: Batteries Included Volume 9, Number 3
- Python and XML: An Introduction
- Creating XML with Python
update 2008-03-19: added 2 more links
No comments:
Post a Comment