Hi,
We just released CherryPy 3.0.1. It is mainly a bug-fix release but
there are also some performance tweaks and other changes as well.
Here are some highlights:
* More docstrings. help() is more helpful than ever.
* The WSGI server has been moved into its own package to allow for
easier
[EMAIL PROTECTED] schrieb:
Hi !
I am trying to create an exe file using pyinstaller. Running the
created exe-File gives the error message
Traceback (most recent call last):
File string, line 8, in module
File E:\Documents\mich\job\abs\backup_skript\buildbackup\out1.pyz/
email, lin
Hello,
Many thanks for your advice so far!
The phone reference is actually because the target device is WM 5.0.
I've found a python port Pyce that will run on this platform. We have
a target application that runs on this platform which we would like to
develop some automated tests for. The
On Feb 23, 8:54 am, [EMAIL PROTECTED] wrote:
Hello,
i'm would be interested in parsing a HTML files by its corresponding
opening and closing tags but by taking into account the class
attributes and its values,
[...]
so i wondering if i should go with regular expression, but i do not
think
On Feb 21, 11:15 pm, [EMAIL PROTECTED] wrote:
On Feb 21, 6:13 pm, [EMAIL PROTECTED] wrote:
I have apexpectscript to walk through a cisco terminal server and I
was hoping to get some help with this regex because I really suck at
it.
This is the code:
index =
On Feb 23, 8:46 am, amadain [EMAIL PROTECTED] wrote:
On Feb 21, 11:15 pm, [EMAIL PROTECTED] wrote:
On Feb 21, 6:13 pm, [EMAIL PROTECTED] wrote:
I have apexpectscript to walk through a cisco terminal server and I
was hoping to get some help with this regex because I really suck at
On Feb 22, 5:37 pm, Jason [EMAIL PROTECTED] wrote:
On Feb 22, 8:27 am, [EMAIL PROTECTED] wrote:
Hello,
Sorry guys for this newbie questions. But I wonder if there is a
standard or build-in method to know the methods of a class?
I'm not originally a progrommer and I have worked with
On Feb 23, 8:48 am, I V [EMAIL PROTECTED] wrote:
While that's true, C++ compiler vendors, for example, take backwards
compatibility significantly less seriously, it seems to me. A year or so
ago, I tried compiling something I'd written for g++ 2, using a
then-recent-ish g++ 3; it failed
[EMAIL PROTECTED] wrote:
The phone reference is actually because the target device is WM 5.0.
I've found a python port Pyce that will run on this platform. We have
a target application that runs on this platform which we would like to
develop some automated tests for. The application is
You help nothing by posting subjects unrelated to the *programming
language* Python into a usenet group about this language.
--
http://mail.python.org/mailman/listinfo/python-list
First of all, I'd like to appologise for the noise and for
cross-posting. This is my first and last e-mail on this list.
As you may have noticed from the subject of the e-mail, I'm about
to speak about the SigEx Ventures company, an organisation that
appoints itself as the liaison between
On Feb 23, 8:53 am, amadain [EMAIL PROTECTED] wrote:
On Feb 23, 8:46 am, amadain [EMAIL PROTECTED] wrote:
On Feb 21, 11:15 pm, [EMAIL PROTECTED] wrote:
On Feb 21, 6:13 pm, [EMAIL PROTECTED] wrote:
I have apexpectscript to walk through a cisco terminal server and I
was hoping to
Neil Cerutti wrote:
Woah! You better quadruple it instead.
How about Double Pig Latin?
No, wait! Use the feared UDPLUD code.
You go Ubbi Dubbi to Pig Latin, and then Ubbi Dubbi again.
Let's see here... Ubububythubububonubpubay
That's what I call ubububeautubububifubububulbubay.
That looks
On 23 fév, 08:44, Eric CHAO [EMAIL PROTECTED] wrote:
Connection Pool is necessary in web applications with Java and JDBC.
So does python have something like that?
Thanks.
Look at http://www.sqlalchemy.org/
--
http://mail.python.org/mailman/listinfo/python-list
Is there a csvlib out there somewhere?
And/or does anyone see any problems with
the code below?
What csvline does is straightforward: fields
is a list of strings. csvline(fields) returns
the strings concatenated into one string
separated by commas. Except that if a field
contains a comma or a
On 9 Feb, 14:14, [EMAIL PROTECTED] wrote:
Right. Check out the logrotate facility on your system.
This can be used together with the WatchedFileHandler recently checked
into SVN trunk - this (Unix/Linux-only) handler checks to see if the
dev or inode have changed, and if they have (because of
Hi,
PyLint says that Relative imports ... are worth to be warned .
And I ask myself why?
- Example directory structure -
Sound/ Top-level package
__init__.py Initialize the sound package
Utils/
On 22 feb, 15:45, Larry Bates [EMAIL PROTECTED] wrote:
beeswax wrote:
Hi,
Does anyone knows how to read e-mails from a specific folders in
outlook?
I only found out how to read the mails from the inbox folder and how
to list all available folder.
I just don't found a way to access my
Can somebody explaint this to me:
I have module a.py
A = 100
import b
print A printing
print B is %s % b.B
and module b.py
B = 2000
import a
print B printing
print A is %s % a.A
I thought that output would be:
B printing
A is 100
A printing
B is 2000
Because import b would execute b.py, and in
David C. Ullrich [EMAIL PROTECTED] wrote:
Is there a csvlib out there somewhere?
How about csv in the standard library?
(Um: Believe it or not I'm _still_ using
python 1.5.7.
I have no idea if csv was part of the standard library backin those
days...
But even if not: either upgrade to
Philipp Pagel wrote:
David C. Ullrich [EMAIL PROTECTED] wrote:
Is there a csvlib out there somewhere?
How about csv in the standard library?
(Um: Believe it or not I'm _still_ using
python 1.5.7.
I have no idea if csv was part of the standard library backin those
days...
But even
Boris Ozegovic wrote:
Can somebody explaint this to me:
I have module a.py
A = 100
import b
print A printing
print B is %s % b.B
and module b.py
B = 2000
import a
print B printing
print A is %s % a.A
I thought that output would be:
B printing
A is 100
A printing
B is 2000
Diez B. Roggisch wrote:
Are you sure the above is what you really used for your test? Because your
output features a single 100, which the above lacks a print-statement for.
Yeah, I cancelled the message, but synchronization allready happened. :)
Problem was in some other place.
One more
I just compiled python 2.4.2 using openembedded for my zaurus C750.
I test some comparison for float-pointing number, for example:
3.13.0 True
3.23.0 True
3.33.0 False
8.44.0 True
I use the cross compiler that compiled python to make a simple C
program,
got correct results.
Anyone have some idea
Boris Ozegovic wrote:
Diez B. Roggisch wrote:
Are you sure the above is what you really used for your test? Because
your output features a single 100, which the above lacks a
print-statement for.
Yeah, I cancelled the message, but synchronization allready happened. :)
Problem was in
Philipp Pagel [EMAIL PROTECTED] wrote:
Another way to go instead of using sets, although probably less elegant:
True in [x in t1 for x in t2]
True
True in [x in t1 for x in t3]
True
True in [x in t1 for x in t4]
False
True in [x in t1 for x in t5]
False
Slightly more elegant for
Accepted strategy? It doesn't seem very portable. It assumes that
everyone puts their library
modules in the exact same place. Or do they just figure that changing
the sys.path.append
line is easy enough?
Portability has nothing to do with it. If you arrange your project in a way
that these
It is not desirable for the class variable to keep incrementing outside
of invocations of '__main__', as is the case when it is loaded under
mod_python under apache2 on linux.
I'm still not clear on what you want to accomplish. In the end it boils down
to who is supposed to share that
Diez B. Roggisch wrote:
I use it sometimes myself, to avoid otherwise circular imports.
Circular imports are the reason why I have module issues. Last question:
if I put modules in some package and then try to import one I get
AttributeError: 'module' object has no attribute 'a'
Code is:
L.S.,
I have to compile (install) locally Python 2.5, because I don't have
'root' permission. Besides I would use 'sqlite3' as a database for
TurboGears/Django. I have installed 'sqlite3' somewhere on my Linux
(/path/to/sqlite'). What do I have to do if I want to compile 'Python'
with
Eirikur Hallgrimsson [EMAIL PROTECTED] wrote:
def daemonize():
if (not os.fork()):
# get our own session and fixup std[in,out,err]
os.setsid()
sys.stdin.close()
sys.stdout = NullDevice()
sys.stderr = NullDevice()
That doesn't close the
Hi,
I'm updating my program to Python 2.5, but I keep running into
encoding problems. I have no ecodings defined at the start of any of
my scripts. What I'd like to do is scan a directory and list all the
files in it that contain a non ascii character. How would I go about
doing this?
Thanks,
For that purpose I have used the good deque that you can find in
collections in the standard library. It's very good for queues, and
it's a bit faster than regular lists for stacks too.
you mean *much* faster (since a list is a reference array so pop(0) is
O(n) operation)
never use a list as
On Fri, 23 Feb 2007 08:30:07 -0600, Nick Craig-Wood [EMAIL PROTECTED] wrote:
Eirikur Hallgrimsson [EMAIL PROTECTED] wrote:
[snip]
if (not os.fork()):
# hang around till adopted by init
ppid = os.getppid()
while (ppid != 1):
I love the dropshadow effect I managed to make with this recipe:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/474116
Here's what it can look like:
http://www.peterbe.com/test/188-tequilacat.2.jpg
It takes a background as a parameter but it's just a colour. What I
want is to put the
On Feb 23, 2:38 pm, [EMAIL PROTECTED] wrote:
Hi,
I'm updating my program to Python 2.5, but I keep running into
encoding problems. I have no ecodings defined at the start of any of
my scripts. What I'd like to do is scan a directory and list all the
files in it that contain a non ascii
On Feb 23, 6:44 am, Boris Ozegovic [EMAIL PROTECTED]
wrote:
Can somebody explaint this to me:
I have module a.py
A = 100
import b
print A printing
print B is %s % b.B
and module b.py
B = 2000
import a
print B printing
print A is %s % a.A
I thought that output would be:
B printing
On Feb 23, 10:11 pm, David C. Ullrich [EMAIL PROTECTED]
wrote:
Is there a csvlib out there somewhere?
I can make available the following which should be capable of running
on 1.5.2 -- unless they've suffered bitrot :-)
(a) a csv.py which does simple line-at-a-time hard-coded-delimiter-etc
pack
On Feb 24, 2:12 am, Peter Bengtsson [EMAIL PROTECTED] wrote:
On Feb 23, 2:38 pm, [EMAIL PROTECTED] wrote:
Hi,
I'm updating my program to Python 2.5, but I keep running into
encoding problems. I have no ecodings defined at the start of any of
my scripts. What I'd like to do is scan a
Hi,
I am starting to use rationals and since I found no batteries included,
I tried out the mxNumber package.
However, I get strange warnings on comparison operations
(which however seem to yield correct results):
---
$ python
Python 2.4.3 (#1, Jan 15 2007, 15:46:19)
[GCC 4.1.1 (Gentoo
Harlin Seritt wrote:
Hi...
I would like to take a string like 'supercalifragilisticexpialidocius'
and write it to a file in binary forms -- this way a user cannot read
the string in case they were try to open in something like ascii text
editor. I'd also like to be able to read the binary formed
I didn't actually write this module. I believe I found it in a
discussion in ASPN at Active State.
Thanks for the input, and when I get a chance I will try these alternate
approaches. This module has been working fine for me as is--so far.
Eirikur
--
Peter Bengtsson wrote:
On Feb 23, 2:38 pm, [EMAIL PROTECTED] wrote:
Hi,
I'm updating my program to Python 2.5, but I keep running into
encoding problems. I have no ecodings defined at the start of any of
my scripts. What I'd like to do is scan a directory and list all the
files in it that
Hello,
When i run my python script, it works a moment and then stop with this
message in the log:
(70007)The timeout specified has expired: ap_content_length_filter:
apr_bucket_read() failed refers to ..
I think my script is too long therefore the server stop it...
how can i do to run all
On Feb 24, 2:35 am, John Machin [EMAIL PROTECTED] wrote:
On Feb 24, 2:12 am, Peter Bengtsson [EMAIL PROTECTED] wrote:
On Feb 23, 2:38 pm, [EMAIL PROTECTED] wrote:
Hi,
I'm updating my program to Python 2.5, but I keep running into
encoding problems. I have no ecodings defined at the
[EMAIL PROTECTED] أرسلت:
Hello,
When i run my python script, it works a moment and then stop with this
message in the log:
(70007)The timeout specified has expired: ap_content_length_filter:
apr_bucket_read() failed refers to ..
I think my script is too long therefore the server stop
[EMAIL PROTECTED] أرسلت:
Hello,
When i run my python script, it works a moment and then stop with this
message in the log:
(70007)The timeout specified has expired: ap_content_length_filter:
apr_bucket_read() failed refers to ..
I think my script is too long therefore the server stop
Martin Manns wrote:
Hi,
I am starting to use rationals and since I found no batteries included,
I tried out the mxNumber package.
However, I get strange warnings on comparison operations
(which however seem to yield correct results):
---
$ python
Python 2.4.3 (#1, Jan 15 2007,
On 23/02/07, Diez B. Roggisch ([EMAIL PROTECTED]) wrote:
It is not desirable for the class variable to keep incrementing outside
of invocations of '__main__', as is the case when it is loaded under
mod_python under apache2 on linux.
I'm still not clear on what you want to accomplish.
On Fri, 23 Feb 2007 09:52:06 -0600
Larry Bates [EMAIL PROTECTED] wrote:
I quick search of Google turned up:
http://books.google.com/books?id=1Shx_VXS6ioCpg=PA625lpg=PA625dq=python+rational+number+librarysource=webots=BA8_4EXdQ4sig=aDEnYA99ssKe7PSweVNyi8cS2eg
On Feb 24, 2:44 am, Larry Bates [EMAIL PROTECTED] wrote:
Peter Bengtsson wrote:
On Feb 23, 2:38 pm, [EMAIL PROTECTED] wrote:
Hi,
I'm updating my program to Python 2.5, but I keep running into
encoding problems. I have no ecodings defined at the start of any of
my scripts. What I'd like
Hello,
I was following along with this site:
http://www.brunningonline.net/simon/blog/archives/000659.html
and I got a error. It boils down to:
In [9]: import ctypes
In [10]: dir(ctypes.c_string)
---
On 23 Feb 2007 09:03:21 -0800, Jacob Rael [EMAIL PROTECTED] wrote:
Hello,
I was following along with this site:
http://www.brunningonline.net/simon/blog/archives/000659.html
and I got a error. It boils down to:
In [9]: import ctypes
In [10]: dir(ctypes.c_string)
On 23 Feb 2007 09:03:21 -0800, Jacob Rael [EMAIL PROTECTED] wrote:
I was following along with this site:
http://www.brunningonline.net/simon/blog/archives/000659.html
You don't want to be messing around with that old rubbish. I should
know - I wrote it.
Instead, take a look at
Peter Bengtsson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Feb 23, 2:38 pm, [EMAIL PROTECTED] wrote:
Hi,
I'm updating my program to Python 2.5, but I keep running into
encoding problems. I have no ecodings defined at the start of any of
my scripts. What I'd like to do is
On Fri, 23 Feb 2007 11:39:11 -0500
Martin Manns [EMAIL PROTECTED] wrote:
+ boost indeed is a quite nice C++ library. However, I fear that I
would end up writing the python wrappers for operators (+ - * / min
max cmp etc.) myself. I would like to avoid this since these operators
should work
Many thanks for your reply. The use case is per request, and I would be
grateful to learn more about thread-local storage.
There are several ways. I'm not familiar with mod_python, but I guess you
get a dict-like object for the request parameters. In python, this is
usually writable (in
On 2007-02-23, David C Ullrich [EMAIL PROTECTED] wrote:
Is there a csvlib out there somewhere?
And/or does anyone see any problems with
the code below?
What csvline does is straightforward: fields
is a list of strings. csvline(fields) returns
the strings concatenated into one string
Martin Manns:
+ gmpy is looking pretty unmaintained (dead) to me (newest update of
cvs 10 months ago).
I have used it on Py2.5, so it seems to work anyway, and it's fast
enough for my purposes. And probably soon some alex-shaped life will
show up elsewhere.
Bye,
bearophile
--
On Feb 23, 10:39 am, Martin Manns [EMAIL PROTECTED] wrote:
On Fri, 23 Feb 2007 09:52:06 -0600
Larry Bates [EMAIL PROTECTED] wrote:
I quick search of Google turned up:
http://books.google.com/books?id=1Shx_VXS6ioCpg=PA625lpg=PA625dq=p...
http://calcrpnpy.sourceforge.net/clnum.html
In [EMAIL PROTECTED], Martin Manns wrote:
+ gmpy is looking pretty unmaintained (dead) to me (newest update of
cvs 10 months ago).
What CSV activities do you expect? This package seems to be pretty
stable. As long as there is no bug or incompatible changes in the
underlying library I would
In [EMAIL PROTECTED], Tim Arnold wrote:
Here's what I do (I need to know the line number).
import os,sys,codecs
def checkfile(filename):
f = codecs.open(filename,encoding='ascii')
lines = open(filename).readlines()
print 'Total lines: %d' % len(lines)
for i in
Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
In [EMAIL PROTECTED], Tim Arnold wrote:
snip
Untested:
import os, sys, codecs
def checkfile(filename):
f = codecs.open(filename,encoding='ascii')
try:
for num, line in enumerate(f):
President Bush ... you are under arrest - 911 truth video by Dr
Morgan Reynolds, Former Chief Economist under Bush
You can also save them by right clicking the
links and saving them as flv files and download a free flv player.
google is your best friend.
Bush Administration Insider Says U.S.
On Feb 22, 12:40 pm, hg [EMAIL PROTECTED] wrote:
John Machin wrote:
On Feb 23, 11:12 am, John [EMAIL PROTECTED] wrote:
I want to write a code for Breadth First Traveral for Graph, which needs
a queue to implement.
I wonder that for such a powerful language as Python, whether there is a
two things,
change the following line:
[code]
back = Image.new(image.mode, (totalWidth, totalHeight), background)
[/code]
To:
[code]
back = Image.new(RGBA, (totalWidth, totalHeight), background)
[/code]
and then do something like this:
[code]
import sys
bg = Image.open(sys.argv[1])
On Feb 23, 10:34 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On Feb 23, 10:39 am, Martin Manns [EMAIL PROTECTED] wrote:
On Fri, 23 Feb 2007 09:52:06 -0600
Larry Bates [EMAIL PROTECTED] wrote:
I quick search of Google turned up:
Tim Arnold schrieb:
That looks much cleaner. I didn't know the 'num' from the enumerate would
persist so the except block could report it.
It's indeed guaranteed that the for loop index variables will keep the
value they had when the loop stopped (either through regular
termination, break, or
Hello,
Thank you for your input!
We've looked at XAMPP, and it has the following disadvantages compared
to Stunnix:
* it's not targeted for putting to CDs at all (it's unzip and run apache and
stufftype of thing). This means it probably can't autochoose
port numbers
for mysql and
Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
In [EMAIL PROTECTED], Tim Arnold wrote:
Here's what I do (I need to know the line number).
import os,sys,codecs
def checkfile(filename):
f = codecs.open(filename,encoding='ascii')
lines =
On 23 Feb 2007 12:00:10 -0800
[EMAIL PROTECTED] wrote:
I worked with Alex Martelli (gmpy's maintainer) to fix a bug found by
mensanator. With Alex's permission, I released it as gmpy 1.04a. Alex
has not updated cvs with the fix.
gmpy 1.04a compiles cleanly with the latest releases of
[EMAIL PROTECTED] wrote:
Please note that this is a math newsgroup and
not a i-post-my-favoured-conspiracy-theory newsgroup
President Bush ... you are under arrest - 911 truth video by Dr
Morgan Reynolds, Former Chief Economist under Bush
You can also save them by right clicking the
links
I'm sure I've read before about how to construct prototypes in Python,
but I haven't been able to track it down (or figure it out).
What I basically want is a kind of class that has both class and
instance level dict variables, such that descendant classes
automatically create their own class
[EMAIL PROTECTED] writes:
On Feb 21, 9:51 pm, Scott SA [EMAIL PROTECTED] wrote:
I've just sent a job listing to python.org and posted this message on
comp.lang.python,
Interesting, so Python-list@python.org and comp.lang.python are
_related_. I guess that means I'm the new guy on the
Robin Becker [EMAIL PROTECTED] writes:
Carl Banks wrote:
..
Since when is Larry Wall benevolent? He should be called the SDFL.
.
even the great leader has been referred to as the MDFL :)
[...]
By you?-)
John
--
http://mail.python.org/mailman/listinfo/python-list
I understand that two leading underscores in a class attribute make the
attribute private. But I often see things that are coded up with one
underscore. Unless I'm missing something, there's a idiom going on here.
Why do people sometimes use one leading underscore?
TIA
--
Time flies like the
Why do people sometimes use one leading underscore?
Many folks like to use the single leading underscore to emphasize that
the attribute isn't part of the normal way to use the class or
instance.
It's bad style in my opinion, but I'm probably in the minority.
--
Steve Holden [EMAIL PROTECTED] writes:
[...]
This has recently been discussed on python-dev. It's likely that
certain libraries will acquire a timeout keyword argument in the next
release, but only if someone is concerned enough to develop the
appropriate patches - the principle appears to be
Paul Rubin http://[EMAIL PROTECTED] writes:
Stefan Palme [EMAIL PROTECTED] writes:
is there a way to modify the time a call of
urllib.open(...)
waits for an answer from the other side? Have a tool which
automatically checks a list of websites for certain content. The
tool hangs
David Wishnie wrote:
We've looked at XAMPP, and it has the following disadvantages compared
to Stunnix:
I've only read the Stunnix Web site, and I've only seen XAMPP in
passing. However...
* it's not targeted for putting to CDs at all (it's unzip and run apache and
stufftype of
I have two applications that should work together, let's call them A and B.
The first time A starts, it should open a B process and start
communicating with it. All other times an A instance starts it should
simply talk with the B that already is open.
The problem here is, if I start say 40 A
On Feb 23, 2:00 pm, [EMAIL PROTECTED] wrote:
On Feb 23, 10:34 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On Feb 23, 10:39 am, Martin Manns [EMAIL PROTECTED] wrote:
On Fri, 23 Feb 2007 09:52:06 -0600
Larry Bates [EMAIL PROTECTED] wrote:
I quick search of Google turned up:
Troy Melhase wrote:
Why do people sometimes use one leading underscore?
Many folks like to use the single leading underscore to emphasize that
the attribute isn't part of the normal way to use the class or
instance.
It's bad style in my opinion, but I'm probably in the minority.
I've
The first time A starts, it should open a B process and start
communicating with it. All other times an A instance starts it should
simply talk with the B that already is open.
B should write its process id to a location known by both
applications. When A starts, it should read that PID from
Cool. Why is python 2.5 required, will it not work with python 2.4?
VJ
--
http://mail.python.org/mailman/listinfo/python-list
On 2/23/07, James Stroud [EMAIL PROTECTED] wrote:
Troy Melhase wrote:
Why do people sometimes use one leading underscore?
Many folks like to use the single leading underscore to emphasize that
the attribute isn't part of the normal way to use the class or
instance.
It's bad style
Troy Melhase wrote:
The first time A starts, it should open a B process and start
communicating with it. All other times an A instance starts it should
simply talk with the B that already is open.
B should write its process id to a location known by both
applications. When A starts, it
On 23 Feb 2007 14:36:24 -0800, vj [EMAIL PROTECTED] wrote:
Cool. Why is python 2.5 required, will it not work with python 2.4?
Short answer: because java2python produces python 2.5 syntax.
Long answer:
I wrote java2python specifically to translate the IB reference code.
That reference code
Am I hallucinating? Didn't I see at least some version
of gmpy for Python 2.5 on SourceForge awhile back?
I distinctly remember thinking that I don't have to
direct people to your site, but SourceForge is not
showing anything beyond vesion 1.01 for Python 2.4.
Alex released versions 1.02
Three very simple questions then.
1. How do I find out a running applications process ID
import os
mypid = os.getpid()
2. How do I check if a process ID is bound to a running application.
this is os-specific. i'm sure there's a windows api provided for it.
3. There won't be any issues
On Feb 21, 10:34 am, [EMAIL PROTECTED] wrote:
On Feb 20, 6:14 pm, Pop User [EMAIL PROTECTED] wrote:
http://swtch.com/~rsc/regexp/regexp1.html
Going back a bit on a tangent, the author of this citation states that
any regex can be expressed as a DFA machine. However, while
investigating this
En Fri, 23 Feb 2007 12:35:19 -0300, Martin Manns [EMAIL PROTECTED] escribió:
I am starting to use rationals and since I found no batteries included,
I tried out the mxNumber package.
However, I get strange warnings on comparison operations
(which however seem to yield correct results):
On Feb 23, 12:00 pm, [EMAIL PROTECTED] wrote:
...
+ gmpy is looking pretty unmaintained (dead) to me (newest update of
cvs 10 months ago).
I worked withAlex Martelli(gmpy's maintainer) to fix a bug found by
mensanator. With Alex's permission, I released it as gmpy 1.04a. Alex
has not
On Feb 23, 2:52 pm, [EMAIL PROTECTED] wrote:
Am I hallucinating? Didn't I see at least some version
of gmpy for Python 2.5 on SourceForge awhile back?
I distinctly remember thinking that I don't have to
direct people to your site, but SourceForge is not
showing anything beyond vesion
On 2/23/07, buffinator [EMAIL PROTECTED] wrote:
2. How do I check if a process ID is bound to a running application.
Under windows, this should work:
import win32process
running_pids = win32process.EnumProcesses()
running_pids
(0, 4, 1048, 1496, 1656, 1836, 1896, 756, 988, 1712, 220, 1156,
Charles D Hixson wrote:
I'm sure I've read before about how to construct prototypes in Python,
but I haven't been able to track it down (or figure it out).
What I basically want is a kind of class that has both class and
instance level dict variables, such that descendant classes
On Feb 23, 3:27 pm, [EMAIL PROTECTED] wrote:
On Feb 23, 12:00 pm, [EMAIL PROTECTED] wrote:
...
+ gmpy is looking pretty unmaintained (dead) to me (newest update of
cvs 10 months ago).
I worked withAlex Martelli(gmpy's maintainer) to fix a bug found by
mensanator. With Alex's
En Fri, 23 Feb 2007 17:53:59 -0300, Charles D Hixson
[EMAIL PROTECTED] escribió:
I'm sure I've read before about how to construct prototypes in Python,
but I haven't been able to track it down (or figure it out).
What I basically want is a kind of class that has both class and
instance
buffinator wrote:
I have two applications that should work together, let's call them A and B.
The first time A starts, it should open a B process and start
communicating with it. All other times an A instance starts it should
simply talk with the B that already is open.
The problem here
Chris Mellon wrote:
On 22 Feb 2007 11:28:52 -0800, Andy Watson [EMAIL PROTECTED] wrote:
On Feb 22, 10:53 am, a bunch of folks wrote:
Memory is basically free.
This is true if you are simply scanning a file into memory. However,
I'm storing the contents in some in-memory data structures and
1 - 100 of 137 matches
Mail list logo