Webucator blogs about online learning and training.

Webucator Blog

If you are using XAMPP to do PHP development and you want to test your pages on your iPhone, you will need to:

  1. Find your local IP address
  2. Configure XAMPP to allow access from your mobile device (not necessary on Macs).

Read the rest of this entry »

You’re trying to use XAMPP to do PHP development. But when you start Apache, you get this error. The chances are that it’s due to a blocked port. In this video, I’ll show you how to fix that error by changing the port that Apache uses. Below the video, I provide text instructions. Read the rest of this entry »

We are about to launch a new website and, in doing so, we have restructured our URLs and used 301 redirects to point the old URL to the new URL. To make sure that we caught all the changes, we compiled a list of URLs on our old site using our sitemap and the Landing Page report from Google Analytics. We then used the Python’s request library to check all the URLs.

Using BeautifulSoup, you can easily check your own sitemap to make sure you don’t have any links pointing to missing pages. The code below shows how to do this using the NASA sitemap.
Read the rest of this entry »

Python 3 came out in 2008. That’s eight whole years ago. This past month, April 2016, is the first month that there have been more Python 3-related questions on Stack Overflow than Python 2-related questions. It has taken a long time, but Python 3 finally seems to be getting as much usage as Python 2. It’ll be interesting to see if this is a tipping point and usage of Python 2 begins to plummet. Here’s the latest chart:
Read the rest of this entry »

According to the W3C, HTML5 attribute values can be wrapped in single quotes or double quotes or no quotes at all. The same rules apply to HTML4, though some form of quotes is recommended. And in XHTML, values have to be wrapped in quotes, either single or double.

Dreamweaver CC 2015, out of the box, only wants double quotes around attribute values, which is weird. Misha Abesadze asked about this on the Adobe forum and Madhusudan N answered by describing how to fix Dreamweaver so that it doesn’t mark single-quoted attribute values with error messages. In the video below, we show the solution: Read the rest of this entry »

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. Read the rest of this entry »

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:

Read the rest of this entry »

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:

IPython Notebook autosave

But if you want to change it for all your notebooks, you need to modify the custom.js file. Read the rest of this entry »

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. Read the rest of this entry »

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:

  1. They are relying on Python 2 libraries that have not been ported to Python 3.
  2. They have a large Python 2 code base, which would be time consuming and difficult to rewrite.
  3. 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. Read the rest of this entry »


© Webucator, Inc. All rights reserved. | Toll Free: 877-932-8228 | Outside the USA: 315-849-2724 | Fax: 315-849-2723