Text position in tkinter

Drew M writes:

I have a question I am sure I don’t know :) In tkinter I am creating a game and can’t figure out how to set dimensions for text. I need it on the middle. My canvas is 1000 by 1000 so I divided in half. Which is of course 500. Now again, my question is how to put it there.

... Continue reading...

PfK and Python 2

Tara P writes:

I am going to be teaching Python 2 this coming school year and I am looking for a supplemental learning tool and projects for myself and my students. Will your book Python for Kids work *with Python 2?

I saw that it is recommended to use Python 3 however the curriculum I am t...

Continue reading...

Python3.5 on macOS

If you’re installing Python3.5 on macOS, you don’t need to follow the Automator instructions in Python for Kids any more. After installation, it’s as simple as searching for IDLE in Spotlight (the magnifying glass in the top righthand side of the menu bar) and double-clicking on (usually) the top hi...

Continue reading...

Python 3.5 beta issue on Windows

Tony writes:

I have installed Python 3.5.0b3, and when I tried to make the shortcut, it looked very different from the book’s examples and I did not get the toolbar with “File”, “Edit”, “Options”, etc. on the top. Please tell me how to correctly complete the installation process. Thank you, ...

Continue reading...

Deprecated switch

Sandy S writes:

I just purchased 3 copies of “Python for Kids” so that my 2 sons and I can begin our quest! Anyway I hate to bug you with this but we just downloaded the latest version of the Python suite and the –n switch for IDLE startup has a message about “being deprecated since version ...

Continue reading...

Which format

Koki Y writes:

I have a question. You use % for format instead .format(). In the python tutorial, it is written that % format is an older version of format. What’s the point of using % format?

The book uses the % operator (also known as the interpolation operator) basically through omi...

Continue reading...

Intermediate Python Resources

Jim G writes:

I’m currently going through your book python for kids. I was wondering what books or other sources you recommend for learning more about python

Well, there are a heap of online tutorials, and dead-tree, printed books to choose from. However, I have an alternate suggestion to...

Continue reading...