Python Forum
IDLE crash using special characters?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IDLE crash using special characters?
#1
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?
Reply
#2
define what you mean by crash. You mean a traceback error?
Recommended Tutorials:
Reply
#3
(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
Reply
#4
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
Recommended Tutorials:
Reply
#5
https://www.python.org/download/mac/tcltk/
Recommended version is 8.5
Reply
#6
(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
Reply
#7
(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")
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Copy xml content from webpage and save to locally without special characters Nik1811 14 597 Mar-26-2024, 09:28 AM
Last Post: Nik1811
Question Special Characters read-write Prisonfeed 1 582 Sep-17-2023, 08:26 PM
Last Post: Gribouillis
  Catching a crash within a library code ebolisa 9 3,065 Nov-22-2021, 11:02 AM
Last Post: bowlofred
  Python Crash Course ( 2nd edition) alok 1 1,844 Jul-19-2021, 05:55 PM
Last Post: snippsat
  idle and characters with decimal value>127 hakelm 14 4,294 Jun-19-2021, 07:32 AM
Last Post: hakelm
  Rename Multiple files in directory to remove special characters nyawadasi 9 6,232 Feb-16-2021, 09:49 PM
Last Post: BashBedlam
  Remove escape characters / Unicode characters from string DreamingInsanity 5 13,420 May-15-2020, 01:37 PM
Last Post: snippsat
  Check for a special characters in a column and flag it ayomayam 0 2,017 Feb-12-2020, 03:04 PM
Last Post: ayomayam
  Im using python crash course version 2 james_newbie 3 2,346 Sep-07-2019, 09:21 PM
Last Post: ichabod801
  Python 3 crash course james_newbie 6 3,865 Aug-25-2019, 08:23 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020