Sorin Schwimmer schrieb:
>> Did you add /usr/local/lib to /etc/ld.so.conf?
>
> It's there
It is it also listed with "ldconfig -p"?
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> HELP!
> Guy who was here before me wrote a script to parse files in Python.
>
> Includes line:
> print u
According to your other posts 'u' seems to be an instance of a custom
Utterance class with a __str__() method that accidentally returns unicode.
Try changing the pr
John wrote:
>So what happens with google bots etc... Information provided
>in the email could be helpful to others that are NOT the original
> recipient. And what happens to the archive stuff?
I will forward your response to our crack legal department. Perhaps
they can help you with your very
"William Heymann" <[EMAIL PROTECTED]> wrote:
> So you know I tried this on ubuntu edgy 64bit edition on a dual 2218 opteron
> system with 8G of ram and I got
>
>
> Exception raised: can't start new thread
> Biggest number of threads: 32274
>
This almost looks as if the number of threads is
Hi,
Thanks for the feedback.
Paulo
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
when I rtry to install pygame (pygame-1.7.1release.win32-py2.4.exe, the most
ciurrent version I found) it requires Python 2.4! Will I really have to
uninstall my Python 2.5 and install the old Python 2.4 in order to use
pygame?
Thanks,
Siggi
--
http://mail.python.org/mailman/listinf
In article <[EMAIL PROTECTED]>,
"Hendrik van Rooyen" <[EMAIL PROTECTED]> writes:
|>
|> I would have thought that this sort of thing was a natural consequence
|> of rounding errors - if I round (or worse truncate) a binary, I can be off
|> by at most one, with an expectation of a half of a least s
How can I run external program from Python?
I use Python with XP
Thank you for help
LB
--
http://mail.python.org/mailman/listinfo/python-list
Lad wrote:
> How can I run external program from Python?
> I use Python with XP
> Thank you for help
> LB
>
>
The subprocess module is what you want for this.
It's got ways of running external executables as separate subprocesses,
and interacting with the subprocess and both its input and out
siggi wrote:
> when I rtry to install pygame (pygame-1.7.1release.win32-py2.4.exe, the most
> ciurrent version I found) it requires Python 2.4! Will I really have to
> uninstall my Python 2.5 and install the old Python 2.4 in order to use
> pygame?
For now, yes. This is a long-standing problem w
Huayang Xia wrote:
> PyObject* py_obj_attr1 = PyObject_GetAttrString(obj, "attr1");
> PyObject_SetAttrString(py_obj_attr1, "attr2",
> PyString_FromString("a"));
> Py_DECREF(py_obj_attr1);
>
> The object py_obj_attr1 is said to be a "New reference". It's
> confusing, does it refer to th
siggi a écrit :
> Hi all,
>
> when I rtry to install pygame (pygame-1.7.1release.win32-py2.4.exe, the most
> ciurrent version I found) it requires Python 2.4! Will I really have to
> uninstall my Python 2.5 and install the old Python 2.4 in order to use
> pygame?
Note: You can have both versions
Gary Herron wrote:
> Lad wrote:
> > How can I run external program from Python?
> > I use Python with XP
> > Thank you for help
> > LB
> >
> >
> The subprocess module is what you want for this.
>
> It's got ways of running external executables as separate subprocesses,
> and interacting with the
kj7ny wrote:
> To be more exact, I am trying to use Python to talk to a Livelink
> system (http://www.opentext.com/) through their LAPI interface (.dll's,
> I think). I'll see if I can generate a more intelligent answer to your
> question, but for now, I'm far enough in the dark that this is as g
> Felipe Almeida Lessa <[EMAIL PROTECTED]> writes:
>>
>> to modify the maximum number of user process (AFAIK each thread use a
>> process entry on Linux)
> I don't think it's only this.
It isn't that at all. The default Linux POSIX threads stack size is
8MB. Linux user space is 3GB (Kernel i
[EMAIL PROTECTED] wrote:
>
> The main difference between MPI python solutions and ppsmp is that with
> MPI you have to organize both computations
> {MPI_Comm_rank(MPI_COMM_WORLD, &id); if id==1 then ... else } and
> data distribution (MPI_Send / MPI_Recv) by yourself. While with ppsmp
> you jus
http://mathworld.wolfram.com/DiophantineEquation.html
You can use this web application for solving diophantine equations:
http://www.math.uwaterloo.ca/~snburris/htdocs/linear.html
Hugo Scolnik
Imagination is more important than knowledge.--
http://mail.python.org/mailman/listinfo/python-list
The answer to your integer solutions problem can be found in
http://www.alpertron.com.ar/QUAD.HTM
Best
Hugo Scolnik
Imagination is more important than knowledge.--
http://mail.python.org/mailman/listinfo/python-list
Dennis Lee Bieber wrote:
> The problem though, is that the original poster claimed the Oracle
> data was being emitted in multiple chunks, not as a single output -- and
> they want to avoid collecting the data in a temporary file...
I think he wanted to know whether concurrent reads from Oracle a
On Thu, 11 Jan 2007 16:42:34 -0600, Demel, Jeff
<[EMAIL PROTECTED]> wrote:
> John wrote:
>>So what happens with google bots etc... Information provided
>>in the email could be helpful to others that are NOT the original
>> recipient. And what happens to the archive stuff?
>
> I will forw
Lad wrote:
> How can I run external program from Python?
> I use Python with XP
> Thank you for help
A possible way to do this is the following:
Let's say we want to run a program called program.exe from the path
C/Program/Program.exe. We would first need to import the os module and
type the fol
Steven Wayne <[EMAIL PROTECTED]> wrote:
> Don't take this the wrong way, but this isn't an email, it's a usenet
> posting.
It is now, but it started as an email. If you examine its headers he sent
it to the list but the list administrator had set up software up to copy
the email to a newsgroup.
Hendrik van Rooyen wrote:
> "robert" <[EMAIL PROTECTED]> wrote:
>
>
>> pushing data objects through an inter-thread queue is a major source for
> trouble - as this thread shows again.
>> Everybody builds up a new protocol and worries about Empty/Full,
> Exception-handling/passing, None-Elements,
In article <[EMAIL PROTECTED]>,
"Paul Boddie" <[EMAIL PROTECTED]> writes:
|> [EMAIL PROTECTED] wrote:
|> >
|> > The main difference between MPI python solutions and ppsmp is that with
|> > MPI you have to organize both computations
|> > {MPI_Comm_rank(MPI_COMM_WORLD, &id); if id==1 then ... else .
On Fri, 12 Jan 2007 04:50:21 -0600, Steven Wayne wrote:
[snip stupid disclaimer and response to it]
> Unlawful how? You've already given permission for an "agent responsible
> for delivering the message" to broadcast it around the world.
>
> Sorry for the rant, but I'm an email admin and I've ju
Paul Boddie wrote:
> [EMAIL PROTECTED] wrote:
>> The main difference between MPI python solutions and ppsmp is that with
>> MPI you have to organize both computations
>> {MPI_Comm_rank(MPI_COMM_WORLD, &id); if id==1 then ... else } and
>> data distribution (MPI_Send / MPI_Recv) by yourself. Whi
On 12 Jan 2007 11:06:29 GMT, Duncan Booth
<[EMAIL PROTECTED]> wrote:
> Steven Wayne <[EMAIL PROTECTED]> wrote:
>
>> Don't take this the wrong way, but this isn't an email, it's a usenet
>> posting.
>
> It is now, but it started as an email. If you examine its headers he sent
> it to the li
[EMAIL PROTECTED] wrote:
> Has anybody tried to run parallel python applications?
> It appears that if your application is computation-bound using 'thread'
> or 'threading' modules will not get you any speedup. That is because
> python interpreter uses GIL(Global Interpreter Lock) for internal
> b
On Fri, 12 Jan 2007 22:44:33 +1100, Steven D'Aprano
<[EMAIL PROTECTED]> wrote:
> On Fri, 12 Jan 2007 04:50:21 -0600, Steven Wayne wrote:
>
> [snip stupid disclaimer and response to it]
>
>> Unlawful how? You've already given permission for an "agent responsible
>> for delivering the message
robert wrote:
> Paul Boddie wrote:
> >
> > [1] http://www.python.org/pypi/parallel
>
> I'd be interested in an overview.
I think we've briefly discussed the above solution before, and I don't
think you're too enthusiastic about anything using interprocess
communication, which is what the above sol
Carl J. Van Arsdall wrote:
> For those of you that work on larger applications but still code in
> python... do your development teams use any tools to facilitate the
> design? (i'm not asking about editors here, i'm really asking about
> software design tools) Are these the same tools you would
Hello list,
just in the moment I wanted to write about then lacking documentation
about Easy_Install, but then I found this one :
http://www-128.ibm.com/developerworks/library/l-cppeak3.html.
Just for google.
HTH
Norbert
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 12, 2007, at 11:21, Paul Boddie wrote:
> done. My own experience with regard to releasing software is that even
> with an open source licence, most people are likely to ignore your
> projects than to suddenly jump on board and take control, and even if
My experience is exactly the same. An
Konrad Hinsen wrote:
>
> That's one more project... It seems that there is significant
> interest in parallel computing in Python. Perhaps we should start a
> special interest group? Not so much in order to work on a single
> project; I believe that at the current state of parallel computing we
> s
On Thu, 2007-01-11 at 23:47 +, Nick Maclaren wrote:
> In article <[EMAIL PROTECTED]>,
> Facundo Batista <[EMAIL PROTECTED]> writes:
> |> Noud Aldenhoven wrote:
> |>
> |> > When I was programming in a mathematical project I began to wonder if
> python
> |> > supports rational numbers[1]. In a
On Jan 11, 5:53 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
>
> What technique were you thinking of to look up the cached index values
> in Python, just as a matter of curiosity? Storing them in a dict? It
> would be hard to think of a faster way ... ;-)
I didn't have anything fancy in mind. I was
I'm happily using context managers and co-routines, and would like to
use both at the same time, e.g.
with foo():
...
x = yield y
...
In this code multiple copies of this code can be executing at the
"same" time, interleaved by the yield statement. This doesn't work
we
I have three messages in my inbox. Why does messageCount =
gServer.select('INBOX') not just return OK and 3. See below for
examples - seems to be completely random how many threes it returns.
The documentation for imaplib seems sparse. Does anybody have any good
links? Many thanks, Jon
message
Emin> It sounds like it's probably not worth the effort in general, but
Emin> might be for extremely ultra-critical parts of code.
Even in extremely ultra-critical parts of code I doubt the loss of
readability would be worth it. If there are situations where you can really
gain by switch
Carl,
Some well known design applications have plugins for UML<->Python
translation. For example EnterpriseArchitect
(http://www.sparxsystems.com.au/resources/mdg_tech/) has a plugin for
Python. ObjectDomain though supports it natively:
http://www.objectdomain.com/products/od/overview.do
The goo
Hi,
how do i pass '--enable-shared' etc arguments to Python2.5 setup.py ?
do i need to edit some file ?
regards,
KM
--
http://mail.python.org/mailman/listinfo/python-list
"Emin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Jan 11, 5:53 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
>>
>> What technique were you thinking of to look up the cached index values
>> in Python, just as a matter of curiosity? Storing them in a dict? It
>> would be hard to
Dr. Who wrote:
> What's more amazing is that anyone would click on the link at all given
> the increasing number of website that provide hidden content that tries
> to deliver spyware or viruses just by getting visitors.
Me LinuxBoy, me not in danger... SCNR :)
Diez
--
http://mail.python.org/ma
Can you attach files in this forum? Couldn't find the option. Oh well,
here's the file.
#!/usr/bin/python
# Version: 1.1
# Author: Steve Losh
from sets import Set
from optparse import OptionParser
from xml.dom.minidom import parse
AudioPath = 'audio/'
DatafilePath = 'utterances.trmxml'
CON
[EMAIL PROTECTED] wrote:
> Can you attach files in this forum? Couldn't find the option. Oh well,
> here's the file.
>
> #!/usr/bin/python
> # Version: 1.1
> # Author: Steve Losh
>
> from sets import Set
> from optparse import OptionParser
> from xml.dom.minidom import parse
>
> AudioPath
So I write this sript called printargs.py:
--
#!/usr/local/bin/python
import sys
print 'there are %d args' % len(sys.argv)
for arg in sys.argv:
print 'arg: %s' % arg
--
and make it executable. On pretty much every platform I can get my
hands on, when I run
printargs.py booga -a
On 12 Jan 2007 06:17:01 -0800, [EMAIL PROTECTED] wrote:
>I'm happily using context managers and co-routines, and would like to
>use both at the same time, e.g.
Python has generators, not co-routines.
>
>with foo():
>...
>x = yield y
>...
>
>In this code multiple copies
By the way, note that if I say (on Vista)
python printargs.py booga -a wooga
I get the desired output:
> there are 4 args
> arg: printargs.py
> arg: booga
> arg: -a
> arg: wooga
So the quesiton still stands, what's up with that?
Thanks,
--JMike
--
http://mail.pytho
In article <[EMAIL PROTECTED]>,
Carsten Haese <[EMAIL PROTECTED]> writes:
|> On Thu, 2007-01-11 at 23:47 +, Nick Maclaren wrote:
|> > In article <[EMAIL PROTECTED]>,
|> > Facundo Batista <[EMAIL PROTECTED]> writes:
|> > |> Noud Aldenhoven wrote:
|> > |>
|> > |> > When I was programming in a m
Jean-Paul Calderone wrote:
> On 12 Jan 2007 06:17:01 -0800, [EMAIL PROTECTED] wrote:
> >I'm happily using context managers and co-routines, and would like to
> >use both at the same time, e.g.
>
> Python has generators, not co-routines.
They may be called generators, but I'm using them as co-routi
Some further information: perl seems to do the same thing (losing
arguments).
We think it may have something to do with file association.
Any ideas anyone?
--JMike
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> But on Windows Vista, when I run that command, I get
>
> there are 1 args
> arg: printargs.py
>
> What's up with that?
It sounds like the registry entry for running Python files is messed up.
Can you go to a command line and see what the command 'ftype Pyth
What's more amazing is that anyone would click on the link at all given
the increasing number of website that provide hidden content that tries
to deliver spyware or viruses just by getting visitors.
Jeff
Bjoern Schliessmann wrote:
> new wrote:
>
> > www.magicoz.com
> > amazing
>
> Yeah, it *is*
> I'm still thinking there is a better way to do it, and would appreciate
> any ideas.
>
Everything can be implemented with goto and arrays.
http://entrian.com/goto/
:-P
--
http://mail.python.org/mailman/listinfo/python-list
Diez, you are awesome! This works! Thank you so much!!! You are so
awesome!
Diez B. Roggisch wrote:
> [EMAIL PROTECTED] wrote:
>
> > Can you attach files in this forum? Couldn't find the option. Oh well,
> > here's the file.
> >
> > #!/usr/bin/python
> > # Version: 1.1
> > # Author: Steve Losh
>
On Fri, 2007-01-12 at 15:05 +, Nick Maclaren wrote:
> In article <[EMAIL PROTECTED]>,
> Carsten Haese <[EMAIL PROTECTED]> writes:
> |> On Thu, 2007-01-11 at 23:47 +, Nick Maclaren wrote:
> |> > In article <[EMAIL PROTECTED]>,
> |> > Facundo Batista <[EMAIL PROTECTED]> writes:
> |> > |> Pyth
metaperl wrote:
> File "/sw/lib/python2.5/csv.py", line 120, in _dict_to_list
> raise ValueError, "dict contains fields not in fieldnames"
>
>
> --- it would be nice if it said what field it was
Yeap, nice and useful... but, for example, what'd happen if the fields
that are not in fieldname
In article <[EMAIL PROTECTED]>,
Carsten Haese <[EMAIL PROTECTED]> writes:
|>
|> Ah, so now you're putting words in the BDFL's mouth. ;)
|>
|> The pronouncement does say "The needs outlined in the rationale section
|> have been addressed to some extent by the acceptance of PEP 327 for
|> decimal
On 2007-01-11, J <[EMAIL PROTECTED]> wrote:
> Steve-
>
> Thanks for the reply. I think what I'm trying to say by similar
> is pattern matching. Essentially, walking through a directory
> tree starting at a specified root folder, and returning a list
> of all folders that matches a pattern, in this
Is there any open source "live web chat support" program or script out
there? Any you can recommend?
--
http://mail.python.org/mailman/listinfo/python-list
Noud Aldenhoven wrote:
> There are a (small) couple of other issues where rational numbers could be
> handy. That's because rational numbers are exact, irrational numbers (in
> python) aren't. But these issues are probably too mathematical to be used in
For the sake of me being less ignorant, cou
Thanks guys. I'll give it a try.
Brian Blais wrote:
> Mark wrote:
> > I'm currently running the IDLE shell under Python 2.5, on Windows XP.
> >
> > Every time I edit my .txt or .py file, I have to restart the IDLE shell
> > for the changes to take effect. It's pretty annoying. Assuming IDLE is
> >
Thanks for the replies.
For the checking, I found we have to spend a lot of codes to check the
Python API's results. That is a pain. Is it reasonable to ignore the
result check of APIs like PyString_FromString and PyString_AsString
which will fail only when out of memory. Unfortunately there is no
folks,
I am trying to write a script that would open a download server and
download all the files and store them in a list
for example Download server is
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/SRPMS/
is there any way this can be done in python??
--
http://mail.pytho
I am creating a workflow in plone using argouml and archgenxml. I have been
following the steps on the site:-
http://plone.org/documentation/tutorial/anonymously-adding-custom-content-types-with-argouml-and-archgenxml/creating-a-class-and-workflow-with-argouml
However I am confused at step 9 in
I am willing to retrieve the file an imported module came from;
module.__file__, or inspect.getfile(module) only gives me the
relative file name. How do I determine the path?
Its obviously possible from python: ipython displays the information
(interactively: *module?*).
Python 2.4 on Suse 9.3 (clu
First of all thnx guys for ur cover on ma questionsOk some more
then...whats the way to read the sourcecode of methods and built in
functions?
--
http://mail.python.org/mailman/listinfo/python-list
tonydevlin a écrit :
> I am creating a workflow in plone using argouml and archgenxml. I have been
> following the steps on the site:-
> http://plone.org/documentation/tutorial/anonymously-adding-custom-content-types-with-argouml-and-archgenxml/creating-a-class-and-workflow-with-argouml
>
> Howev
Hi,
I get the following traceback when trying to have
wx.lib.pdfwin.PDFWindow open a PDF file:
E:\Tutoring\Teacher\Flashcards>python pdfwin1.py
Traceback (most recent call last):
File "pdfwin1.py", line 50, in OnOpenButton
self.pdf.LoadFile(dlg.GetPath())
File
"C:\Python24\lib\site-pack
lee wrote:
> whats the way to read the sourcecode of methods
Easy. Look up the .py file and open it in an editor of your choice.
Those files are, for example, in "/usr/lib/python".
> and built in functions?
Get your python interpreter's source code and look up the functions
there.
Regards,
B
Laszlo Nagy wrote:
>> I'm still thinking there is a better way to do it, and would
>> appreciate any ideas.
>
> Everything can be implemented with goto and arrays.
But is that really better?
Regards,
Björn
--
BOFH excuse #174:
Backbone adjustment
--
http://mail.python.org/mailman/list
Dr. Who wrote:
> What's more amazing is that anyone would click on the link at all
> given the increasing number of website that provide hidden content
> that tries to deliver spyware or viruses just by getting visitors.
How could active input reach *me* if I just fed the W3C validator
with the U
On Jan 12, 2007, at 15:08, Paul Boddie wrote:
> It seems to me that a more useful first step would be to create an
> overview of the different modules and put it on the python.org Wiki:
>
> http://wiki.python.org/moin/FrontPage
> http://wiki.python.org/moin/UsefulModules (a reasonable entry point)
In article <[EMAIL PROTECTED]>,
Facundo Batista <[EMAIL PROTECTED]> writes:
|> Noud Aldenhoven wrote:
|>
|> > There are a (small) couple of other issues where rational numbers could be
|> > handy. That's because rational numbers are exact, irrational numbers (in
|> > python) aren't. But these iss
I have a filename
cairo-2.3.4.src.rpm
Is there any way i can only get 2.3.4 from this file name
thanks
--
http://mail.python.org/mailman/listinfo/python-list
All I have to go on is the RFC2060 standard which says:
7.3.1. EXISTS Response
Contents: none
The EXISTS response reports the number of messages in the
mailbox.
This response occurs as a result of a SELECT or EXAMINE command,
and if the size of the mailbox changes (e.g. n
I am new to Pyton. I am trying to modify and understand a script someone
else wrote. I am trying to make sense of the following code snippet. I know
line 7 would be best coded with regex. I first would like to understand
what was coded originally. thelistOut looks like a hash to me (I'm more
famili
johnny sayeth, on 01/12/2007 11:11 AM:
> Is there any open source "live web chat support" program or script out
> there? Any you can recommend?
Why don't you install ejabberd (a Jabber server implemented in erlang)
and install Muckl (http://zeank.in-berlin.de/muckl/), an AJAX client for
mult
Bruno Desthuilliers wrote:
>
> tonydevlin a écrit :
>> I am creating a workflow in plone using argouml and archgenxml. I have
>> been
>> following the steps on the site:-
>> http://plone.org/documentation/tutorial/anonymously-adding-custom-content-types-with-argouml-and-archgenxml/creating-a-c
On 12 Jan 2007 09:16:51 -0800, CSUIDL PROGRAMMEr <[EMAIL PROTECTED]> wrote:
> I have a filename
> cairo-2.3.4.src.rpm
> Is there any way i can only get 2.3.4 from this file name
Is this a one off, or do you have to process multiple files with similar names?
--
Tim Williams
--
http://mail.pyt
On 12 Jan 2007 09:16:51 -0800, CSUIDL PROGRAMMEr <[EMAIL PROTECTED]> wrote:
> I have a filename
> cairo-2.3.4.src.rpm
> Is there any way i can only get 2.3.4 from this file name
> thanks
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
I'm trying to think of a good reason to extract
Chris Mellon wrote:
>
> I'm trying to think of a good reason to extract the version from the
> filename instead of using RPM to get the real version from the
> metadata and I can't come up with one.
The inquirer doesn't have any RPM handling tools installed/available or
is dealing with a lot of ve
In <[EMAIL PROTECTED]>, Karyn Williams
wrote:
> I am new to Pyton. I am trying to modify and understand a script someone
> else wrote. I am trying to make sense of the following code snippet. I know
> line 7 would be best coded with regex.
What is line 7 in the snippet?
> I first would like to u
Hello,
I am a .NET developer experimenting with Python.
I need to consume a .NET web service in a Python client. how do I go
about it?
which libraries do i need?
pointers to help me get started would be much appreciated.
I am just a newbie to the Python world so please be bear with my novice
queri
On 12 Jan 2007 10:23:41 -0800, Paul Boddie <[EMAIL PROTECTED]> wrote:
> Chris Mellon wrote:
> >
> > I'm trying to think of a good reason to extract the version from the
> > filename instead of using RPM to get the real version from the
> > metadata and I can't come up with one.
>
> The inquirer doe
On 1/12/07, Facundo Batista <[EMAIL PROTECTED]> wrote:
Noud Aldenhoven wrote:
> There are a (small) couple of other issues where rational numbers could
be
> handy. That's because rational numbers are exact, irrational numbers (in
> python) aren't. But these issues are probably too mathematical
mohit wrote:
> Hello,
>
> I am a .NET developer experimenting with Python.
> I need to consume a .NET web service in a Python client. how do I go
> about it?
> which libraries do i need?
> pointers to help me get started would be much appreciated.
> I am just a newbie to the Python world so please
On 12 Jan 2007 11:11:21 -0800, Ravi Teja <[EMAIL PROTECTED]> wrote:
> Start Here
> http://www.diveintopython.org/soap_web_services/index.html
> Example Client
> http://www.diveintopython.org/soap_web_services/first_steps.html
Sadly, SOAPpy doesn't seem to be maintained any more. I'd take a look
at
On 12 Jan 2007 15:55:39 GMT, Nick Maclaren <[EMAIL PROTECTED]> wrote:
>
> In article <[EMAIL PROTECTED]>,
> Carsten Haese <[EMAIL PROTECTED]> writes:
> |> but there are more use
> |> cases for Decimal than for Rational.
>
> That is dubious, but let's not start that one again.
Decimals are good for
In article <[EMAIL PROTECTED]>,
"Simon Brunning" <[EMAIL PROTECTED]> writes:
|>
|> > |> but there are more use
|> > |> cases for Decimal than for Rational.
|> >
|> > That is dubious, but let's not start that one again.
|>
|> Decimals are good for holding financial values. There's a whole lot of
|
Simon Brunning schrieb:
> On 12 Jan 2007 15:55:39 GMT, Nick Maclaren <[EMAIL PROTECTED]> wrote:
>> In article <[EMAIL PROTECTED]>,
>> Carsten Haese <[EMAIL PROTECTED]> writes:
>> |> but there are more use
>> |> cases for Decimal than for Rational.
>>
>> That is dubious, but let's not start that one
On 12 Jan 2007 19:41:52 GMT, Nick Maclaren <[EMAIL PROTECTED]> wrote:
> Sigh. I was hoping not to have that myth perpetrated again.
>
> Financial calculations need decimal FIXED-point, with a precisely
> specified precision. It is claimed that decimal FLOATING-point
> helps with providing that, b
XPN (X Python Newsreader) is a multi-platform newsreader with Unicode
support. It is written with Python+GTK. It has features like
scoring/actions, X-Face and Face decoding, muting of quoted text,
newsrc import/export, find article and search in the body, spoiler
char/rot13, random taglines and con
On 1/12/07, Thomas Ploch <[EMAIL PROTECTED]> wrote:
> Do not forget:
>
> - Time
> - Personal Data (like birthdays, age)
The datetime module has perfectly good classes for holding date and
time values, and age sounds like an integer to me.
--
Cheers,
Simon B
[EMAIL PROTECTED]
--
http://mail.pyth
Just to give you some background about my problem:
I execute os.system(command), where command is a string.
On the command line in windows, I get:
"Continue, and unload these objects? [no]"
I need to respond 'y' to continue, but I am uncertain on how to output
the 'y' automatically.
Thanks in
I want to pass a value to an argument of a function. The argument name is
dynamic and is stored in a
variable. How do I call the function using with arg_name and value as the
parameters.
thanks
mark
For ex:
def function(arg1='None', arg2='None', arg3='None'):
print arg1
print arg2
On Fri, 2007-01-12 at 12:17 -0800, mark wrote:
> I want to pass a value to an argument of a function. The argument name
> is dynamic and is stored in a
> variable. How do I call the function using with arg_name and value as
> the parameters.
> thanks
> mark
>
> For ex:
> def function(arg1='None',
On 1/12/07, mark <[EMAIL PROTECTED]> wrote:
> I want to pass a value to an argument of a function. The argument name is
> dynamic and is stored in a
> variable. How do I call the function using with arg_name and value as the
> parameters.
> thanks
> mark
>
> For ex:
> def function(arg1='None',
On Fri, 2007-01-12 at 20:22 +, Simon Brunning wrote:
> On 1/12/07, mark <[EMAIL PROTECTED]> wrote:
> > I want to pass a value to an argument of a function. The argument name is
> > dynamic and is stored in a
> > variable. How do I call the function using with arg_name and value as the
> > para
jrpfinch schreef:
> I have three messages in my inbox. Why does messageCount =
> gServer.select('INBOX') not just return OK and 3. See below for
> examples - seems to be completely random how many threes it returns.
> The documentation for imaplib seems sparse. Does anybody have any good
> links
1 - 100 of 145 matches
Mail list logo