A new cohort of Weekly Python Exercise A2 (“Functions for beginners”) starts tomorrow — Tuesday, May 5th. If you’ve been using Python for less than one year, and want to write better, more powerful, more idiomatic functions that do more with less code — then this is the course for ...
This is a reminder that my free, weekly “Python for non-programmers” course will continue tomorrow (Friday), May 1st, at 10 a.m. Eastern. In this session, our 7th, we’ll talk abut lists! (This is more exciting than it might sound at first.) The course is 100% free of charge and without ...
PyCon didn’t happen in Pittsburgh, as planned, thanks to the coronavirus and covid-19. But it did happen online, and I was delighted to be able to present a talk! Here’s the talk video: And here are the slides, which you can download and use: Function-dissection-labDownload Please send comments via e-mail ...
It happens to all of us: You write some Python code, but you encounter an error: >>> for i in 10: # this will not work! print(i) TypeError: 'int' object is not iterable This isn’t just an error, but an exception. It’s Python’s way of saying that there was a ...
If you’ve programmed in Python for even a short amount of time, then you’ve probably written a fair number of functions. But many newcomers to Python don’t understand just how useful and powerful functions can be: We can treat functions as nouns, not just as verbs — passing them as ...
My free, weekly “Python for non-programmers” course continues tomorrow, Friday April 24th, at 10 a.m. Eastern. If you’ve ever wanted to learn to program, then you’re always free to join. (About 1,600 people have already done so.) And yes, we’ve been going for a month already… but if you join, ...