Things to do before Feb. 2

You know your assignment is due on Saturday.

There is no quiz this week.

Someone asked about the background of Python. While almost everything you would ever care to know about Python can be found at the Python Software Foundation website, perhaps the nicest thing you can read is this little page about Guido van Rossum, who created Python for the good of all. There are many affectionate Python sites, like this and this.

After you finish Assignment 2, get started with Python. Links are on the Course Schedule under Week 5. You should get started on Sunday. Do not try to do it all on Tuesday morning!

Your main task is to type all the things in Zed’s lessons 1 through 12. As Zed says:

If you copy and paste, you might as well not even do them. The point of these exercises is to train your hands, your brain, and your mind in how to read, write, and see code. If you copy-paste, you are cheating yourself out of the effectiveness of the lessons.

We will be using Python for the rest of the semester!

The command-line cheatsheet I made for you should address any questions you might have outside the lessons. That is also linked under Week 5.

Things I showed in class Jan. 26:

Also:

The hash() question: I had to test this. Here is code (no database needed, but it’s PHP so you will need to put it in htdocs in XAMPP to try it). This proves that what Andrew suggested will work. The ripemd128 encryption always produces the same result from a given string, so you don’t need to reverse-encrypt the password.

.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s