Python Forum

Full Version: IDLE crash using special characters?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey there!

I'm starting to learn python and in one of the classes I noticed when I tried to do 2^2 and then the IDLE crashes when i try to input the character "^". It also crashes with ~´`

Im using a macbook, macOS 10.13.3 and a Portuguese keyboard.
Can someone help? pls?
define what you mean by crash. You mean a traceback error?
(Feb-09-2018, 02:23 PM)metulburr Wrote: [ -> ]define what you mean by crash. You mean a traceback error?

The IDLE app shutdown. I press "~" and it just close.
[Image: ke7Gdx]

When i start the IDLE i have this message:
Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 23 2015, 02:52:03)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "copyright", "credits" or "license()" for more information.
>>> 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.

I already installed version 8.6.7, but still have the same warning oO
might be a version mismathc of python and tk....not sure though.

However i can say that IDLE is probably one of the worst IDE's out there...and unfortunately is packaged with python by default. I would choose another one from the list
https://wiki.python.org/moin/PythonEditors
(Feb-09-2018, 05:45 PM)buran Wrote: [ -> ]https://www.python.org/download/mac/tcltk/
Recommended version is 8.5

IT WORKED! :D
THX! Heart Heart
(Feb-09-2018, 01:55 PM)reikonaga Wrote: [ -> ]Hey there!

I'm starting to learn python and in one of the classes I noticed when I tried to do 2^2 and then the IDLE crashes when i try to input the character "^". It also crashes with ~´`

Im using a macbook, macOS 10.13.3 and a Portuguese keyboard.
Can someone help? pls?

Try using \ before it.
E.g.
print ("2\^2")