Webucator offers a Computer Science scholarship annually to support a student who shows potential for leadership in the field of Computer Science. There was a lot of interest in the scholarship again this year and we are happy to award it to Hokyin (Joe) Ma, a student at the University of Washington. Hokyin has been interested in computer science since he was 12 years old and hopes to turn his passion into a career. Continue Reading »
Last month, I wrote about how, based on the number of questions posted on StackOverflow, Python 3 usage seems to finally be catching up to Python 2 usage. I plan to track that every month to see when the number of Python-3-tagged posts finally surpasses the number of Python-2-tagged posts. Here’s the latest chart:
Continue Reading »
The default autosave interval in IPython notebook is 120 seconds. You can change this using the
%autosave magic command for an individual notebook like this:
But if you want to change it for all your notebooks, you need to modify the custom.js file. Continue Reading »
Webucator’s Advanced Python course is taught using IPython Notebook. This is the first video in the course, which provides a very basic introduction to IPython Notebook. In addition to videos, the course will contain readings, review quizzes, and 18 exercises. Continue Reading »
Most Python programmers agree that Python 3, which has been available since 2008, is a big improvement over Python 2, but many (most?) Python developers are still using Python 2. The main reasons for this, according to a 2014 survey, are:
- They are relying on Python 2 libraries that have not been ported to Python 3.
- They have a large Python 2 code base, which would be time consuming and difficult to rewrite.
- They see no real advantage to switching.
But there are now clear signs that Python 2, which one developer argues we should start calling “Legacy Python”, is on it’s way out. Continue Reading »
This video is from the self-paced version of our Python Data Analysis with NumPy and pandas course. It shows how to retrieve data from a NumPy array, but the really cool thing is the interactive IPython Notebook quiz. 🙂 Continue Reading »
We wanted to use Dreamweaver to do a global find and replace on many different types of files, including Python files. But Dreamweaver only will find files with certain extensions, and by default .py is not one of them. However, it’s easy to add extensions to Dreamweaver’s list. Continue Reading »
As an exercise in our Introduction to Python course, we have students create
any_true() functions, which work just like the built-in
any() functions. I’m working on the self-paced version of the course and just created the video below explaining the solution. Continue Reading »
When pasting paragraph text into Photoshop, the text often ends up on a single line extending beyond the width of the image, like this:
Continue Reading »
You used to be able to change the default (i.e., Home) directory in IPython Notebook on Windows by setting the c.NotebookApp.notebook_dir property in ipython_notebook_config.py, but that doesn’t appear to be working anymore. The workaround I found was to create a batch file and pin it to the Windows taskbar. Here’s how: Continue Reading »