Last week I needed to email out marks to my students. How to automate a bulk email project? No doubt the Internet will turn up hundreds of spyware-infested programmes of dubious lineage and intent, all designed for just this purpose.
So I turned to Python. Because if I write my own code I can trust it to do exactly what I wish, no more, no less. And so memories of Paul's first Python programme came flooding back... ah, sweet nostalgia! If you have no idea what I am talking about here, read Sunday's article. In it, I presented the minimal four line Python snippet that sends email. In this article I will develop that core into a fully-functional command-line application.
Tuesday, April 14, 2015
Sunday, April 12, 2015
Python... and a letter to an editor
Python, the programming language, seems to be in the news more than usual. Or perhaps it's just the "Python For Beginners" article in Communications of the ACM that got me thinking. The article seems unreasonably critical for one ostensibly promoting the language. And so, for the first time, I've written a letter to the editor of that esteemed journal. More on that in a moment.
If I think through all of the technologies that have made my life easier and better, the first one that comes to mind is, quite naturally, the Internet. The second is Python, created by Guido van Rossum. Allow me to reminisce for a moment.
If I think through all of the technologies that have made my life easier and better, the first one that comes to mind is, quite naturally, the Internet. The second is Python, created by Guido van Rossum. Allow me to reminisce for a moment.
Subscribe to:
Posts (Atom)