In this short video, I show you how to reverse a string using slicing in Python: Continue Reading »
We’re working on some new Python courses and, although students will be able to use their IDE of choice, we plan to use IDLE as the default editor. To make it easier to open files directly into IDLE from Windows Explorer, I associated Python files with IDLE. As IDLE doesn’t come up as one of the default options for editing Python, it’s not as intuitive as it might be, but it’s pretty simple. Here’s how you do it: Continue Reading »
If you install the latest release of Python for Mac OS X 64-bit/32-bit and run IDLE, you may get an error like this one:
>>> WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable. Visit http://www.python.org/download/mac/tcltk/ for current information.
Visit https://www.python.org/download/mac/tcltk/ and you’ll see: Continue Reading »