473,320 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

IPython - problem with using US international keyboard input scheme on W2K

German Windows 2000, SP 4
Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)]
IPython 0.6.10 -- An enhanced Interactive Python.

Is it already known, that after switching
the keyboard input scheme on German
Windows 2000 to english USA International
IPython generates \x00" instead of "
when trying to input quotation marks?

Idle works still OK under same conditions,

so I suppose, that this is because IPyhon
catches the keyboard input before
the appropriate driver processes
the raw keypresses - e.g. the key
combination AltGr-s (i.e. Ctrl-Alt-s)
which should generate a German
ß i.e. ß doesn't work in
IPython at all.

Claudio
Jul 18 '05 #1
10 1572
>>>>> "Claudio" == Claudio Grondi <cl************@freenet.de> writes:

Claudio> Is it already known, that after switching the keyboard
Claudio> input scheme on German Windows 2000 to english USA
Claudio> International IPython generates \x00" instead of " when
Claudio> trying to input quotation marks?

This has been reported previously - apparently it's a problem with
Gary's readline module (or however it was called ;-), and hacking it
solved the problem for someone. I suggest you search the ipython
mailing list archives, or post this question there.

--
Ville Vainio http://tinyurl.com/2prnb
Jul 18 '05 #2
Considering what I found in the ipython mailing archives
and the fact, that after the fix with displaying colors on
bright backgrounds Gary had no time yet to get in touch
with me about the code I have sent him, I suppose, that
there will be no new releases addressing this problem
soon, right?

Claudio
lazy at the moment, because instead of trying to fix it just
switched back to Idle ...

"Ville Vainio" <vi***@spammers.com> schrieb im Newsbeitrag
news:du*************@mozart.cc.tut.fi...
>> "Claudio" == Claudio Grondi <cl************@freenet.de> writes:


Claudio> Is it already known, that after switching the keyboard
Claudio> input scheme on German Windows 2000 to english USA
Claudio> International IPython generates \x00" instead of " when
Claudio> trying to input quotation marks?

This has been reported previously - apparently it's a problem with
Gary's readline module (or however it was called ;-), and hacking it
solved the problem for someone. I suggest you search the ipython
mailing list archives, or post this question there.

--
Ville Vainio http://tinyurl.com/2prnb

Jul 18 '05 #3
>>>>> "Claudio" == Claudio Grondi <cl************@freenet.de> writes:

Claudio> Considering what I found in the ipython mailing archives
Claudio> and the fact, that after the fix with displaying colors
Claudio> on bright backgrounds Gary had no time yet to get in
Claudio> touch with me about the code I have sent him, I suppose,
Claudio> that there will be no new releases addressing this
Claudio> problem soon, right?

No idea. There have been multiple complaints about the issue (and
functional patches to fix the problem), so I wouldn't be surprised if
this issue was solved quickly enough.

Claudio> lazy at the moment, because instead of trying to fix it
Claudio> just switched back to Idle ...

Don't get too lazy, you're not alone with this problem. I get a beep
every time I try to type a scandinavian character (äö) on ipython
console, luckily I never have to do that :-).

--
Ville Vainio http://tinyurl.com/2prnb
Jul 18 '05 #4
Claudio Grondi wrote:
Considering what I found in the ipython mailing archives
and the fact, that after the fix with displaying colors on
bright backgrounds Gary had no time yet to get in touch
with me about the code I have sent him, I suppose, that
there will be no new releases addressing this problem
soon, right?


Sorry to hear this; unfortunately readline/win32 is beyond my control, so there
is not much I can offer on this front. You could try to write to Gary again,
he might just have been swamped with other things at the time.

Best,

f

Jul 18 '05 #5
Me too :-(
I have already submitted my issues with the Italian keyboard
on WinXP with no great success. It works on Linux, but this
is not of a big help since my plan was to use ipython -p pysh on
Windows as a replacement of the shell :-(

Michele Simionato

Jul 18 '05 #6
Michele Simionato wrote:
Me too :-(
I have already submitted my issues with the Italian keyboard
on WinXP with no great success. It works on Linux, but this
is not of a big help since my plan was to use ipython -p pysh on
Windows as a replacement of the shell :-(


Bummer. I wonder, if the changes are minor and easy, perhaps you (or someone
else) could offer Gary to take over maintenance of readline/win32? It sounds
like he is perhaps too busy to keep up with the patches and improvements, so
perhaps it's time for someone else to take over? That kind of library, while
very useful, shouldn't require too much future maintenance once the remaining
bugs are ironed out. After all, it's just meant to expose under Win32 the
default GNU readline functionality, so there is not much 'new stuff' to do
there, and once it works correctly (which I think it's currently very close to
doing), not much else should be needed.

Just a thouhgt...

Best,

f

Jul 18 '05 #7
>>>>> "Fernando" == Fernando Perez <fp********@gmail.com> writes:

Fernando> Bummer. I wonder, if the changes are minor and easy,
Fernando> perhaps you (or someone else) could offer Gary to take
Fernando> over maintenance of readline/win32? It sounds

Someone on the ipython mailing list already had patches for it - I
think it was for Belgian keyboards. She didn't submit the patches,
just asked whether she should submit them.

Fernando> like he is perhaps too busy to keep up with the patches
Fernando> and improvements, so perhaps it's time for someone else
Fernando> to take over? That kind of library, while

Optimally, something like this should be in the pywin32 package. I
suppose it could be hosted at scipy if someone was to take over the
maintenance? It's open source, so the maintenance doesn't need to be
"transferred" - just put up version control somewhere and we'll see
what happens :-).

In the meantime I would suggest win32 users to do as I do and use a
different keyboard layout. US layout is better for programming anyway
and you learn it in a day or two. Settings->Control Panel->Regional
Options->Input Locales.

--
Ville Vainio http://tinyurl.com/2prnb
Jul 18 '05 #8
Switching to the US keyboard did not help for me.

Jul 18 '05 #9
Fernando Perez <fp********@gmail.com> wrote:
Claudio Grondi wrote:

Considering what I found in the ipython mailing archives
and the fact, that after the fix with displaying colors on
bright backgrounds Gary had no time yet to get in touch
with me about the code I have sent him, I suppose, that
there will be no new releases addressing this problem
soon, right?


Folks, the code is OPEN SOURCE! It is right there at
SourceForge. Anyone, anywhere, at any time is free to hack it,
redistribute it, or ignore it.

It works FINE FOR ME as it is. Furthermore, I know NOTHING about
localization. Someone who NEEDS LOCALIZATION should FIX IT in a
general way.

Make your own version. Create a SourceForge project for it and you can
be the developer. I wouldn't even care if you removed my name from it.

I've received a patch or two for specific keyboards but I have no way
to test them and no time or inclination to fool with it.

The bottom line is, I write code for my own use. If others benefit
that is great. If it doesn't do what you want, make your own
version. If you want to distribute a new version, go for it.

gb

Jul 19 '05 #10
"Gary Bishop" <gb@cs.unc.edu> writes:
Fernando Perez <fp********@gmail.com> wrote:
Claudio Grondi wrote:

> Considering what I found in the ipython mailing archives
> and the fact, that after the fix with displaying colors on
> bright backgrounds Gary had no time yet to get in touch
> with me about the code I have sent him, I suppose, that
> there will be no new releases addressing this problem
> soon, right?


Folks, the code is OPEN SOURCE! It is right there at
SourceForge. Anyone, anywhere, at any time is free to hack it,
redistribute it, or ignore it.

It works FINE FOR ME as it is. Furthermore, I know NOTHING about
localization. Someone who NEEDS LOCALIZATION should FIX IT in a
general way.

Make your own version. Create a SourceForge project for it and you can
be the developer. I wouldn't even care if you removed my name from it.

I've received a patch or two for specific keyboards but I have no way
to test them and no time or inclination to fool with it.

The bottom line is, I write code for my own use. If others benefit
that is great. If it doesn't do what you want, make your own
version. If you want to distribute a new version, go for it.


Maybe it would make sense then to maintain the readline code in the ctypes
CVS repository, since it requires ctypes anyway?

Thomas
Jul 19 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Yaroslav Bulatov | last post by:
> Hi, > > Equis Uno wrote: > > > I use meta-x shell to start a shell and then once I see a shell > > prompt I enter the python command and I get a well-behaved python > > shell inside of emacs....
3
by: Dave Merrill | last post by:
Hi, I'm new to python, and ipython, but not to programming, having trouble getting ipython installed on windows 2000, python 233. Any help would be much appreciated; I'm sure I'm being some basic...
4
by: Vladislav Moltchanov | last post by:
I try to use MS Access application as data entry/verification tool in a multi-centre international project, where each centre uses this application for local project management and data...
0
by: noman | last post by:
Pasting the contents of ~/.alias into ~/.ipython/ipythonrc-pysh causes all of my normal system aliases to be sourced and used by ipython, but only the single token aliases work. For example, this...
0
by: Fernando Perez | last post by:
Hi all, The IPython team is happy to release version 0.7.2, with a lot of new enhancements, as well as many bug fixes. We hope you all enjoy it, and please report any problems as usual. ...
0
by: James Stroud | last post by:
Hello, I found this page: http://projects.scipy.org/ipython/ipython/wiki/CookBook#Usinggviminservermode But it does not seem to work for me. I set the editor in ipythonrc to gvim. Then I...
2
by: Cerebral Believer | last post by:
Hi folks, Can anyone help me with this form: http://futurebydesign-music.com/_member/club_fbd_reg.php I have followed to coding instructions aas closely as I can, but I am getting errors...
0
by: Ville Vainio | last post by:
Hi all, The IPython team is happy to release version 0.7.3, with a lot of new enhancements, as well as many bug fixes (including full Python 2.5 support). We hope you all enjoy it, and please...
0
by: Michele Simionato | last post by:
This should probably go to the IPython list, but since I am not subscribed I will try my luck here. Basically, I want to embed IPython inside a command line interpreter based on cmd.Cmd, in this...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.