I had an e-mail from O'Reilly a while ago asking me to confirm that I was happy for them to publish a couple of Python scripts in the "Python Cookbook". Well, the book is out now, and I'm really pleased to have made a contribution, however tiny.
The two scripts are "Swapping One File Extension for Another Throughout a Directory Tree" and "Converting a List of Equal-Length Lists into XML".
The most recent version of the XML generator is in the Python section of Outwardly Normal. I'll update the version on the Python Cookbook site shortly. Because the script includes XML/HTML entities, you need to copy the plain text source rather than copy and paste from the browser. The swapextensions script is documented here.
I owe a lot to Python. In many ways the language got me started as someone who writes code. (I wouldn't say I'm a programmer yet, just someone who writes code).
"Learning Python" was the first programming book I ever read, and it's an outstanding introduction to programming. I'm hoping that a new edition will be out before too long, as Python now has a number of new features that I'd like to see explained in the authors' clear and friendly style.
Seeing my contributions in the contents page of a book is a very good way to start the day.
8:04:12 AM
|