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.
Can't write "\" backlash in IDLE
Can't write "\" backlash in IDLE
|
Aug-10-2017, 06:52 AM
well, there is little we can help. It depends on your keyboard layout and you need to find where the backslash is located... :-)
Aug-10-2017, 07:08 AM
(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.
OK, what OS, Python version?
Aug-10-2017, 08:38 AM
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.
Aug-10-2017, 08:46 AM
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.
Recommended Tutorials:
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.
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.
Recommended Tutorials:
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.
Aug-11-2017, 12:14 AM
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. |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
How to write a code to get this kind of output in IDLE | kavindu | 5 | 4,796 |
Oct-28-2018, 07:46 PM Last Post: wavic |
|
IDLE not importing pygame (ok outside of IDLE) | miner_tom | 1 | 4,179 |
Sep-14-2018, 07:54 PM Last Post: Larz60+ |
|
Python IDLE 3.6.2 on WIn7 vs Pyhton 3 IDLE raspberry | djdan_23 | 5 | 6,709 |
Sep-07-2017, 12:51 PM Last Post: Larz60+ |
Users browsing this thread: 1 Guest(s)