Setup Menus in Admin Panel

Home Forums Python Programming Language General Python Questions Escape sequences: backspace and bell do not work in IDLE

Escape sequences: backspace and bell do not work in IDLE

This topic contains 0 replies, has 1 voice, and was last updated by Profile photo of Max Garagnani Max Garagnani 2 months, 2 weeks ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3913
    Profile photo of Max Garagnani
    Max Garagnani
    Participant

    Hello,

    I have installed Python 3.5.2 on my Mac and regularly use the IDLE to teach my undergraduate CS course.

    It appears, however, that the escape sequences “\b” (backspace) and “\a” (the bell sound) do not work on the IDLE. When I type, in the interpreter shell,

    print(“1234\b56”)

    I get

    123456

    as output, instead of

    12356

    Any suggestions?…

    Many thanks,

    Max

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

top
©Master Code Online
X