Enthought is pleased to announce the release of Python Enthought Edition
Version 0.9.7 (http://code.enthought.com/enthon/) -- a python
distribution for Windows.
0.9.7 Release Notes:
Version 0.9.7 of Python Enthought Edition includes an update to version
1.0.7 of the
What's New?
===
The Vancouver Python Workshop is pleased to announce the addition of a
third keynote speaker to this year's conference.
Ian Cavén is the primary developer of the Lowry Digital Images motion
picture restoration system. This Python and Zope-based system has been
used to
QOTW: You can gain substantial speed-ups in very certain cases, but the
main point of Pyrex is ease of wrapping, not of speeding-up. - Simon Percivall
The rule of thumb for all your Python Vs C questions is ...
1.) Choose Python by default. . . . - Ravi Teja
Do you remember Python's early
Hi All,
Pydev and Pydev Extensions 1.1.0 have been released
Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com
Release Highlights in Pydev Extensions:
Version 0.20.0 of Zenoss is available for download.
This version adds native SNMP performance monitoring and a new
install system.
To download:
http://www.zenoss.org/download
Release Notes:
http://dev.zenoss.org/trac/wiki/zenoss-0.20
---
Project Blurb:
Zenoss is a powerful
python-dev Summary for 2006-04-01 through 2006-04-15
.. contents::
[The HTML version of this Summary is available at
http://www.python.org/dev/summary/2006-04-01_2006-04-15]
=
Announcements
=
-
what is it
--
A short script which calls the W3C HTML Validator in batch mode.
Adapted from a Perl version.
changes since the last release
--
New option ``UPLOADFROMURL`` to retrieve files from e.g. a local server
which the w3 validator may not be able to
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.
WHAT is IPython?
1. An interactive shell superior to Python's default. IPython has many
Please join us Wed., June 14, 7:30-9:00 PM, for another meeting of
the Fredericksburg, VA Zope and Python User Group (ZPUG). We will
have two full presentations, and some good snacks.
If you plan to attend, an email 24 hours in advance would be
appreciated (but last minute attendees are
`Firedrop 2 0.2.2 http://www.voidspace.org.uk/python/firedrop2/`_ is
now available.
You can download it from :
`Firedrop-0.2.2.zip
http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=firedrop2-0.2.2.zip`_
This is an important release with several new features, and
contributions
On 6/06/2006 4:15 PM, Girish Sahani wrote:
Really sorry for that indentation thing :)
I tried out the code you have given, and also the one sreeram had
written.
In all of these,i get the same error of this type:
Error i get in Sreeram's code is:
n1,_,n2,_ = line.split(',')
ValueError: need
hi
in python is there any way to do this
op =
a = 10
b = 20
if a op b :
print a is less than b
??
thanks
--
http://mail.python.org/mailman/listinfo/python-list
Levi Self wrote:
This probably seems very trivial, maybe even a bit silly, but I was
wondering if someone has a better list comprehension that does the
same thing as this one:
print [[[i]*i for i in range(1,9)][j][k] for j in range(8) for k
in range(j+1)]
[1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5,
fuzzylollipop wrote:
you got no idea what you are talking about, anyone knows that something
like this is IO bound.
which of course explains why some XML parsers for Python are a 100 times
faster than other XML parsers for Python...
/F
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
hi
in python is there any way to do this
op =
a = 10
b = 20
if a op b :
print a is less than b
[EMAIL PROTECTED] wrote:
hi
in python is there any way to do this
op =
a = 10
b = 20
if a op b :
print a is less than b
Will this work for you?:
fuzzylollipop wrote:
Is it possible to read an XML document in compressed format?
compressing the footprint on disk won't matter, you still have 10GB of
data that you need to process and it can only be processed uncompressed.
didn't you just claim that this was an I/O bound problem ?
/F
[EMAIL PROTECTED] wrote:
in python is there any way to do this
op =
a = 10
b = 20
if a op b :
print a is less than b
??
the operator module contains functions corresponding to all builtin
operators:
import operator
ops = {
==: operator.eq,
!=:
Hi , I am just doing a trivial job , which generate a bar chart from a collection of data , for example :I have a file like below ,Tom:23John:12Marry:56Jack:34...
What I want to do is to read the data from the file and display it as a bar chart or some other chartand then put the chart in my web
Many thanks Gerhard - the solution you offer is workable in the scope
of my project.
Gracias muchacho
Xera121
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
Paul,
This is interesting. Unfortunately, I have no control over the XML
output. The file is from Goldmine. However, you have given me an
idea...
Is it possible to read an XML document in compressed format?
sure. you can e.g. use gzip.open to create a file
-
Python 2.5a1 Released
-
Python 2.5 alpha 1 was released on April 5th. Please download it and
try it out, particularly if you are an extension writer or you embed
Python -- you may want to change things to support 64-bit sequences,
and if you have
puzz wrote:
Hi all,
I'd also appreciate a link to a beginner forum
http://www.daniweb.com/techtalkforums/forum114.html
and (not really a beginner forum, not really high volume, either)
http://community.livejournal.com/python_dev/
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I have a mainwindow in my pyqt application, and on click of a button I
want to start an assistant (wizard).
I have create the wizard with the Qt Designer, generated the python code
with pyuic, imported it from assistant import *, and subclassed it as
usual.
To show it, the onclick method
whenever you are using a package that leaks memory.
it can be appropriate to use Rpyc (http://rpyc.wikispaces.com/) to run
the leaking code in a different process, and restart it from time to
time.
I've been using this method to avoid the leaks of matplotlib.
--
[1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7,
7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8]
[i+1 for i in range(8) for j in range(i+1)]
[i for i in range(9) for j in range(i)]
--
http://mail.python.org/mailman/listinfo/python-list
Desktop application development
--
http://mail.python.org/mailman/listinfo/python-list
scientific computing
testing systems
hobby: games. check http://mashebali.com/?Chess_2
--
http://mail.python.org/mailman/listinfo/python-list
Tommy B wrote:
bruno at modulix wrote:
(snip)
import os
old = open(/path/to/file.txt, r)
new = open(/path/to/new.txt, w)
for line in old:
if line.strip() == Bob 62
line = line.replace(62, 66)
new.write(line)
old.close()
new.close()
os.rename(/path/to/new.txt, /path/to/file.txt)
(snip)
I was playing with list comprehensions, to try and work out how doubled
up versions work (like this one from another thread: [i for i in
range(9) for j in range(i)]). I think I've figured that out, but I
found something strange along the way:
alpha = [one, two, three]
beta = [A, B, C]
[x for
Iain King wrote:
I'm guessing I'm the one confused here... but I'm confused! What's
going on?
reading the documentation may help:
/.../ the elements of the new list are those that would be produced
by considering each of the for or if clauses a block, nesting from left
to
Iain King wrote:
[x for x in y for y in beta]
['C', 'C', 'C']
[y for y in beta]
[['one', 'two', 'three'], ['one', 'two', 'three'], ['one', 'two',
'three']]
[x for x in y for y in beta]
['one', 'one', 'one', 'two', 'two', 'two', 'three', 'three', 'three']
Shoudn't both lines '[x for x in
Hi,
I am developing a code which has MVC (Model - View - Controler)
architecture.My view is in .NET. And my controller is in Python.So can
i call Python script from .NET? If yes,
Can anybody tell me method or related documentation?
Thanks in Advamce
--
Hello,
I'm trying to create a simple XMLRPC server and a client. It is a small
application, but the connection needs to be secure. I would like the
client to be as thin as possible. Ideally, the client should only
require the basic python library, nothing else. I found many examples on
the
John Was libncurses.a compiled with -fpic (or -fPIC, if necessary)?
John http://mail.python.org/pipermail/python-dev/2001-March/013510.html
When built shared the source was compiled with -fPIC. -fPIC is not used
when not built shared. I forced that in a non-shared build. It still
[EMAIL PROTECTED] wrote:
class A:
... pass
...
a = A()
b = a
del b
a
__main__.A instance at 0x00B91BC0
I want to delete 'a' through 'b', why It does't?
How can I do that?
del a,b
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] i'rta:
class A:
... pass
...
a = A()
b = a
del b
a
__main__.A instance at 0x00B91BC0
I want to delete 'a' through 'b', why It does't?
How can I do that?
You must undestand that 'a' and 'b' are names. You can only delete
names, not
Boris Borcic wrote:
[EMAIL PROTECTED] wrote:
class A:
... pass
...
a = A()
b = a
del b
a
__main__.A instance at 0x00B91BC0
I want to delete 'a' through 'b', why It does't?
How can I do that?
del a,b
But 'b' is also deleted, i want use 'b' to delete 'a', 'b' is exists.
[posted publicly to comp.lang.python, with email notification to 6
recipients relevant to the topic]
I have implemented a simple schema evolution support for django, due to
a need for a personal project. Additionally, I've provided an Audit:
http://case.lazaridis.com/wiki/DjangoAudit
As a
Laszlo Nagy wrote:
You must undestand that 'a' and 'b' are names. You can only delete
names, not objects. Objects are freed by the garbage collector,
automatically. Probably you used to write programs in C or Pascal or
other languages with pointers. In Python, there are no pointers, just
Thanks for your so detailed explain, I think I know you, But my Engish
is not enough
to explain.
I create same object in Tree, I want to update Tree, when I need to
delete subtree.
If where no references, I can't do that. some thing like blow:
for i in list:
del i
This makes no
http://en.wikipedia.org/wiki/Ilias_Lazaridis
[posted publicly to comp.lang.python, with no email notification to
recipients that certainly don't consider this a relevant topic and for all
those who don't know Illias]
Diez
--
http://mail.python.org/mailman/listinfo/python-list
On 7/06/2006 3:57 PM, Dennis Lee Bieber wrote:
On Wed, 07 Jun 2006 09:56:13 +1000, John Machin [EMAIL PROTECTED]
declaimed the following in comp.lang.python:
The dir, prefix and suffix parameters are passed to mkstemp().
snip
So I'd be thinking about using the (deprecated) mktemp()
Ilias Lazaridis wrote:
[posted publicly to comp.lang.python, with email notification to 6
recipients relevant to the topic]
I have implemented a simple schema evolution support for django, due to
a need for a personal project. Additionally, I've provided an Audit:
Using Twisted on the server side for xmlrpc doesn't restrict your
options to using only Twisted on the client side.
Nothing prevents you from using xmlrpclib.ServerProxy on the client side.
Jeethu Rao
Laszlo Nagy wrote:
Hello,
I'm trying to create a simple XMLRPC server and a client. It is
Diez B. Roggisch wrote:
http://en.wikipedia.org/wiki/Ilias_Lazaridis
What has this wikipedia entry to do with the topic here?
What is the credibility and value of the provided wikipedia entry?
Let's review the editor's list:
For Unix there exists the WAD (part of SWIG) to catch C/machine-level
errors (mem. access error, etc. ) and transform them into nice Python
exceptions.
( http://www.usenix.org/events/usenix01/full_papers/beazley/beazley.pdf )
Does something like that exist for Windows?
Or does somebody know a
Jonathan Smith wrote:
First a bit about what I'm trying to do. I need a function which takes a
patchfile and patches a source directory. Thats it. However, I need to
be able to do so no matter what the patchlevel (-px) of the diff is. So,
my solution is to just try to patch until it works
Laszlo Nagy wrote:
cut ssl for xmlrpc
Have a look at:
http://trevp.net/tlslite/
--
mph
--
http://mail.python.org/mailman/listinfo/python-list
John Machin wrote:
On 7/06/2006 3:57 PM, Dennis Lee Bieber wrote:
On Wed, 07 Jun 2006 09:56:13 +1000, John Machin [EMAIL PROTECTED]
declaimed the following in comp.lang.python:
The dir, prefix and suffix parameters are passed to mkstemp().
snip
So I'd be thinking about using the
Fredrik Lundh wrote:
Dustan wrote:
Ok, that worked (was it plain w or the writelines/readlines that messed
it up?).
the plain w; very few image files are text files.
But Tkinter still can't find the image. I'm getting an error
message:
TclError: image C:\Documents and [pathname
[EMAIL PROTECTED] wrote:
Hi,
I am developing a code which has MVC (Model - View - Controler)
architecture.My view is in .NET. And my controller is in Python.So can
i call Python script from .NET? If yes,
Can anybody tell me method or related documentation?
Ilias Lazaridis wrote:
Diez B. Roggisch wrote:
http://en.wikipedia.org/wiki/Ilias_Lazaridis
What has this wikipedia entry to do with the topic here?
What is the credibility and value of the provided wikipedia entry?
[snip..]
Wow, you're a troll with your own wikipedia entry. That's
A long story made short, I've build a python/cgi website consisting of
two pages. Page1 has a html form in which you can input a series of
queries. Then via Popen it starts a pythons search script, which stores
the results in a python shelve.
As the Popen command is given it should redirect to
[EMAIL PROTECTED] == [EMAIL PROTECTED] com [EMAIL PROTECTED] writes:
[EMAIL PROTECTED] whenever you are using a package that leaks memory.
[EMAIL PROTECTED] it can be appropriate to use Rpyc
[EMAIL PROTECTED] (http://rpyc.wikispaces.com/) to run the leaking
[EMAIL PROTECTED] code
ripley wrote:
Boris Borcic wrote:
[EMAIL PROTECTED] wrote:
class A:
... pass
...
a = A()
b = a
del b
a
__main__.A instance at 0x00B91BC0
I want to delete 'a' through 'b', why It does't?
How can I do that?
del a,b
But 'b' is also deleted, i want use 'b' to delete 'a', 'b' is exists.
Hi
Thanks for the reply.
I found a proxy that works for me. Now I would like to know if its
possible to run a python script, so its not visible in the cmd window
(windows, i know, its bad :-) ) Maybe run it as a windows service?
Filip Wasilewski wrote:
[EMAIL PROTECTED] wrote:
Hi all
I
Martin P. Hellwig wrote:
Laszlo Nagy wrote:
cut ssl for xmlrpc
Have a look at:
http://trevp.net/tlslite/
C:\temp\cccpython setup.py install
running install
running build
running build_py
running build_ext
error: The .NET Framework SDK needs to be installed before building
extensions f
or
Laszlo Nagy wrote:
Martin P. Hellwig wrote:
Laszlo Nagy wrote:
cut ssl for xmlrpc
Have a look at:
http://trevp.net/tlslite/
C:\temp\cccpython setup.py install
running install
running build
running build_py
running build_ext
error: The .NET Framework SDK needs to be installed before
Simplest way would be to rename your python file with a .pyw extension
instead of a .py extension.
If you're looking for windows services, checkout
win32serviceutil.ServiceFramework in pywin32.
Jeethu Rao
[EMAIL PROTECTED] wrote:
Hi
Thanks for the reply.
I found a proxy that works for
i had no intention to say that videocapture is bad but it's not what
i'm looking for.
concerning docs, everybody has their own view on how docs should look
like.
that said, i should have written more clearly what i'm looking for.
--
http://mail.python.org/mailman/listinfo/python-list
Martin P. Hellwig írta:
Laszlo Nagy wrote:
Martin P. Hellwig wrote:
Laszlo Nagy wrote:
cut ssl for xmlrpc
Have a look at:
http://trevp.net/tlslite/
C:\temp\cccpython setup.py install
running install
running build
running build_py
running build_ext
error: The .NET
Yves Glodt wrote: I have a mainwindow in my pyqt application, and on
click of a button I want to start an assistant (wizard).I have
create the wizard with the Qt Designer, generated the python code
with pyuic, imported it from assistant import *, and subclassed it as
usual.To show
Summary of the usual mess made by the Google Groups web interface:
I suspect that you really want to call w.exec_loop() instead, since
this will only return control to the method after the user has finished
interacting with the wizard.
Take a look at the QWizard documentation for more
I have a curses app that is displaying real time data. I would like
to bind certain keys to certain functions, but do not want to block
waiting for
c = screen.getch()
Is it possible to register callbacks with curses, something like
screen.register('keypress', myfunc)
Thanks,
JDH
--
hacker1017 wrote:
im just asking out of curiosity.
I am curious for what kind of (new) serious programs and projects the
Python language and its offsprings like Pyrex would not be the optimal
programming language currently? (Unless you completely misbelieve in Ruby)
Device drivers, small
May be you are looking for weakref module:
http://www.python.org/doc/current/lib/module-weakref.html
--
Baiju M
--
http://mail.python.org/mailman/listinfo/python-list
[Replying to comp.lang.python, due to censorship on Django User]
[additional notification of poster via email, as medium is changed]
[EMAIL PROTECTED] wrote:
yep. i feel particularly hosed for trying to work with you offline to
synchronize our efforts.
I don't think that telling me when
I'm confused about why I get this error:
UnicodeError: ASCII encoding error: ordinal not in range(128)
when I try to load a wddx file containing this string:
stringThe image file, gif/aper#231;u.png, does
not exist./string
When I loop through the file as if it's text and check
Laszlo Nagy wrote:
cut
http://trevp.net/tlslite/ - no exe installers.
http://sourceforge.net/projects/tlslite/ - no file packages to download
:-(
Download the zip and unpack it:
http://trevp.net/tlslite/tlslite-0.3.8.zip
Then there is an installers directory
SimpleXMLRPCServer uses
John McMonagle wrote:
def __init__(self, master):
self.parent = master
self.entry1 = self.draw_entry('First Name:')
self.entry2 = self.draw_entry('Last Name:')
Genius! :) Looks like you solved both of my problems! Thanks!
--
hacker1017 wrote:
im just asking out of curiosity.
Embedded control system
--
http://mail.python.org/mailman/listinfo/python-list
On 2006-06-07, robert [EMAIL PROTECTED] wrote:
I am curious for what kind of (new) serious programs and projects the
Python language and its offsprings like Pyrex would not be the optimal
programming language currently?
The stuff I work on for which I don't use Python:
* Device drivers
Dear python users,
I have an account on a Linux Cluster. I installed python version 2.3.5 on my
account. I need to install the module MySQL-python to interact with a MySQL
server already installed on the cluster.
However, I read the README file but running
python setup.py build
the system
THE IMPORTANCE OF MAKING THE GOOGLE INDEX DOWNLOADABLE
I write here to make a request on behalf of all the programmers on
earth who have been or are intending to use the Google web search API
for either research purposes or for the development of real world
applications, that Google make their
Ilias Lazaridis wrote:
[Replying to comp.lang.python, due to censorship on Django User]
[additional notification of poster via email, as medium is changed]
And yet you still don't see why people call you a troll?
This is completely inappropriate for comp.lang.python. Please take it
Steve Holden wrote:
Ilias Lazaridis wrote:
[Replying to comp.lang.python, due to censorship on Django User]
[additional notification of poster via email, as medium is changed]
And yet you still don't see why people call you a troll?
Missing liberal qualities?
gen_tricomi wrote:
Currently application programmers using the Google web search API are
limited to 1000 queries a day. This on the one hand is a reasonable
decision by Google because; limiting the queries will prevent harm on
the Google system by unnecessary automated queries; but it is also
Ilias Lazaridis wrote:
snip
http://lazaridis.com
I would agree with you that this is a place to discuss python.
However, your posts primarily deal with your expulsion from another
group. Instead of discussing that, why don't your discuss the python
technicalities of your project and leave the
Ilias Lazaridis wrote:
Steve Holden wrote:
Ilias Lazaridis wrote:
[Replying to comp.lang.python, due to censorship on Django User]
[additional notification of poster via email, as medium is changed]
And yet you still don't see why people call you a troll?
Missing liberal qualities?
gen_tricomi wrote:
THE IMPORTANCE OF MAKING THE GOOGLE INDEX DOWNLOADABLE
I write here to make a request on behalf of all the programmers on
earth who have been or are intending to use the Google web search API
for either research purposes or for the development of real world
K.S.Sreeram wrote:
Lad wrote:
I really would like to have ALL pictures in one file.
import Image
def merge_images( input_files, output_file ) :
img_list = [Image.open(f) for f in input_files]
out_width = max( [img.size[0] for img in img_list] )
out_height = sum( [img.size[1]
Am Wed, 07 Jun 2006 14:54:41 +0200 schrieb Maarten van Veen:
A long story made short, I've build a python/cgi website consisting of
two pages. Page1 has a html form in which you can input a series of
queries. Then via Popen it starts a pythons search script, which stores
the results in a
Am I missing something? I don't read where the poster mentioned the
operation as being CPU intensive. He does mention that the entirety of
a 10 GB file cannot be loaded into memory. If you discount physical
swapfile paging and base this assumption on a normal PC that might
have maybe 1 or 2 GB of
In article [EMAIL PROTECTED],
Thomas Guettler [EMAIL PROTECTED] wrote:
Am Wed, 07 Jun 2006 14:54:41 +0200 schrieb Maarten van Veen:
A long story made short, I've build a python/cgi website consisting of
two pages. Page1 has a html form in which you can input a series of
queries. Then
Brian wrote:
Ilias Lazaridis wrote:
snip
http://lazaridis.com
I would agree with you that this is a place to discuss python.
However, your posts primarily deal with your expulsion from another
group. Instead of discussing that, why don't your discuss the python
technicalities of your
David Boddie wrote:
Summary of the usual mess made by the Google Groups web interface:
I suspect that you really want to call w.exec_loop() instead, since
this will only return control to the method after the user has finished
interacting with the wizard.
Take a look at the QWizard
Fredrik Lundh wrote:
fuzzylollipop wrote:
you got no idea what you are talking about, anyone knows that something
like this is IO bound.
which of course explains why some XML parsers for Python are a 100 times
faster than other XML parsers for Python...
dependes on the CODE and the
I have just discovered Python Scripter by Kiriakos Vlahos and it was a
pleasant surprise. I thought that it deserved to be signalled. It is
slim and fairly fast, with embedded graphical debugger, class browser,
file browser... If you are into graphical IDEs you are probably going
to enjoy it.
Ilias Lazaridis:
What is the credibility and value of the provided wikipedia entry?
Wikipedia always tells the Absolute Truth, because if it doesn't, we can
edit it and fix it right away.
--
http://mail.python.org/mailman/listinfo/python-list
Steve Holden wrote:
Ilias Lazaridis wrote:
Steve Holden wrote:
Ilias Lazaridis wrote:
...
This thread is now technical.
Thank you for your comments.
.
--
http://lazaridis.com
--
http://mail.python.org/mailman/listinfo/python-list
Ilias Lazaridis wrote:
Ilias Lazaridis wrote:
What is going on with the pudge project?
Any chance to get an comment on this?
After a little bit off-list discussion, I understand that many python
documentation projects stop at some point, and that efforts are in
general not very
Rene Pijlman wrote:
Ilias Lazaridis:
What is the credibility and value of the provided wikipedia entry?
Wikipedia always tells the Absolute Truth, because if it doesn't, we can
edit it and fix it right away.
fascinating!
.
--
http://lazaridis.com
--
On 6/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Dear python users,
I have an account on a Linux Cluster. I installed python version 2.3.5 on my
account. I need to install the module MySQL-python to interact with a MySQL
server already installed on the cluster.
However, I read the
John Hunter wrote:
I have a curses app that is displaying real time data. I would like
to bind certain keys to certain functions, but do not want to block
waiting for
c = screen.getch()
Is it possible to register callbacks with curses, something like
screen.register('keypress',
Thanks guys for all your posts...
So I am a bit confusedFuzzy, the code I saw looks like it
decompresses as a stream (i.e. per byte). Is this the case or are you
just compressing for file storage but the actual data set has to be
exploded in memory?
fuzzylollipop wrote:
Fredrik Lundh wrote:
error: invalid Python installation: unable to open
/usr/local/lib/python2.3/config/Makefile (No such file or
directory)
Ernesto, Where did the install put Python - the obvious
situation is that the Makefile is not where the install of
MySQL-Python thinks it is.
Some binary distros of
I have a question that some may consider silly, but it has me a bit
stuck and I would appreciate some help in understanding what is going
on.
For example, lets say that I have a class that creates a student
object.
Class Student:
def setName(self, name)
self.name = name
def
How do I automatically redirect stdout and stderr when using os.popen2
to start a long running process. If the process prints a lot of stuff
to stdout it will eventually stop because it runs out of buffer space.
Once I start reading the stdout file returned by os.popen2 then the
process resumes.
* Ilias Lazaridis (2006-06-07 12:35 +)
[posted publicly to comp.lang.python, with email notification to 6
recipients relevant to the topic]
I think I have a deja-vu... Did someone say Xah?!
T.
--
http://mail.python.org/mailman/listinfo/python-list
Chance Ginger wrote:
If you are looking for a real python to C, well in this case
C++ look for the shedskin compiler. It will take a rather
nice subset of Python and generate C++ code from it.
In which sense is shedskin a more real python to C/C++ compiler than
some of the other mentioned
1 - 100 of 207 matches
Mail list logo