Python installation confusion on Mac OS X

Justin J writes:

I installed python 3.3.2 for my macbook running version 10.6.8 and typed this in, open -a "/Applications/Python 3.2/IDLE.app" --args -n and it didn't work:

"The action Run Shell Script encountered an error. Check the action's properties and try running the workflow again"

I...

Continue reading...

What is -n for

John writes:

Quick question regarding the -n used in the shortcut for IDLE. I realize that it starts IDLE with no subprocesses, but what does that mean and why do we want to do it?

There's precious little on the net describing what the -n switch does. From the IDLE documentation:

If IDLE...

Continue reading...

Python Kinderleicht

This arrived in the mail from No Starch today:

python-kinderleicht.webp

Sehr cool!

The German translation of Python for Kids is available from the publisher dpunkt verlag and amazon.de (probably others, but those were the first couple of links that popped up).

Continue reading...

Tkinter problems on the Raspberry Pi

Ben writes:

I am 12 and I am reading your book, Python for Kids. I have recently confronted a problem with the module tkinter. I have recently got a rasberry pi to program on python. I am pretty sure that tkinter is already installed on python, but when I run something like:

def hello(): print...

Continue reading...

On Feedly

Rather than burning a significant amount of time rolling my own alternative to the soon-to-be-lamented Google Reader, I've been evaluating the various closed and open source options, finally settling on Feedly.

It's... okay... but the mobile app (at least the iPhone version) isn't... well... p...

Continue reading...
iOS
Scratch or Python

Scratch or Python

Marvin writes:

I have a 10 year old son who is interested in programming. He really loves playing games so I thought he should learn how they are created. I am a bit confused on which language to have him start.

My question is should he start with Scratch (and for how long?) or should I start...

Continue reading...
One versus two underscores

One versus two underscores

Omer writes:

I am currently on Chapter 13 and I have come across a problem that I cannot seem to figure out. I am in the section 'Creating the Ball Class'. I wrote the code the way that you have described in the book, and I am getting the following error:

Traceback (most recent call last): Fil...

Continue reading...

Problems with files

Evan writes:

I have a Windows 8 PC, and have installed Python 3.3 onto it, and worked my way up to the last part of chapter 9 in your book with no major problems. But now I am stuck in the last part of chapter 9. The first time I tried to save a notepad txt file to the C: location, access was de...

Continue reading...
Good luck

Good luck

To the (I assume) wannabe-hackers who, according to my web server logs, are trying to access various combinations of wp-admin, wp-login and other types of login page... good luck with that! ツ

Continue reading...

Python on the Web?

Dean writes:

I'm 13, I live in the US, and I just finished reading your excellent book "Python for Kids". After I finished the book I had two questions. First I was curious if it is possible to put a python game on a website to play? The other question I had was what was the hardest project you...

Continue reading...