Python Forum
Can't write "\" backlash in IDLE - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Can't write "\" backlash in IDLE (/thread-4348.html)

Pages: 1 2


Can't write "\" backlash in IDLE - Zherot - Aug-10-2017

I can't make it work, i press normally AlyGr+the key on top of Tab and it works but not in IDLE and i tried every combination whatsoever...what it appears instead is the yen character.


RE: Can't write "\" backlash in IDLE - buran - Aug-10-2017

well, there is little we can help. It depends on your keyboard layout and you need to find where the backslash is located... :-)


RE: Can't write "\" backlash in IDLE - Zherot - Aug-10-2017

(Aug-10-2017, 06:52 AM)buran Wrote: well, there is little we can help. It depends on your keyboard layout and you need to find where the backslash is located... :-)

Not my keyboard, did you look at the title? no?,well here:

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

See that?, NOT MY KEYBOARD, it only happens on Python IDLE and i decided to ask in the forums because this is not an isolated case, while looking for an anwer i found MANY people with this problem, there is no solution whatsoever, so i decided it was about time to ask here.


RE: Can't write "\" backlash in IDLE - buran - Aug-10-2017

OK, what OS, Python version?


RE: Can't write "\" backlash in IDLE - hbknjr - Aug-10-2017

That's some bug you got there.
if on windows try to enter it with ASCII code of '\' which is 92.

press ALT then press 9 and 2, release ALT.
NOTE: type 92 via num pad.


RE: Can't write "\" backlash in IDLE - metulburr - Aug-10-2017

IDLE is a crap IDE, and shouldn't come with python. But we cant control what comes packaged with python on windows. I would suggest to get a different IDE before you find out more problems with IDLE.

based on some google searching i found something you should at least try
idle->preferences->keys
Under Action-Keys replace:

expand-word <Option-Key-Slash>
with something you like for instance:

expand-word <Control-Option-Key-Slash>
This should fix it.



RE: Can't write "\" backlash in IDLE - Zherot - Aug-10-2017

I have been messing up with my keyboard and honestly im fucking tired of this shit, at one point i compeltely messed up my keyboard layout to the point that everything was wrong, i fortunately could go back and kind of "fix" it and look:

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

AND STILL DOESN'T WORK IN IDLE.

So im fucking done with that shit, can someone recommend me another IDE for python that actually uses my fucking keyboard setup and not whatever the fuck he wants to?

Sorry for the many fucks, nothing directed towards you guys.


RE: Can't write "\" backlash in IDLE - metulburr - Aug-10-2017

There are a lot of IDE's

If you are looking for large IDE's i would say a lot of users use PyCharm, some others are:
Sublime
Eclipse (PyDev)
Komodo

If you just want light-weight IDE's you can just
Notepad++
Geany
Vim

All of which if have a paid version have free version that is just as good.


RE: Can't write "\" backlash in IDLE - snippsat - Aug-10-2017

Thonny is the IDE that should be shipped with Python.
It's IDLE(Python) done right and written in Tkinter.

Spyder is okay.
PyCharm as mention there is a free Community Edition.
All over is geared towards Python,so they easy to start with.

Many use Vim, Atom, Sublime, VS code(the most popular new Editor that many switch to these days).
These are not geared towards only at Python,but can be used with many languages.
There are usually some more setup with these to get a environment as wanted.


RE: Can't write "\" backlash in IDLE - Zherot - Aug-11-2017

I downloaded Visual Studio... and it had the same problem!!!

BUT

I could fix it in Visual Studio, it actually has an option called International Settings and it lets you use whatever your system is using, what IDLE and Visual Studio were doing was to use whatever they wanted and ignore my system completely.