Re: Don't Want Visitor To See Nuttin'

2011-03-10 Thread Ian Kelly
On Wed, Mar 9, 2011 at 2:01 PM, Victor Subervi wrote: > Maya 2012: Transform At the Source Yow. You're designing a Maya 2012 website to help some travel company bilk gullible people out of thousands of dollars? I would be ashamed to have anything to do with this. -- http://mail.python.org/mail

Re: Use-cases for alternative iterator

2011-03-10 Thread Hrvoje Niksic
Steven D'Aprano writes: > I've never seen this second form in actual code. Does anyone use it, > and if so, what use-cases do you have? Since APIs that signal end-of-iteration by returning a sentinel have fallen out of favor in Python (with good reason), this form is rare, but still it's sometim

Re: Just finished reading of "What’s New In Python 3.0"

2011-03-10 Thread n00m
On Mar 11, 8:35 am, Grigory Javadyan wrote: > > Moreover I'm often able to keep in mind 2 (or more) opposite ideas or > > opinions of mine. > > """ > To know and not to know, to be conscious of complete truthfulness > while telling carefully constructed lies, to hold simultaneously two > opinions

Use-cases for alternative iterator

2011-03-10 Thread Steven D'Aprano
The iter() built-in takes two different forms, the familiar iter(iterable) we all know and love, and an alternative form: iter(callable, sentinel) E.g.: >>> T = -1 >>> def func(): ... global T ... T += 1 ... return T ... >>> it = iter(func, 3) >>> next(it) 0 >>> next(it) 1 >>> next(

Re: Just finished reading of "What’s New In Python 3.0"

2011-03-10 Thread Grigory Javadyan
> Moreover I'm often able to keep in mind 2 (or more) opposite ideas or > opinions of mine. > """ To know and not to know, to be conscious of complete truthfulness while telling carefully constructed lies, to hold simultaneously two opinions which cancelled out, knowing them to be contradictory an

Re: Just finished reading of "What’s New In Python 3.0"

2011-03-10 Thread Dan Stromberg
On Thu, Mar 10, 2011 at 6:05 PM, alex23 wrote: > On Mar 11, 11:58 am, n00m wrote: > > http://docs.python.org/py3k/whatsnew/3.0.html > > > > What's the fuss abt it? Imo all is ***OK*** with 3k (in the parts I > > understand). > > I even liked print as a function **more** than print as a stmt > >

Re: Just finished reading of "What’s New In Python 3.0"

2011-03-10 Thread n00m
On Mar 11, 7:45 am, Terry Reedy wrote: > On 3/10/2011 8:58 PM, n00m wrote: > > >http://docs.python.org/py3k/whatsnew/3.0.html > > > What's the fuss abt it? Imo all is ***OK*** with 3k (in the parts I > > understand). > > I even liked print as a function **more** than print as a stmt > > > Now I th

Re: What do you use with Python for GUI programming and why?

2011-03-10 Thread Dan Stromberg
You're probably best off with Pyjamas. Then you get something that runs on the web and on the desktop, from the same code - similar to GWT, but for Python. The desktop version runs overtop of CPython, the web version is AJAX and is automatically translated from a very 2.x-ish dialect of Python to

Re: Just finished reading of "What’s New In Python 3.0"

2011-03-10 Thread Terry Reedy
On 3/10/2011 8:58 PM, n00m wrote: http://docs.python.org/py3k/whatsnew/3.0.html What's the fuss abt it? Imo all is ***OK*** with 3k (in the parts I understand). I even liked print as a function **more** than print as a stmt Now I think that Py3k is better than all prev pythons and cobras. I a

Re: What do you use with Python for GUI programming and why?

2011-03-10 Thread Algis Kabaila
On Friday 11 March 2011 14:13:52 Paul Rubin wrote: > Robert writes: > > Is there a push to one toolkit or the other? > > Tkinter or a simple web app with cgihttpserver. I haven't > ever had occasion to write a fancy desktop app and I think > of them as a mostly-obsolete medium, though I guess th

Re: What do you use with Python for GUI programming and why?

2011-03-10 Thread Paul Rubin
Robert writes: > Is there a push to one toolkit or the other? Tkinter or a simple web app with cgihttpserver. I haven't ever had occasion to write a fancy desktop app and I think of them as a mostly-obsolete medium, though I guess there are still some useful ones. I have some interest in progra

Re: Just finished reading of "What’s New In Python 3.0"

2011-03-10 Thread n00m
On Mar 11, 4:05 am, alex23 wrote: > On Mar 11, 11:58 am, n00m wrote: > > >http://docs.python.org/py3k/whatsnew/3.0.html > > > What's the fuss abt it? Imo all is ***OK*** with 3k (in the parts I > > understand). > > I even liked print as a function **more** than print as a stmt > > > Now I think t

Re: What do you use with Python for GUI programming and why?

2011-03-10 Thread Littlefield, Tyler
Is there a push to one toolkit or the other? TKInter from what I understand comes with Python already. There is also PYGui and WXPython; it really depends on what you want and what you like the best. -- http://mail.python.org/mailman/listinfo/python-list

What do you use with Python for GUI programming and why?

2011-03-10 Thread Robert
Is there a push to one toolkit or the other? -- Robert -- http://mail.python.org/mailman/listinfo/python-list

Re: Just finished reading of "What’s New In Python 3.0"

2011-03-10 Thread MRAB
On 11/03/2011 02:05, alex23 wrote: On Mar 11, 11:58 am, n00m wrote: http://docs.python.org/py3k/whatsnew/3.0.html What's the fuss abt it? Imo all is ***OK*** with 3k (in the parts I understand). I even liked print as a function **more** than print as a stmt Now I think that Py3k is better tha

Re: attach to process by pid?

2011-03-10 Thread Nobody
On Thu, 10 Mar 2011 23:55:51 +0100, Alexander Kapps wrote: >>> I think he wants to attach to another process's stdin/stdout and >>> read/write from/to them. >>> I don't know if this is possible but it would be a great addition for >>> psutil. >> >> It's not even a meaningful concept, let alone pos

Re: Just finished reading of "What’s New In Python 3.0"

2011-03-10 Thread alex23
On Mar 11, 11:58 am, n00m wrote: > http://docs.python.org/py3k/whatsnew/3.0.html > > What's the fuss abt it? Imo all is ***OK*** with 3k (in the parts I > understand). > I even liked print as a function **more** than print as a stmt > > Now I think that Py3k is better than all prev pythons and cob

Re: Don't Want Visitor To See Nuttin'

2011-03-10 Thread alex23
Benjamin Kaplan wrote: > Typically, people developing web applications use a framework such as > Django or TurboGears (or web.py or CherryPy or any of a dozen others) > rather than just having the CGI scripts print stuff out. You're fighting an uphill battle with that suggestion, it's been made m

Re: Passing Functions

2011-03-10 Thread MRAB
On 11/03/2011 01:13, yoro wrote: Hi, I am having an issue with passing values from one function to another - I am trying to fill a list in one function using the values contained in other functions as seen below: infinity = 100 invalid_node = -1 startNode = 0 #Values to assign to each node

Just finished reading of "What’s New In Python 3.0"

2011-03-10 Thread n00m
http://docs.python.org/py3k/whatsnew/3.0.html What's the fuss abt it? Imo all is ***OK*** with 3k (in the parts I understand). I even liked print as a function **more** than print as a stmt Now I think that Py3k is better than all prev pythons and cobras. -- http://mail.python.org/mailman/listi

Re: Passing Functions

2011-03-10 Thread alex23
On Mar 11, 11:13 am, yoro wrote: > Hi, > > I am having an issue with passing values from one function to another > - I am trying to fill a list in one function using the values > contained in other functions as seen below: > > infinity = 100 > invalid_node = -1 > startNode = 0 > > #Values to a

Re: send function keys to a legacy DOS program

2011-03-10 Thread MRAB
On 11/03/2011 00:58, Justin Ezequiel wrote: Greetings, We have an old barcode program (MSDOS and source code unavailable.) I've figured out how to populate the fields (by hacking into one of the program's resource files.) However, we still need to hit the following function keys in sequence. F5,

Re: Don't Want Visitor To See Nuttin'

2011-03-10 Thread Victor Subervi
On Thu, Mar 10, 2011 at 8:50 PM, Benjamin Kaplan wrote: > > print "Content-Type: text/html" > > print > > print ''' > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> > > > > > > > > and this has worked in the past, so I'm surprised it doesn't work here. > > Don't understan

Passing Functions

2011-03-10 Thread yoro
Hi, I am having an issue with passing values from one function to another - I am trying to fill a list in one function using the values contained in other functions as seen below: infinity = 100 invalid_node = -1 startNode = 0 #Values to assign to each node class Node: distFromSource =

send function keys to a legacy DOS program

2011-03-10 Thread Justin Ezequiel
Greetings, We have an old barcode program (MSDOS and source code unavailable.) I've figured out how to populate the fields (by hacking into one of the program's resource files.) However, we still need to hit the following function keys in sequence. F5, F2, F7 Is there a way to pipe said keys into

Re: Python Tools for Visual Studio from Microsoft - Free & Open Source

2011-03-10 Thread Patty
- Original Message - From: "Dino Viehland" To: "Patty" ; ; "roland garros" ; Sent: Thursday, March 10, 2011 3:01 PM Subject: RE: Python Tools for Visual Studio from Microsoft - Free & Open Source Patty wrote: Thanks so much for this reference - and the detailed further explanat

Re: Compile time evaluation of dictionaries

2011-03-10 Thread Steven D'Aprano
On Thu, 10 Mar 2011 16:27:17 -0800, Chris Rebert wrote: > 3. %-formatting is "obsolete and may go away in future versions of > Python." (See > http://docs.python.org/py3k/library/stdtypes.html#old-string-formatting- operations > ) There is an awful lot of opposition to that. If it ever happens,

Re: Don't Want Visitor To See Nuttin'

2011-03-10 Thread Benjamin Kaplan
On Thu, Mar 10, 2011 at 6:48 PM, Victor Subervi wrote: > On Wed, Mar 9, 2011 at 5:33 PM, Ian wrote: >> >> On 09/03/2011 21:01, Victor Subervi wrote: >>> >>> The problem is that it prints "Content-Type: text/html" to the screen >> >> If you can see what is intended to be a header, then it follows

Re: Compile time evaluation of dictionaries

2011-03-10 Thread Chris Rebert
On Thu, Mar 10, 2011 at 4:15 PM, Steven D'Aprano wrote: > On Thu, 10 Mar 2011 17:40:40 -0500, Terry Reedy wrote: >> On 3/10/2011 11:23 AM, Gerald Britton wrote: >>> Today I noticed that an expression like this: >>> >>> "one:%(one)s two:%(two)s" % {"one": "is the loneliest number", "two": >>> "can

Re: Compile time evaluation of dictionaries

2011-03-10 Thread Steven D'Aprano
On Thu, 10 Mar 2011 17:40:40 -0500, Terry Reedy wrote: > On 3/10/2011 11:23 AM, Gerald Britton wrote: >> Today I noticed that an expression like this: >> >> "one:%(one)s two:%(two)s" % {"one": "is the loneliest number", "two": >> "can be as bad as one"} >> >> could be evaluated at compile time, bu

Madam Bovary

2011-03-10 Thread n00m
Just let you know: I'm on her (Emma's) side. -- http://mail.python.org/mailman/listinfo/python-list

Re: attach to process by pid?

2011-03-10 Thread James Mills
On Fri, Mar 11, 2011 at 9:30 AM, Grant Edwards wrote: > No it doesn't.  Try writing something other than "foobar". You've demonstrated a case where this doesn't work :) cheers James -- -- James Mills -- -- "Problems are solved by method" -- http://mail.python.org/mailman/listinfo/python-list

Re: Don't Want Visitor To See Nuttin'

2011-03-10 Thread Victor Subervi
On Wed, Mar 9, 2011 at 5:33 PM, Ian wrote: > On 09/03/2011 21:01, Victor Subervi wrote: > >> The problem is that it prints "Content-Type: text/html" to the screen >> > If you can see what is intended to be a header, then it follows that you > are not sending the header correctly. > > Sorry - can'

Re: attach to process by pid?

2011-03-10 Thread Grant Edwards
On 2011-03-10, James Mills wrote: > On Fri, Mar 11, 2011 at 8:55 AM, Alexander Kapps wrote: >> On 10.03.2011 23:25, Nobody wrote: >> Unless I misunderstand something, it is possible (at least on Linux): >> >> Two terminal windows: >> >> 1: >> alex@frittenbude:~$ grep foobar >> >> 2: >> alex@fritt

Re: attach to process by pid?

2011-03-10 Thread Grant Edwards
On 2011-03-10, Alexander Kapps wrote: > On 10.03.2011 23:25, Nobody wrote: >> On Thu, 10 Mar 2011 20:22:11 +0100, Giampaolo Rodol?? wrote: >> >>> I think he wants to attach to another process's stdin/stdout and >>> read/write from/to them. I don't know if this is possible but it >>> would be a gre

Re: Python Tools for Visual Studio from Microsoft - Free & Open Source

2011-03-10 Thread Terry Reedy
On 3/10/2011 5:51 PM, Patty wrote: Thanks so much for this reference - and the detailed further explanation! I have a Windows 7 system and recently installed Visual Studio 2010 for the SQL Server, Visual C/C++ and Visual Basic. I would love to have this Python tool installed under Visual Studio

Re: attach to process by pid?

2011-03-10 Thread James Mills
On Fri, Mar 11, 2011 at 8:55 AM, Alexander Kapps wrote: > On 10.03.2011 23:25, Nobody wrote: > Unless I misunderstand something, it is possible (at least on Linux): > > Two terminal windows: > > 1: > alex@frittenbude:~$ grep foobar > > 2: > alex@frittenbude:~$ ps ax|grep 'grep foobar' > 13075 pts/

RE: Python Tools for Visual Studio from Microsoft - Free & Open Source

2011-03-10 Thread Dino Viehland
Patty wrote: > Thanks so much for this reference - and the detailed further explanation! I > have a Windows 7 system and recently installed Visual Studio 2010 for the > SQL Server, Visual C/C++ and Visual Basic. I would love to have this Python > tool installed under Visual Studio but a few que

Re: attach to process by pid?

2011-03-10 Thread Alexander Kapps
On 10.03.2011 23:25, Nobody wrote: On Thu, 10 Mar 2011 20:22:11 +0100, Giampaolo Rodolà wrote: I think he wants to attach to another process's stdin/stdout and read/write from/to them. I don't know if this is possible but it would be a great addition for psutil. It's not even a meaningful con

Re: Python Tools for Visual Studio from Microsoft - Free & Open Source

2011-03-10 Thread Patty
- Original Message - From: To: "roland garros" ; Sent: Thursday, March 10, 2011 2:03 AM Subject: Re: Python Tools for Visual Studio from Microsoft - Free & Open Source Roland, http://pytools.codeplex.com Looks very impressive! Thank you for sharing this work. For others foll

Re: Compile time evaluation of dictionaries

2011-03-10 Thread Terry Reedy
On 3/10/2011 11:23 AM, Gerald Britton wrote: Today I noticed that an expression like this: "one:%(one)s two:%(two)s" % {"one": "is the loneliest number", "two": "can be as bad as one"} could be evaluated at compile time, but is not: In fact, it could be evaluated at writing time ;-). This wou

Re: attach to process by pid?

2011-03-10 Thread Nobody
On Thu, 10 Mar 2011 20:22:11 +0100, Giampaolo Rodolà wrote: > I think he wants to attach to another process's stdin/stdout and > read/write from/to them. > I don't know if this is possible but it would be a great addition for psutil. It's not even a meaningful concept, let alone possible. -- ht

Re: how to read the last line of a huge file???

2011-03-10 Thread tkp...@hotmail.com
There is a problem, and it's a Python 3.2 problem. All the solutions presented here work perfectly well in Python 2.7.1, and they all fail at exactly the same point in Python 3.2 - it's the line that tries to seek from the end. e.g. f.seek(offset, os.SEEK_END) I'll register this as a Python bug. T

Re: Python Tools for Visual Studio from Microsoft - Free & Open Source

2011-03-10 Thread Verde Denim
On Thu, Mar 10, 2011 at 12:54 AM, roland garros wrote: > > FYI... > > http://pytools.codeplex.com > > Enjoy! > -- > http://mail.python.org/mailman/listinfo/python-list > There goes the neighborhood...:P -- http://mail.python.org/mailman/listinfo/python-list

Re: Tk MouseWheel Support

2011-03-10 Thread Alexander Kapps
On 10.03.2011 21:28, Richard Holmes wrote: I am trying to use the mouse wheel to scroll a list box, but I'm not getting the event. When I bind "" to the listbox I get the event and I'm able to scroll using yview_scroll. I've tried binding "MouseWheel" and"", and I've also tried"" and "" even thou

Re: Tk MouseWheel Support

2011-03-10 Thread MRAB
On 10/03/2011 20:28, Richard Holmes wrote: I am trying to use the mouse wheel to scroll a list box, but I'm not getting the event. When I bind "" to the listbox I get the event and I'm able to scroll using yview_scroll. I've tried binding "MouseWheel" and"", and I've also tried"" and "" even thou

Re: Purely historic question: VT200 text graphic programming

2011-03-10 Thread Martin Gregorie
On Thu, 10 Mar 2011 20:31:11 +, Grant Edwards wrote: > You tricked me by saying only DEC VAX/VMS programmers would know what it > was. In fact, many, many Unix programmers knew about curses (and still > do) and very few VMS programmers ever did. C wasn't very widely used > under VMS, and VMS

Re: Tk MouseWheel Support

2011-03-10 Thread Corey Richardson
On 03/10/2011 03:35 PM, Corey Richardson wrote: > Middle button is Button-3 IIRC, and I think it'd be MouseUp and > MouseDown. I'm really not sure though. It's Button-2 rather. -- Corey Richardson -- http://mail.python.org/mailman/listinfo/python-list

Re: Tk MouseWheel Support

2011-03-10 Thread Corey Richardson
On 03/10/2011 03:28 PM, Richard Holmes wrote: > I am trying to use the mouse wheel to scroll a list box, but I'm not > getting the event. When I bind "" to the listbox I get the > event and I'm able to scroll using yview_scroll. I've tried binding > "MouseWheel" and "", and I've also tried "" and >

Re: Purely historic question: VT200 text graphic programming

2011-03-10 Thread Grant Edwards
On 2011-03-10, GrayShark wrote: > On Thu, 10 Mar 2011 18:02:41 +, Grant Edwards wrote: > >> On 2011-03-10, Adam Tauno Williams wrote: >>> On Thu, 2011-03-10 at 00:38 -0600, GrayShark wrote: Once, many, many, years ago, I programmed some type of 'graphical' interface on a VT200 termi

Tk MouseWheel Support

2011-03-10 Thread Richard Holmes
I am trying to use the mouse wheel to scroll a list box, but I'm not getting the event. When I bind "" to the listbox I get the event and I'm able to scroll using yview_scroll. I've tried binding "MouseWheel" and "", and I've also tried "" and "" even though I'm using Windows (XP, if that makes a d

Re: Purely historic question: VT200 text graphic programming

2011-03-10 Thread Grant Edwards
On 2011-03-10, Charles Turner wrote: > On Thu, 10 Mar 2011 00:38:11 -0600, GrayShark > declaimed the following in gmane.comp.python.general: > >> Once, many, many, years ago, I programmed some type of 'graphical' >> interface on a VT200 terminal > > A wild guess: Prestel? Bildschirmtext? Telidon?

Re: Purely historic question: VT200 text graphic programming

2011-03-10 Thread GrayShark
On Thu, 10 Mar 2011 18:02:41 +, Grant Edwards wrote: > On 2011-03-10, Adam Tauno Williams wrote: >> On Thu, 2011-03-10 at 00:38 -0600, GrayShark wrote: >>> Once, many, many, years ago, I programmed some type of 'graphical' >>> interface on a VT200 terminal (only DEC VAX/VMS programmers are go

Re: Tcl wasn't installed properly

2011-03-10 Thread Steve
On Mar 10, 11:30 am, Steve wrote: > On Mar 10, 11:00 am, MRAB wrote: > > > > > > > > > > > On 10/03/2011 15:39, Steve wrote: > > > > I'm a frequent user of matplotlib on my Windows XP machine.  I > > > recently attempted to install a program that modified my Tcl > > > installation, and I now get

Re: attach to process by pid?

2011-03-10 Thread Giampaolo Rodolà
I think he wants to attach to another process's stdin/stdout and read/write from/to them. I don't know if this is possible but it would be a great addition for psutil. --- Giampaolo http://code.google.com/p/pyftpdlib/ http://code.google.com/p/psutil/ 2011/3/10 Miki Tebeka : >> Is there any wa

Re: attach to process by pid?

2011-03-10 Thread bobicanprogram
On Mar 9, 1:28 pm, Danny Shevitz wrote: > > Have a look at the SIMPL toolkit. > > http://www.icanprogram.com/06py/lesson1/lesson1.html > > > > > This should be able to do exactly what you want. > > > bob > > Does this work on Mac OS X? > > thanks, > Danny I'm not aware of any ports of the SIMPL

Re: Purely historic question: VT200 text graphic programming

2011-03-10 Thread Charles Turner
On Thu, 10 Mar 2011 00:38:11 -0600, GrayShark declaimed the following in gmane.comp.python.general: Once, many, many, years ago, I programmed some type of 'graphical' interface on a VT200 terminal A wild guess: Prestel? Bildschirmtext? Telidon? Teletex? NAPLPS? -- http://mail.python.org/mail

Re: Purely historic question: VT200 text graphic programming

2011-03-10 Thread Grant Edwards
On 2011-03-10, Adam Tauno Williams wrote: > On Thu, 2011-03-10 at 00:38 -0600, GrayShark wrote: >> Once, many, many, years ago, I programmed some type of 'graphical' >> interface on a VT200 terminal (only DEC VAX/VMS programmers are going to >> know what this is). Question. What was the library

Re: I found some very odd behaviour in Python's very basic types

2011-03-10 Thread John Roth
On Mar 9, 10:47 pm, Sunjay Varma wrote: > For some reason, sub-classing and overwriting a built-in type does not > change the behavior of the literal. Logically speaking, overwriting a > name, such as str, should delete the basic str type, and replace it > with the new class or object put in its p

Re: Tcl wasn't installed properly

2011-03-10 Thread Steve
On Mar 10, 11:00 am, MRAB wrote: > On 10/03/2011 15:39, Steve wrote: > > > > > > > > > > > I'm a frequent user of matplotlib on my Windows XP machine.  I > > recently attempted to install a program that modified my Tcl > > installation, and I now get an error message when I attempt to plot > > any

Compile time evaluation of dictionaries

2011-03-10 Thread Gerald Britton
Today I noticed that an expression like this: "one:%(one)s two:%(two)s" % {"one": "is the loneliest number", "two": "can be as bad as one"} could be evaluated at compile time, but is not: >>> dis(compile( ... '"one:%(one)s two:%(two)s" % {"one": "is the loneliest number", "two": "can be as bad a

Re: Tcl wasn't installed properly

2011-03-10 Thread MRAB
On 10/03/2011 15:39, Steve wrote: I'm a frequent user of matplotlib on my Windows XP machine. I recently attempted to install a program that modified my Tcl installation, and I now get an error message when I attempt to plot anything in matplotlib. Here is the error message: --- Traceback (most

Re: Purely historic question: VT200 text graphic programming

2011-03-10 Thread GrayShark
Yes, Curses, how could I forget that. Thanks Steven On Thu, 10 Mar 2011 05:34:35 -0500, Adam Tauno Williams wrote: > On Thu, 2011-03-10 at 00:38 -0600, GrayShark wrote: >> Once, many, many, years ago, I programmed some type of 'graphical' >> interface on a VT200 terminal (only DEC VAX/VMS progr

Tcl wasn't installed properly

2011-03-10 Thread Steve
I'm a frequent user of matplotlib on my Windows XP machine. I recently attempted to install a program that modified my Tcl installation, and I now get an error message when I attempt to plot anything in matplotlib. Here is the error message: --- Traceback (most recent call last): File "", line

Re: I found some very odd behaviour in Python's very basic types

2011-03-10 Thread scattered
On Mar 10, 12:47 am, Sunjay Varma wrote: > For some reason, sub-classing and overwriting a built-in type does not > change the behavior of the literal. Logically speaking, overwriting a > name, such as str, should delete the basic str type, and replace it > with the new class or object put in its

Re: I found some very odd behaviour in Python's very basic types

2011-03-10 Thread rusi
On Mar 10, 10:47 am, Sunjay Varma wrote: > For some reason, sub-classing and overwriting a built-in type does not > change the behavior of the literal. Have you looked through this? http://www.python.org/download/releases/2.2/descrintro/#subclassing [Dunno exactly how current it is -- This was a

Re: Deadlock and a rather weird stacktrace

2011-03-10 Thread Ian
On 10/03/2011 09:48, Vincent wrote: Can nobody explain this? Please. how can a sleep() continue in a __bootstrap() ? Regards, Vincent On 4 feb, 13:39, Vincent van Beveren wrote: Hi everyone, I'm currently working on a multithreaded GUI system in Python 2.6. In this system I use conditions to

Re: Purely historic question: VT200 text graphic programming

2011-03-10 Thread Adam Tauno Williams
On Thu, 2011-03-10 at 00:38 -0600, GrayShark wrote: > Once, many, many, years ago, I programmed some type of 'graphical' > interface on a VT200 terminal (only DEC VAX/VMS programmers are going to > know what this is). Question. What was the library I linked against? > Yes, you remember, painting

Re: Python Tools for Visual Studio from Microsoft - Free & Open Source

2011-03-10 Thread python
Roland, > http://pytools.codeplex.com Looks very impressive! Thank you for sharing this work. For others following this thread - this add-in to Visual Studio works with CPython 2.5 - 3.2 and is not dependent on .NET or IronPython - this project also brings HPC (high performance computing) and

Re: Deadlock and a rather weird stacktrace

2011-03-10 Thread Vincent
Can nobody explain this? Please. how can a sleep() continue in a __bootstrap() ? Regards, Vincent On 4 feb, 13:39, Vincent van Beveren wrote: > Hi everyone, > > I'm currently working on a multithreaded GUI system in Python 2.6. In this > system I use conditions to coordinate synchronization. Ho

Re: A question about Cmd Class

2011-03-10 Thread yuan zheng
As you said, I am not writting a linux shell. Our requirements need this kind of commands. Certernly, the convert_table can sovle the command problem. But it cannot complete correctly when using "TAB". It will complete "show_info". My first email expains my problem: I can implement commands with

Re: A question about Cmd Class

2011-03-10 Thread Dave Angel
On 03/10/2011 01:38 AM, yuan zheng wrote: Thanks for your help. thanks, yuanzheng. 2011/3/8 Dave Angel On 01/-10/-28163 02:59 PM, yuan zheng wrote: Hello, everyone: I encouter a question when implementing a commmand line(shell). I have implemented some commands, such as "start", "sto