Hi all,
Mpmath version 0.12 is now available from the website:
http://code.google.com/p/mpmath/
It can also be downloaded from the Python Package Index:
http://pypi.python.org/pypi/mpmath/0.12
Mpmath is a pure-Python library for arbitrary-precision floating-point
arithmetic that implements an
Greetings,
python-colormath 1.0.2 has been released, which addresses an issue with
chromatic adaptations.
What is python-colormath?
python-colormath is a developer-oriented module that abstracts a number of
color math operations behind a small set of classes representing
Steven D'Aprano wrote:
On Tue, 09 Jun 2009 18:28:23 -0700, John Yeung wrote:
The docs are now... sort of correct. For some values of a and b,
uniform() can never return b. Notably, I believe uniform(0, 1) is
equivalent to random(), and will never return 1. However, uniform(1, 2)
CAN
On Jun 9, 11:28�pm, Steven D'Aprano
ste...@remove.this.cybersource.com.au wrote:
On Tue, 09 Jun 2009 21:04:49 -0700, Mensanator wrote:
On Jun 9, 8:28 pm, John Yeung gallium.arsen...@gmail.com wrote:
On Jun 9, 8:45 pm, Mensanator mensana...@aol.com wrote:
On Jun 9, 6:05 pm, Gabriel
On Jun 9, 11:58 pm, William Clifford mr.william.cliff...@gmail.com
wrote:
I've become interested in basic graphs and networks and I'm wondering
about what algorithms are there for generating basic regular graphs
like the simplex graph or dodecahedron graph, etc (I'm sure there are
many). I'm
504cr...@gmail.com wrote:
By what method would a string be inserted at each instance of a RegEx
match?
For example:
string = '123 abc 456 def 789 ghi'
newstring = ' INSERT 123 abc INSERT 456 def INSERT 789 ghi'
Have a look at re.sub():
s = '123 abc 456 def 789 ghi'
On Jun 10, 1:52 am, Steven D'Aprano
ste...@remove.this.cybersource.com.au wrote:
On Tue, 09 Jun 2009 22:21:26 -0700, John Yeung wrote:
Therefore, to me the most up-to-date docs (which say
that uniform(a, b) returns a float in the closed
interval [a, b]) is closer to correct than before,
John Yeung wrote:
On Jun 10, 1:52am, Steven D'Aprano
ste...@remove.this.cybersource.com.au wrote:
On Tue, 09 Jun 2009 22:21:26 -0700, John Yeung wrote:
Therefore, to me the most up-to-date docs (which say
that uniform(a, b) returns a float in the closed
interval
Miles Kaufmann writes:
[...]
I'm curious what algorithm calls for random numbers on a closed
interval.
The Box-Muller transform, polar form. At least Wikipedia says so.
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 9, 7:57 pm, Carl Banks pavlovevide...@gmail.com wrote:
On Jun 9, 8:57 am, kretel krzysztof.re...@googlemail.com wrote:
Hi All,
I am trying to implement the following functionality:
1. log messages to the flash drive
2. if the flash drive is not available, switch handler to the
On 10 Giu, 06:23, Esmail ebo...@hotmail.com wrote:
Here is part of the specification of an algorithm I'm implementing that
shows the reason for my original query:
vid = w * vid + c1 * rand( ) * ( pid – xid ) + c2 * Rand( ) * (pgd –xid ) (1a)
xid = xid + vid (1b)
where c1 and c2 are two
On Jun 10, 3:24 pm, John Yeung gallium.arsen...@gmail.com wrote:
Alex, did you bother to read what I quoted? Paul McGuire suggested an
alternative in case the OP was choosing integers in a roundabout way.
I was merely pointing out that Paul's solution can be more simply
achieved using a
On Wed, Jun 10, 2009 at 8:25 AM, John Yeunggallium.arsen...@gmail.com wrote:
That uniform(a, b) will return a random float in the semi-open
interval [a, b) for certain values of a and b; and in the closed
interval [a, b] for other values of a and b. (Swap a and b if a b.)
To me, the fact
Esmail writes:
random.random() will generate a random value in the range [0, 1).
Is there an easy way to generate random values in the range [0, 1]?
I.e., including 1?
I am implementing an algorithm and want to stay as true to the
original design specifications as possible though I
m...@pixar.com m...@pixar.com wrote:
I'm sure this is a FAQ, but I certainly haven't been able
to find an answer.
Is it possible to set the program name as seen by the
operating system or lower-level libraries?
I'm connecting to a database, and the runtime helpfully
sends some
On Jun 10, 7:25 am, John Yeung gallium.arsen...@gmail.com wrote:
On Jun 10, 1:52 am, Steven D'Aprano
ste...@remove.this.cybersource.com.au wrote:
On Tue, 09 Jun 2009 22:21:26 -0700, John Yeung wrote:
Therefore, to me the most up-to-date docs (which say
that uniform(a, b) returns a float
mrstevegross wrote:
exceptions.EOFError exceptions.ReferenceError exceptions.ZeroDivisionError
...
exceptions.NotImplementedError exceptions.UnicodeError exceptions.__str__
Is there a single parent exception to all those? Or should I just
write it as:
try:
...
catch Exception:
...
Matthew Wilson wrote:
I used paster to create a project named pitz. I'm writing a bunch of
user documentation. Where should I put it?
The project looks a little like this:
/home/matt/projects/pitz
setup.py
pitz/
__init__.py # has my project code
Hello group,
I just wanted to switch from Py3.0 to Py3.1. No luck here:
[...]
ar rc libpython3.1.a Python/_warnings.o Python/Python-ast.o
Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o
Python/compile.o Python/codecs.o Python/errors.o Python/frozen.o
Python/frozenmain.o
On Jun 9, 11:13 pm, 504cr...@gmail.com 504cr...@gmail.com wrote:
By what method would a string be inserted at each instance of a RegEx
match?
Some might say that using a parsing library for this problem is
overkill, but let me just put this out there as another data point for
you. Pyparsing
hi all,
what is easiest way to check python version (to obtain values like
2.4, 2.5, 2.6, 3.0 etc) from Python env?
I don't mean python -V from command prompt.
Thank you in advance, D.
--
http://mail.python.org/mailman/listinfo/python-list
dmitrey wrote:
hi all,
what is easiest way to check python version (to obtain values like
2.4, 2.5, 2.6, 3.0 etc) from Python env?
I don't mean python -V from command prompt.
Thank you in advance, D.
You don't mean:
sys.version
either?
--
MPH
http://blog.dcuktec.com
'If consumed, best
On Jun 10, 9:01 pm, dmitrey dmitrey.kros...@scipy.org wrote:
hi all,
what is easiest way to check python version (to obtain values like
2.4, 2.5, 2.6, 3.0 etc) from Python env?
I don't mean python -V from command prompt.
| import sys
| sys.version
| '2.6.2 (r262:71605, Apr 14 2009,
A common way to do it is (it is widely accepted):
python -c 'import sys; print sys.version[:3]'
Regards,
Antonio
On Wednesday 10 June 2009 12:25:22 John Machin wrote:
On Jun 10, 9:01 pm, dmitrey dmitrey.kros...@scipy.org wrote:
hi all,
what is easiest way to check python version (to
It would be really cool if an rpc call could return a generator. I know
that there are a few reasons why one would not expect it to be part of
the library (e.g. the client would need to receive asynchronous
messages, and it's not part of the rpc standard), however below I show a
possible
On Jun 9, 6:50 am, myopc my...@aaa.com wrote:
I am ruuning a c++ program (boost python) , which create many python
interpreaters and each run a python script with use multi-thread
(threading).
when the c++ main program exit, I want to shut down python interpreaters,
but it crashed.
Your
On Jun 10, 7:41 am, Gabriel Genellina gagsl-...@yahoo.com.ar
wrote:
En Mon, 08 Jun 2009 22:15:22 -0300, BigHand hewei...@gmail.com escribió:
I have an embedded python application. which is a MFC app with
Python interpreter embedded.
In the App, I have a separate thread to execute a
Hello,
I have been trying to find an example of how to deal with options that have
spaces in them. I am using jython, which is the same I think as python 2.2.3.
I feebly tried to use optparse and argparse with no success (got gettext,
locale, and optparse). The code is as follows:
Esmail ebo...@hotmail.com wrote:
Hi,
random.random() will generate a random value in the range [0, 1).
Is there an easy way to generate random values in the range [0, 1]?
I.e., including 1?
[...]
Here are three recipes, each more pedantic than the last. They all
assume that Python
Hello,
It's strange behaviour. Have you tried argparse
(http://code.google.com/p/argparse/)? I've been using it for long time
without any problem like that?
Best regards,
Javier
2009/6/10 David Shapiro david.shap...@sas.com:
Hello,
I have been trying to find an example of how to deal
On Jun 9, 11:23 pm, Esmail ebo...@hotmail.com wrote:
Here is part of the specification of an algorithm I'm implementing that
shows the reason for my original query:
vid = w * vid + c1 * rand( ) * ( pid – xid ) + c2 * Rand( ) * (pgd –xid ) (1a)
xid = xid + vid (1b)
where c1 and c2 are two
Hi!
I need to pack a floating point value into a vector of 32-bit unsigned
values in IEEE format. Further, I maintain a CRC32 checksum for integrity
checking. For the latter, I actually need the float as integral value.
What I currently do is this:
tmp = struct.pack(=f, f)
(i,) =
Unfortunately, I had no luck installing argparse, which is really confusing
because I would need to use some old version pre-optik to use I think. The
Jython I use is like python 2.2.3. I spent all of yesterday trying to get
either getopt, argparse, or optparse to work. Even with optparse I
I am writing a application to calculate pressure drop for a piping
network. Namely a building sprinkler system. This will be a
command line program at first with the system described in xml (at
least that is how I think I want to do it).
An important part of this calculation is finding the
How about using web server (tomcat jsp) and then java for the xml part, which
would allow you to build a nice gui for you. You can use python for backend
work. If you can combine some of the levels of your xml it will be easier to
traverse. I am not sure this will work for you, but I put as
Ulrich Eckhardt eckha...@satorlaser.com wrote:
Hi!
I need to pack a floating point value into a vector of 32-bit unsigned
values in IEEE format. Further, I maintain a CRC32 checksum for integrity
checking. For the latter, I actually need the float as integral value.
[...]
You could try
Hey! I am developing a small application that tests multiple websites
and compares their response time. Some of these sites do not respond
to a ping and, for the measurement to be standardized, all sites must
have the same action preformed upon them. Another problem is that not
all of the sites
Ulrich Eckhardt wrote:
I need to pack a floating point value into a vector of 32-bit unsigned
values in IEEE format. Further, I maintain a CRC32 checksum for integrity
checking. For the latter, I actually need the float as integral value.
What I currently do is this:
tmp =
On Jun 10, 5:17 am, Paul McGuire pt...@austin.rr.com wrote:
On Jun 9, 11:13 pm, 504cr...@gmail.com 504cr...@gmail.com wrote:
By what method would a string be inserted at each instance of a RegEx
match?
Some might say that using a parsing library for this problem is
overkill, but let me
Arved Sandstrom wrote:
Jon Harrop wrote:
Arved Sandstrom wrote:
Jon Harrop wrote:
No. Concurrent programming is about interleaving computations in order
to reduce latency. Nothing to do with parallelism.
Jon, I do concurrent programming all the time, as do most of my peers.
Way down on the
On Jun 10, 5:17 am, Paul McGuire pt...@austin.rr.com wrote:
On Jun 9, 11:13 pm, 504cr...@gmail.com 504cr...@gmail.com wrote:
By what method would a string be inserted at each instance of a RegEx
match?
Some might say that using a parsing library for this problem is
overkill, but let me
Hello,
Can not dump class object created on runtime.
Is there anybody can help me? Thank.
Following is testing code:
import pickle
from new import classobj
class A:
def __str__(self):
return self.__class__.name
if __name__ == __main__:
c = classobj('B', (A, ), {}) #
Not al pages suppost GET. If a page pings and returns does not mean it can be
logged into and work (maybe database down). Have you seen soapui?
- Original Message -
From: python-list-bounces+david.shapiro=sas@python.org
python-list-bounces+david.shapiro=sas@python.org
To:
Ken Seehart wrote:
8 implementation --
The practical constraints of my specific application are:
1. The rpc server is a highly specialized slave system that does heavy duty
work.
2. The rpc client is itself a web server that dispatches work requests to the
rpc
William Purcell wrote:
I am writing a application to calculate pressure drop for a piping
network. Namely a building sprinkler system. This will be a
command line program at first with the system described in xml (at
least that is how I think I want to do it).
An important part of this
I've encountered a problem with my RegEx learning curve -- how to
escape hash characters # in strings being matched, e.g.:
string = re.escape('123#abc456')
match = re.match('\d+', string)
print match
_sre.SRE_Match object at 0x00A6A800
print match.group()
123
The correct result should be:
Hi all.
I'd like to print-out a dictionary of objects. The printed values are
references. How Do I print the actual objects.
class MyClass:
def __str__(self):
return str(self.__dict__)
if __name__ == '__main__':
dict = dict()
classA = MyClass()
setattr(classA, attr-1,
On Jun 9, 9:08 pm, Arved Sandstrom dces...@hotmail.com wrote:
Jon Harrop wrote:
Arved Sandstrom wrote:
Jon, I do concurrent programming all the time, as do most of my peers.
Way down on the list of why we do it is the reduction of latency.
What is higher on the list?
Correctness.
John Machin wrote:
On Jun 10, 9:01 pm, dmitrey dmitrey.kros...@scipy.org wrote:
hi all,
what is easiest way to check python version (to obtain values like
2.4, 2.5, 2.6, 3.0 etc) from Python env?
...
easiest depends on purpose; e.g. version for display or for logging
exactly what the
Jeff M. mass...@gmail.com writes:
On Jun 9, 9:08 pm, Arved Sandstrom dces...@hotmail.com wrote:
Jon Harrop wrote:
Arved Sandstrom wrote:
Jon, I do concurrent programming all the time, as do most of my peers.
Way down on the list of why we do it is the reduction of latency.
What is
Amit Dor-Shifer wrote:
Hi all.
I'd like to print-out a dictionary of objects. The printed values are
references. How Do I print the actual objects.
Thanks,
Amit
How about this:
class MyClass:
def __str__(self):
return str(self.__dict__)
def __repr__(self):
On Jun 10, 10:19 am, Amit Dor-Shifer ami...@oversi.com wrote:
Hi all.
I'd like to print-out a dictionary of objects. The printed values are
references. How Do I print the actual objects.
class MyClass:
def __str__(self):
return str(self.__dict__)
if __name__ == '__main__':
504cr...@gmail.com wrote:
I wonder if you (or anyone else) might attempt a different explanation
for the use of the special sequence '\1' in the RegEx syntax.
The Python documentation explains:
\number
Matches the contents of the group of the same number. Groups are
numbered
Ulrich Eckhardt wrote:
I need to pack a floating point value into a vector of 32-bit unsigned
values in IEEE format. Further, I maintain a CRC32 checksum for integrity
checking. For the latter, I actually need the float as integral value.
What I currently do is ... pack and unpack the float
Jon Harrop j...@ffconsultancy.com writes:
I'm not being facetious. I write applications that run on application
servers, and from time to time I have had to write various special
purpose servers. This kind of programming is all about managing
concurrent execution of computations. The
Sparky wrote:
Hey! I am developing a small application that tests multiple websites
and compares their response time. Some of these sites do not respond
to a ping and, for the measurement to be standardized, all sites must
have the same action preformed upon them. Another problem is that not
504cr...@gmail.com wrote:
I've encountered a problem with my RegEx learning curve -- how to
escape hash characters # in strings being matched, e.g.:
string = re.escape('123#abc456')
match = re.match('\d+', string)
print match
_sre.SRE_Match object at 0x00A6A800
print match.group()
William Purcell wrote:
I am writing a application to calculate pressure drop for a piping
network. Namely a building sprinkler system. This will be a
command line program at first with the system described in xml (at
least that is how I think I want to do it).
An important part of this
On Jun 10, 10:26 am, Sparky samnspa...@gmail.com wrote:
Hey! I am developing a small application that tests multiple websites
and compares their response time. Some of these sites do not respond
to a ping and, for the measurement to be standardized, all sites must
have the same action
QOTW: Most power systems math can be summed this way: take a really big
number and multiply by the square root of two. - iceowl
http://everything2.com/index.pl?node_id=1348321
The chuzer project provides a means for severely disabled people to
express their most basic needs.
Diez B. Roggisch wrote:
William Purcell wrote:
I am writing a application to calculate pressure drop for a piping
network. Namely a building sprinkler system. This will be a
command line program at first with the system described in xml (at
least that is how I think I want to do it).
On Mon, 8 Jun 2009 07:49:42 -0700 (PDT), youssef_edward3...@yahoo.com
youssef_edward3...@yahoo.com wrote:
Roles and Responsibilities :
The primary role of a Computer Programmer is to write programs
according to the instructions determined primarily by computer
software engineers and systems
William Purcell wrote:
I am writing a application to calculate pressure drop for a piping
network. Namely a building sprinkler system. This will be a
command line program at first with the system described in xml
If you are going to be doing a lot of tree walking, try etree.
Simple
On Wed, 10 Jun 2009 08:57:42 -0500, William Purcell flye...@gmail.com wrote:
...
I am writing a application to calculate pressure drop for a piping
network. Namely a building sprinkler system. This will be a
command line program at first with the system described in xml (at
least that is how
Scott David Daniels wrote:
William Purcell wrote:
I am writing a application to calculate pressure drop for a piping
network. Namely a building sprinkler system. This will be a
command line program at first with the system described in xml
If you are going to be doing a lot of tree
Maybe a using a Unicode equiv of # would do the trick.
-Original Message-
From: python-list-bounces+david.shapiro=sas@python.org
[mailto:python-list-bounces+david.shapiro=sas@python.org] On Behalf Of
Peter Otten
Sent: Wednesday, June 10, 2009 11:32 AM
To: python-list@python.org
William Purcell wrote:
Scott David Daniels wrote:
William Purcell wrote:
I am writing a application to calculate pressure drop for a piping
network. Namely a building sprinkler system. This will be a
command line program at first with the system described in xml
If you are going to be
On Jun 10, 4:01 am, Mark Dickinson dicki...@gmail.com wrote:
On Jun 10, 7:25 am, John Yeung gallium.arsen...@gmail.com wrote:
On Jun 10, 1:52 am, Steven D'Aprano
ste...@remove.this.cybersource.com.au wrote:
On Tue, 09 Jun 2009 22:21:26 -0700, John Yeung wrote:
Therefore, to me
If what you're interested in is to get real work done, why decide to
make XML a showstopper?
I see two tasks: (a) transforming a text file description of a sprinkler
system into a Python data structure, and (b) implementing algorithms
to find out important stuff about such a data
On Jun 10, 6:21 pm, Mensanator mensana...@aol.com wrote:
So, the 2.6.2 documentation is STILL wrong. Before it implied
it was ALWAYS a semi-open interval, and now it says it's ALWAYS
a closed interval. But neither is correct.
Exactly which bit of the 2.6.2 documentation do you think is
On Jun 10, 10:01 am, Jeff McNeil j...@jmcneil.net wrote:
On Jun 10, 10:26 am, Sparky samnspa...@gmail.com wrote:
Hey! I am developing a small application that tests multiple websites
and compares their response time. Some of these sites do not respond
to a ping and, for the measurement
On Jun 10, 12:37 pm, Mark Dickinson dicki...@gmail.com wrote:
On Jun 10, 6:21 pm, Mensanator mensana...@aol.com wrote:
So, the 2.6.2 documentation is STILL wrong. Before it implied
it was ALWAYS a semi-open interval, and now it says it's ALWAYS
a closed interval. But neither is correct.
On Jun 10, 12:49 pm, Seamus MacRae smacrae...@live.ca.invalid wrote:
Jeff M. wrote:
On Jun 9, 9:08 pm, Arved Sandstrom dces...@hotmail.com wrote:
Jon Harrop wrote:
Arved Sandstrom wrote:
Jon, I do concurrent programming all the time, as do most of my peers.
Way down on the list of why
Jeff M. wrote:
On Jun 9, 9:08 pm, Arved Sandstrom dces...@hotmail.com wrote:
Jon Harrop wrote:
Arved Sandstrom wrote:
Jon, I do concurrent programming all the time, as do most of my peers.
Way down on the list of why we do it is the reduction of latency.
What is higher on the list?
Jeff M. wrote:
On Jun 9, 9:08 pm, Arved Sandstrom dces...@hotmail.com wrote:
Jon Harrop wrote:
Arved Sandstrom wrote:
Jon, I do concurrent programming all the time, as do most of my peers.
Way down on the list of why we do it is the reduction of latency.
What is higher on the list?
On 2009-06-09 19:27, Mensanator wrote:
On Jun 9, 6:12 pm, Robert Kernrobert.k...@gmail.com wrote:
On 2009-06-09 18:05, Mensanator wrote:
On Jun 9, 4:33 pm, Esmailebo...@hotmail.comwrote:
Hi,
random.random() will generate a random value in the range [0, 1).
Is there an easy way to
Mensanator wrote:
So, the 2.6.2 documentation is STILL wrong. Before it implied
it was ALWAYS a semi-open interval, and now it says it's ALWAYS
a closed interval. But neither is correct.
If a x b is true, then a = x = b is true.
But docs say that in general end point values might happen.
I have python 3.0.1, and have downloaded pywin32 for python 3.x, aka build #213.
I ran win32com.client.makepy.py on Microsoft Office 12.0 Object Library and
Microsoft PowerPoint 12.0 Object Library. The output files were placed in
win32com.gen_py. I renamed them as MSO.py and MSPPT.py,
Is there a way to reproduce the behavior of IDLE's restart shell ability by
using a function? I thought there would be since you can exit python by
executing the simple quit() function I thought there would be an equally
simple function name something like restart(). I'd prefer something like
this
On Jun 10, 6:57 pm, Mensanator mensana...@aol.com wrote:
On Jun 10, 12:37 pm, Mark Dickinson dicki...@gmail.com wrote:
On Jun 10, 6:21 pm, Mensanator mensana...@aol.com wrote:
So, the 2.6.2 documentation is STILL wrong. Before it implied
it was ALWAYS a semi-open interval, and now it
On 2009-06-10 13:53, Terry Reedy wrote:
Mensanator wrote:
So, the 2.6.2 documentation is STILL wrong. Before it implied
it was ALWAYS a semi-open interval, and now it says it's ALWAYS
a closed interval. But neither is correct.
If a x b is true, then a = x = b is true.
But docs say that in
Carl Banks wrote:
Sometimes alternate constructors are needed when there is more than one
possible way to create an instance from a given input. In the case of
str(iterable), one could want either a string representing the iterable
itself, just as with non-iterables, or a string representing
Hello everyone,
Since the real world objects often needs to be deleted even if they
have some reference from some other object, I am going to use this
approach to better model this situation, by cleaning up the attributes
and assigning self.__class__ to a different class.
Any comment on this
Never mind, its just that the choose file option produces a file path with
'/ rather than '\', and python cannot use the former.
Thanks anyway
- Original Message -
From: jcher...@gatech.edu
To: python-list@python.org
Sent: Wednesday, June 10, 2009 2:22:22 PM GMT -05:00 US/Canada Eastern
Robert Kern wrote:
Important correction noted. But how did you find those? When I search
for 'Shaw' with the search box (I tried it again), I only get a couple
of other, irrelevant hits. Is the search box buggy?
I suspect so. I knew of most of them already, and Googling
site:pypi.python.org
What can I do about that?
Remove the non-ASCII characters from db.h.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
So I'm parsing an XML file returned from a database. However, the
database entries have occasional non-ASCII characters, and this is
crashing my parsers.
Is there some handy function out there that will schlep through a file
like this, and do something like fix the characters that
On Jun 10, 8:15 pm, Robert Kern robert.k...@gmail.com wrote:
On 2009-06-10 13:53, Terry Reedy wrote:
A full technical discussion does not below in the docs, in my opinion. A
wike article would be fine.
True. However, a brief note that Due to floating point arithmetic, for some
values of a
Amit Dor-Shifer wrote:
Hi all.
I'd like to print-out a dictionary of objects. The printed values are
references. How Do I print the actual objects.
You can only print string representations, as defined by
type(ob).__str__ and type(ob).__repr__.
class MyClass:
def __str__(self):
On 2009-06-10 14:46, Mark Dickinson wrote:
On Jun 10, 8:15 pm, Robert Kernrobert.k...@gmail.com wrote:
On 2009-06-10 13:53, Terry Reedy wrote:
A full technical discussion does not below in the docs, in my opinion. A
wike article would be fine.
True. However, a brief note that Due to floating
Manavan wrote:
Hello everyone,
Since the real world objects often needs to be deleted even if they
have some reference from some other object, I am going to use this
approach to better model this situation, by cleaning up the attributes
and assigning self.__class__ to a different class.
Any
2009/6/10 Nick Matzke mat...@berkeley.edu:
Hi all,
So I'm parsing an XML file returned from a database. However, the database
entries have occasional non-ASCII characters, and this is crashing my
parsers.
Is there some handy function out there that will schlep through a file like
this,
On 2009-06-10 15:32, Robert Kern wrote:
On 2009-06-10 14:46, Mark Dickinson wrote:
But I don't know why it would be useful to know that endpoints *are*
sometimes
included, without knowing exactly when.
That's a fair point. However, one issue that hasn't been brought up is
that it might be
Nick Matzke wrote:
Hi all,
So I'm parsing an XML file returned from a database. However, the
database entries have occasional non-ASCII characters, and this is
crashing my parsers.
Is there some handy function out there that will schlep through a file
like this, and do something like fix
Robert Kern robert.k...@gmail.com wrote:
On 2009-06-10 14:46, Mark Dickinson wrote:
On Jun 10, 8:15 pm, Robert Kernrobert.k...@gmail.com wrote:
On 2009-06-10 13:53, Terry Reedy wrote:
A full technical discussion does not below in the docs, in my opinion. A
wike article would be fine.
True.
On 2009-06-10 15:54, Mark Dickinson wrote:
Robert Kernrobert.k...@gmail.com wrote:
On 2009-06-10 14:46, Mark Dickinson wrote:
On Jun 10, 8:15 pm, Robert Kernrobert.k...@gmail.com wrote:
On 2009-06-10 13:53, Terry Reedy wrote:
A full technical discussion does not below in the docs, in my
On May 7, 10:27 pm, oyster lepto.pyt...@gmail.com wrote:
I mean chart, not plot. If you don't know the difference, you can
checkwww.advsofteng.com, which is a commercial program
is there such a thing with many kinds ofchart, i.e. pie-chart,
line-chart, ..?
A long time ago, I programmed
Martin v. Löwis schrieb:
What can I do about that?
Remove the non-ASCII characters from db.h.
Ehh...
$ find -type f | grep -i db.h
./Modules/unicodename_db.h
./Modules/unicodedata_db.h
./Objects/unicodetype_db.h
There's no db.h file in the Python-3.1rc1 distribution. The ones above
contain
On Jun 9, 2:33 pm, Esmail ebo...@hotmail.com wrote:
Hi,
random.random() will generate a random value in the range [0, 1).
Is there an easy way to generate random values in the range [0, 1]?
I.e., including 1?
I am implementing an algorithm and want to stay as true to the
original design
Robert Kern robert.k...@gmail.com wrote:
On 2009-06-10 15:54, Mark Dickinson wrote:
[...] I'm not sure I'm capable of coming up with extra wording
for the docs that won't just cause more confusion, so I'll leave that
to someone else.
I did make a concrete suggestion.
Yes, you did. Thank
1 - 100 of 197 matches
Mail list logo