Re: IDLE python

2021-03-13 Thread Terry Reedy
On 3/11/2021 10:28 AM, Yoosuf Oluwatosin via Python-list wrote: I have tried to startup my IDLE python severally but it keeps giving the following message: IDLE’s subprocess didn’t make connection. See the ‘Startup Failure’ section of the IDLE doc online at https://docs.python.org/3/library

IDLE python

2021-03-11 Thread Yoosuf Oluwatosin via Python-list
I have tried to startup my IDLE python severally but it keeps giving the following message: IDLE’s subprocess didn’t make connection. See the ‘Startup Failure’ section of the IDLE doc online at https://docs.python.org/3/library/idle.html#startup-failure. I have gone to the page and followed

Re: Idle Python issue

2021-02-24 Thread Terry Reedy
On 2/24/2021 5:32 AM, jak wrote: Hello everybody, I encounter a problem using Idle Python in Windows when I use utf8 characters longer than 2 bytes such as the character representing the smile emoticon: The problem is with 'astral' unicode characters, those not in the Basic Mu

Idle Python issue

2021-02-24 Thread jak
Hello everybody, I encounter a problem using Idle Python in Windows when I use utf8 characters longer than 2 bytes such as the character representing the smile emoticon: :-) that is this: 😊 Try to write this in Idle: "😊".encode('utf8') b'\xf0\x9f\x98\x8a' no

Re: Fwd: Sudden changes in idle python and my laptop

2019-10-30 Thread Terry Reedy
On 10/30/2019 2:11 AM, dieter wrote: nashrahmehar11 writes: Suddenly,my idle python started to behave abnormally Possibility 1: a cosmic ray or a power surge scrambled some bits and you need to run chkdsk (on Windows) or equivalent to repair them. Possibility 2: you altered the system

Re: Fwd: Sudden changes in idle python and my laptop

2019-10-29 Thread dieter
nashrahmehar11 writes: > Suddenly,my idle python started to behave abnormally and when i closed and > tried to start it again,then it gave the above message. This is a text only mailing list. You must therefore provide all information in text - you cannot refer to attachments. You

Fwd: Sudden changes in idle python and my laptop

2019-10-28 Thread nashrahmehar11
Sent from my Samsung Galaxy smartphone. Original message From: NASHRAH RAZA Date: 26/10/2019 7:32 p.m. (GMT+05:30) To: python-list@python.org Subject: Sudden changes in idle python and my laptop Suddenly,my idle python started to behave abnormally and when i closed and

Re: IDLE Python won't run or open, neither will it state the error for behaving this way

2018-07-16 Thread Terry Reedy
On 7/16/2018 5:22 AM, Clarence Chanda wrote: HI, I downloaded python 3.7.0 from your python website Which installer for what OS? and it was installed successfully and I was able to run/open python How did you run it? but when I try to run/open IDLE python, How? it just wont open or

IDLE Python won't run or open, neither will it state the error for behaving this way

2018-07-16 Thread Clarence Chanda
HI, I downloaded python 3.7.0 from your python website and it was installed successfully and I was able to run/open python but when I try to run/open IDLE python, it just wont open or run, it wont even state the error causing this... Please help me, how do I fix this? -- https://mail.python.org

Re: IDLE python shell freezes after running show() of matplotlib

2009-11-09 Thread Michael
On Oct 28, 11:09 pm, Chris Colbert wrote: > This is a threading issue that is very common when using gui toolkits > with the interactive interpreter. > > You're better off just using ipython, which already has builtin > support for matplotlib when you start it via "ipython -pylab" > > On Wed, Oct

Re: IDLE python shell freezes after running show() of matplotlib

2009-10-28 Thread Chris Colbert
This is a threading issue that is very common when using gui toolkits with the interactive interpreter. You're better off just using ipython, which already has builtin support for matplotlib when you start it via "ipython -pylab" On Wed, Oct 28, 2009 at 7:41 PM, OKB (not okblacke) wrote: > For

Re: IDLE python shell freezes after running show() of matplotlib

2009-10-28 Thread OKB (not okblacke)
Forrest Sheng Bao wrote: > I am having a weird problem on IDLE. After I plot something using show > () of matplotlib, the python shell prompt in IDLE just freezes that I > cannot enter anything and there is no new ">>>" prompt show up. I > tried ctrl - C and it didn't work. I have to restart IDLE

Re: IDLE python shell freezes after running show() of matplotlib

2009-10-27 Thread Donny
I have this problem as well. I'm on Windows XP (32-bit x86 processor) using Python 2.6.4 and matplotlib 0.99.1 (installed with matplotlib-0.99.1.win32-py2.6.exe). The IDLE version is 2.6.4. The difficulty occurs for me during the first example of the (official?) Pyplot tutorial at

Re: IDLE python shell freezes after running show() of matplotlib

2009-10-24 Thread Scott David Daniels
Forrest Sheng Bao wrote: I am having a weird problem on IDLE. After I plot something using show () of matplotlib, the python shell prompt in IDLE just freezes that I cannot enter anything and there is no new ">>>" prompt show up. I tried ctrl - C and it didn't work. I have to restart IDLE to use

IDLE python shell freezes after running show() of matplotlib

2009-10-24 Thread Forrest Sheng Bao
I am having a weird problem on IDLE. After I plot something using show () of matplotlib, the python shell prompt in IDLE just freezes that I cannot enter anything and there is no new ">>>" prompt show up. I tried ctrl - C and it didn't work. I have to restart IDLE to use it again. My system is Ubu

Re: IDLE / Python 2.5 under Jaunty

2009-06-24 Thread duncan smith
Michiel Overtoom wrote: > > Duncan Smith wrote: > >> IDLE now refuses to >> respond to left click events (for code editing, menus etc. respond as >> expected). If I right click, then left click I can move the cursor, but >> that's not ideal. >> >> So, has anybody else had the left click issue w

Re: IDLE / Python 2.5 under Jaunty

2009-06-24 Thread Michiel Overtoom
Duncan Smith wrote: > IDLE now refuses to respond to left click events (for code editing, menus etc. respond as expected). If I right click, then left click I can move the cursor, but that's not ideal. > So, has anybody else had the left click issue with IDLE (and solved it)? Irritating p

Re: IDLE / Python 2.5 under Jaunty

2009-06-23 Thread Lie Ryan
duncan smith wrote: > I've just upgraded to Jaunty Jackalope where Python 2.6 is the default > Python version. I'm still developing under 2.5, but IDLE now refuses to > respond to left click events (for code editing, menus etc. respond as > expected). If I right click, then left click I can move

Re: IDLE / Python 2.5 under Jaunty

2009-06-23 Thread David Lyon
On Wed, 24 Jun 2009 00:55:14 +0100, duncan smith wrote: > Does anyone know how I can configure Boa to use wxPython 2.8.9.1? Does > anyone know if it's possible to configure the Python version under SPE? It definitely is possible. In fact you need to use wxpython 2.8 with Boa. I had a similar p

IDLE / Python 2.5 under Jaunty

2009-06-23 Thread duncan smith
A little off-topic perhaps, but I can't think of anywhere more likely to contain people with answers. I've just upgraded to Jaunty Jackalope where Python 2.6 is the default Python version. I'm still developing under 2.5, but IDLE now refuses to respond to left click events (for code editing, menu

Re: IDLE/Python on Asus EEE PC

2009-01-25 Thread MRAB
Alex van der Spek wrote: Simple Python programs edited and run through IDLE work fine on my Ubuntu Linux system without any editing. However on my Asus EEE PC IDLE complains about incorrect formatting (indentation) or possibly mixing tabs/spaces. The source code is exactly the same. There is

IDLE/Python on Asus EEE PC

2009-01-25 Thread Alex van der Spek
Simple Python programs edited and run through IDLE work fine on my Ubuntu Linux system without any editing. However on my Asus EEE PC IDLE complains about incorrect formatting (indentation) or possibly mixing tabs/spaces. The source code is exactly the same. There is no incorrect formatting and

Re: IDLE Python and Environment Variables

2007-01-11 Thread Gabriel Genellina
At Thursday 11/1/2007 11:45, Tristan wrote: I considered to use it, thanks!! Incidentally (beg your pardon if it sounds to ignorance), can I define Environment variables in a config file and then apply to my python program? Yes, read them from the config file and then use os.environ['name']=v

Re: IDLE Python and Environment Variables

2007-01-11 Thread Tristan
Thanks Gabriel. > What kind of environment variables? Those used by Python itself, like > PYTHONPATH? Or your own variables, like FOO_LOCATION=C:\My\Projects\Lib\Foo I need to add to PYTHONPATH and other enviroment variables asked, for example, by DJANGO or other python products. > It appears th

Re: IDLE Python and Environment Variables

2007-01-10 Thread Gabriel Genellina
At Wednesday 10/1/2007 23:24, Tristan wrote: 1) For almost everyone, I execute a corresponding ".bat file" into which I define and/or include values for some "temporal" environment variables that let me find all the objects that the selected application uses. Sometimes I include in the .ba

IDLE Python and Environment Variables

2007-01-10 Thread Tristan
Hello community: I post this because I could not find satisfactory answers in the posts generated by this nice group. I work on winXP. I have many little python applications in different folders, each application can share or not other objects located in the same or other folders. The way I work t

IDLE Python and Environment Variables

2007-01-10 Thread Tristan
Hello community: I post this because I could not find satisfactory answers in the posts generated by this nice group. I work on winXP. I have many little python applications in different folders, each application can share or not other objects located in the same or other folders. The way I work t

Re: Encode differences between idle python and python

2006-10-11 Thread Neil Cerutti
On 2006-10-10, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Gabriel, Peter: > Many thanks for your clear answers!! Best regards. Something I've been working on is currently using the following trick: # Create some string of non-ASCII text in ISO 8859-1. some_string = ''.join(chr(a) for a in

Re: Encode differences between idle python and python

2006-10-10 Thread pretoriano_2001
Gabriel, Peter: Many thanks for your clear answers!! Best regards. Vizcayno -- http://mail.python.org/mailman/listinfo/python-list

Re: Encode differences between idle python and python

2006-10-10 Thread Gabriel Genellina
At Tuesday 10/10/2006 02:44, [EMAIL PROTECTED] wrote: >Hello: >Under win32 XP y select python command line and execute next code with >results indicated: > >Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit >(Intel)] on >Type "help", "copyright", "credits" or "license" for more info

Re: Encode differences between idle python and python

2006-10-09 Thread Peter Otten
[EMAIL PROTECTED] wrote: > >>> u=u'áéíóú' > >>> u > u'\xe1\xe9\xed\xf3\xfa' > >>> print u > áéíóú > >>> a=u.encode('latin-1') > >>> a > '\xe1\xe9\xed\xf3\xfa' > >>> print a > ßÚݾ· That means that Python is better at guessing the correct encoding than you are. Here's how you can make it share its

Encode differences between idle python and python

2006-10-09 Thread pretoriano_2001
Hello: Under win32 XP y select python command line and execute next code with results indicated: Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on Type "help", "copyright", "credits" or "license" for more information. >>> u=u'áéíóú' >>> u u'\xe1\xe9\xed\xf3\xfa' >>> prin

SWIG/IDLE/Python: F5 SHIP.py works but "import SHIP" gives "ImportError: dynamic module does not define init function (initSHIP)"

2005-05-12 Thread Bill Davy
I am working with MSVC6 on Windows XP. I have created an MSVC project called SHIP I have a file SHIP.i with "%module SHIP" as the first line (file is below). I run SHIP.i through SWIG 1.3.24 to obtain SHIP_wrap.cpp and SHIP.py; the latter contains the line "import _SHIP". I compile SHIP_wrap.c