Check out SimpleParse/mxTextTools. Just an outstanding E/BNF driven
parser, very highly recommended.
<http://simpleparse.sourceforge.net/>
/Jean Brouwers
PS) See also
<http://www-128.ibm.com/developerworks/linux/library/l-simple.html>
<http://gnosis.cx/publ
ich is the file
.../Lib/popen2.py in your python installation. It is straightforward
to create your own popen* functions and keep the Popen3 instance.
/Jean Brouwers
In article <[EMAIL PROTECTED]>, Evgeni
Sergeev <[EMAIL PROTECTED]> wrote:
> After I opened streams to a proces
See the os. spawn* functions. For example
os.spawnv(os.P_NOWAIT, /path/to/script, args)
/Jean Brouwers
In article <[EMAIL PROTECTED]>, Erik Geiger <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> sorry, my english ist not that got but I'll try.
>
> I have a
setting the limit does not help finding
the root cause of a leak. That requires additional effort and/or
dignostic tools.
/Jean Brouwers
In article <[EMAIL PROTECTED]>,
Daniel Wheeler <[EMAIL PROTECTED]> wrote:
> I'm on a linux platform and looking in proc/pid/status. Using t
he Win32 API extension
<http://www.python.org/windows/win32/>
/Jean Brouwers
In article <[EMAIL PROTECTED]>, Jean-Baptiste PERIN
<[EMAIL PROTECTED]> wrote:
> Grant Edwards a écrit :
> > On 2004-12-20, Jean-Baptiste PERIN <[EMAIL PROTECTED]> wrote:
> >
The text of David Mertz' book is available on line at
<http://gnosis.cx/TPiP/>
/jean Brouwers
In article <[EMAIL PROTECTED]>, Mirko Zeibig
<[EMAIL PROTECTED]> wrote:
> Maurice LING said the following on 12/12/2004 11:13 PM:
> >>Google for Dive Into Python.
Maybe, set environment variable PYTHONPATH. More details at
<http://www.python.org/doc/current/tut/node8.html>
/Jean Brouwers
In article <[EMAIL PROTECTED]>, Lenard Lindstrom <[EMAIL PROTECTED]>
wrote:
> Amir Dekel <[EMAIL PROTECTED]> writes:
>
> &
Try <ftp://people.linuxkorea.co.kr/pub/DB2> with capital DB.
/Jean Brouwers
In article <[EMAIL PROTECTED]>, Shawn
Milo <[EMAIL PROTECTED]> wrote:
> ftp://people.linuxkorea.co.kr/pub/db2,
--
http://mail.python.org/mailman/listinfo/python-list
For command line parsing, take a look at the shlex module, also in the
standard distro. It may fit your requirements for additional
functionality beyond cmd.
/Jean Brouwers
PS) We use SimpleParse/mxTextTools for parsing large log files, both
are listed on the web page mentioned below. In
FWIIW, we use Python 2.4 on RH8 and FC2 systems. In both cases, built
from scratch, following the build instructions.
/Jean Brouwers
In article <[EMAIL PROTECTED]>, ben
<[EMAIL PROTECTED]> wrote:
> I'm trying to upgrade python from 2.2 to 2.4 on a RH9 system, and can
This is the second time you ask the same question. Did you miss the
answer to the first one? This is a known problem. More details at
<http://sourceforge.net/tracker/index.php?func=detail&aid=1076861&group_
id=5470&atid=105470>
/Jean Brouwers
In article <[EMAIL PROTEC
This is a known problem. More details at
<http://sourceforge.net/tracker/index.php?func=detail&aid=1076861&group_
id=5470&atid=105470>
/Jean Brouwers
In article <[EMAIL PROTECTED]>,
AnkyHe <[EMAIL PROTECTED]> wrote:
> I downloaded the python 2.4 f
..." referenced memory at "0x0..014". The
memory could not be "read". Click on OK to terminate the program.
Same Window XP SP2 machine running Python 2.3.4 downloaded from the
Python website (with just one extension, wxPython 2.4.2.4).
/Jean Brouwers
In article <[EMA
I'm not sure what Pythonwin is. The Python start menu shows "Python
(command line)" and "IDLE (Python GUI)" plus docs, etc.
Your experiment with IDLE works just fine. Both windows closed on
clickin X. This is Windows XP SP2 with Python 2.3.4 from the
Python.org si
extensions exist for 2.4 we will try again. And maybe, we
should use the ActivePython builds then ;-)
/Jean Brouwers
PS) We had no problem with Python 2.4 or any extensions on Lunix.
Everything works fine there and all our Python code runs unmodified on
both 2.3 and 2.4 with extensions
Python
related entries in the Registry and in the StartUp folder. Only after
that did the reinstalled 2.3 plus extensions work fine again.
/Jean Brouwers
PS) We backed out of using Python 2.4 since two of the extensions we
need did not work with 2.4 on Windows XP.
PPS) It looks like Python 2.4 and
calling the runsource()
method, just call the push() method.
/Jean Brouwers
In article <[EMAIL PROTECTED]>,
<"[EMAIL PROTECTED]"> wrote:
> I'm trying to embed a Python interpreter in a GUI I'm developing, and
> I'm having trouble understanding the
X11R6/lib64"
option.
If that still fails, try a fresh reconfigure and rebuild from scratch,
now that the Tcl/Tk libs are there. Start with "./configure " per
the instructions in the README file, run "make clean" etc..
/Jean Brouwers
In article <[EMAIL PROTECTED]>
Brouwers
In article <[EMAIL PROTECTED]>,
Jeffrey Barish <[EMAIL PROTECTED]> wrote:
> Jean Brouwers wrote:
>
> >
> > FWIW, we just installed Python 2.4 (on RH Linx 8), rebuilt it from
> > scratch and everything is fine. Tkinter is there, _tkinter as we
FWIW, we just installed Python 2.4 (on RH Linx 8), rebuilt it from
scratch and everything is fine. Tkinter is there, _tkinter as well and
idle comes up as expected.
/Jean Brouwers
In article <[EMAIL PROTECTED]>,
Jeffrey Barish <[EMAIL PROTECTED]> wrote:
> http://www.python.o
The correct syntax is:
dict([(key, row[key]) for key in cols])
i.e. the list must be enclosed in [...].
/Jean Brouwers
In article <[EMAIL PROTECTED]>, Dave Merrill
<[EMAIL PROTECTED]> wrote:
> "anton muhin" wrote:
> > Stefan Behnel wrote:
Check the os.walk() and os.path.walk() functions. More details and
some examples are at
<http://docs.python.org/lib/os-file-dir.html>
resp.
<http://docs.python.org/lib/module-os.path.html>
/Jean Brouwers
In article <[EMAIL PROTECTED]>,
Juliano Freitas <[EM
Here is the recent thread about this particular problem:
<http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?11:mss:33225:200410:lfppnf
okhnlgfialpfdh>
/Jean Brouwers
In article <[EMAIL PROTECTED]>,
Jean Brouwers <[EMAIL PROTECTED]> wrote:
> If you are r
If you are running GTK+ try using
self.Editor.SetSTCFocus(True)
in addition to or instead of SetFocus(). Plus maybe
wx.CallAfter(self.Editor.EnsureCaretVisible)
It solved the 'dissapearing caret' problem for our application.
/Jean Brouwers
In article
<[EM
24 matches
Mail list logo