On Apr 24, 6:53 pm, Alex Hall wrote:
> Hello all,
> I have a compiled version of my project, but the wx functions do not
> work. When run from the python source, instead of the compiled .exe
> file, wx works as expected. I am including msvcr90.dll in the dist
> folder. I looked for answers on Goog
On 4/25/2010 11:36 PM, Keith wrote:
I am considering writing a PEP for the inclusion of an engineering
format specifier, and would appreciate input from others.
I tested that input is no problem, so the only question is output.
Do you think this idea has enough merit to make it to PEP status?
expy is an express way to extend python.
I have been using this in a big project and the outcome is quite satisfying.
What's New:
1. now generated header files are separate from implementation files.
2. bug fixes.
3. updated documentation.
For more information: http://expy.sourceforge.net/
C
On Mon, Apr 26, 2010 at 3:39 PM, Chris Rebert wrote:
> "The conversion **exactly follows the rules for conversion to
> scientific numeric string** except in the case of finite numbers
> **where exponential notation is used.**"
>
Well, then maybe the conversion doesn't exactly follow the rules, i
On Apr 26, 1:19 am, Chris Rebert wrote:
> Apparently either you and the General Decimal Arithmetic spec differ
> on what constitutes engineering notation, there's a bug in the Python
> decimal library, or you're hitting some obscure part of the spec's
> definition.
snip
> The spec:http://speleotro
On Sun, Apr 25, 2010 at 10:25 PM, Xavier Ho wrote:
> On Mon, Apr 26, 2010 at 3:19 PM, Chris Rebert wrote:
>> Apparently either you and the General Decimal Arithmetic spec differ
>> on what constitutes engineering notation, there's a bug in the Python
>> decimal library, or you're hitting some obs
On Mon, Apr 26, 2010 at 3:19 PM, Chris Rebert wrote:
> Apparently either you and the General Decimal Arithmetic spec differ
> on what constitutes engineering notation, there's a bug in the Python
> decimal library, or you're hitting some obscure part of the spec's
> definition. I don't have the e
On Sun, Apr 25, 2010 at 9:42 PM, Keith wrote:
> On Apr 26, 12:02 am, Chris Rebert wrote:
>> On Sun, Apr 25, 2010 at 8:36 PM, Keith wrote:
>> > I am considering writing a PEP for the inclusion of an engineering
>> > format specifier, and would appreciate input from others.
> snip
>> Relevant rel
On Apr 26, 12:29 am, Steven D'Aprano wrote:
> On Sun, 25 Apr 2010 20:36:22 -0700, Keith wrote:
>>no one talks about 4.7e-5F, as they would rather see 47e-6
>>(micro). Instead of 2.2e-2, engineers need to see 22.0e-3 (milli).
>I'd be cautious about making claims about "no one"
Good point, and I
On Apr 26, 12:02 am, Chris Rebert wrote:
> On Sun, Apr 25, 2010 at 8:36 PM, Keith wrote:
> > I am considering writing a PEP for the inclusion of an engineering
> > format specifier, and would appreciate input from others.
snip
> Relevant related information:
> The Decimal datatype supports engin
On Sun, 25 Apr 2010 20:36:22 -0700, Keith wrote:
> I am considering writing a PEP for the inclusion of an engineering
> format specifier, and would appreciate input from others.
[...]
> For instance, no one talks about 4.7e-5F, as they would rather see 47e-6
> (micro). Instead of 2.2e-2, engineer
On Sun, Apr 25, 2010 at 8:36 PM, Keith wrote:
> I am considering writing a PEP for the inclusion of an engineering
> format specifier, and would appreciate input from others.
>
> Background (for those who don't already know about engineering
> notation):
>
> Engineering notation (EN) is type of fl
http://www.scribd.com/doc/30492594/If-Not-Busy-You-Could-Prevent-the-FINAL-WAR-Today
This is not a Drill … PRIORITY ONE
--
http://mail.python.org/mailman/listinfo/python-list
I am considering writing a PEP for the inclusion of an engineering
format specifier, and would appreciate input from others.
Background (for those who don't already know about engineering
notation):
Engineering notation (EN) is type of floating point representation.
The idea with EN is that the p
In article ,
J. Cliff Dyer wrote:
>On Thu, 2010-04-15 at 11:25 -0700, koranthala wrote:
>>
>>Suppose I am doing the following:
>> req = urllib2.urlopen('http://www.python.org')
>> data = req.read()
>>
>>When is the actual data received? is it done by the first line? or
>> is it done only
I have been using ulipad to edit .rst and .py files. I have currently been
launching using terminal "python32 ulipad.py" and then opening the file I
what to edit. I would like to be able to set ulipad as the defualt editor
for .rst and .py files. I posted this question on superuser.com and got a
s
Colin Howell writes:
> I know that Dive Into Python is quite old and there have been many
> improvements in the language since,
FYI There is a Dive Into Python 3.
--
John Bokma j3b
Hacking & Hiking in Mexico - http://johnbokma.com
On Apr 25, 2:55 pm, sdistefano wrote:
> I have the following issue:
>
> My program runs a thread called the MainThread, that loops trough a
> number of URLs and decides when it's the right time for one to be
> fetched. Once a URL has to be fetched, it's added to a Queue object,
> where the Fetchi
Hi everyone,
I posted this in the cocos2d and pyglet discussion group, I thought
I'll get a response right away since my problem is quite general but I
got no response. I hope you will help me!!! this is the original post
http://groups.google.com/group/cocos-discuss/browse_thread/thread/f8bc9249
Daniel Fetchinson :
>> for fits and giggles, to show what's possible in only 400
>> lines of python, here is a game of asteroids, written by joe rumsey.
>> yes, it runs under pyjamas-desktop too.
>>
>> http://pyjs.org/examples/asteroids/public/Space.html
>
>This URL returns a blank page for me
On Apr 25, 3:31 pm, Colin Howell wrote:
> [I originally sent this to python-help; the volunteer who responded
> thought it was OK to repost it here.]
>
> I'm sure this has been discussed somewhere before, but I can't find it
> in the Python issue tracker. The following behavior from the
> interact
On Apr 25, 8:49 am, Luke Kenneth Casson Leighton
wrote:
> pyjamas - the stand-alone python-to-javascript compiler, and separate
> GUI Widget Toolkit, has its 0.7 release, today. this has been much
> delayed, in order to allow the community plenty of time between the
> 0.7pre2 release and the fina
[I originally sent this to python-help; the volunteer who responded
thought it was OK to repost it here.]
I'm sure this has been discussed somewhere before, but I can't find it
in the Python issue tracker. The following behavior from the
interactive interpreter is rather confusing. (I've seen this
* Luke Kenneth Casson Leighton:
http://pyjs.org/examples/asteroids/public/Space.html
An error has been encountered in accessing this page.
1. Server: pyjs.org
2. URL path: /examples/asteroids/public/examples/asteroids/public/bootstrap.js
3. Error notes: NONE
4. Error type: 404
5. Reques
I have the following issue:
My program runs a thread called the MainThread, that loops trough a
number of URLs and decides when it's the right time for one to be
fetched. Once a URL has to be fetched, it's added to a Queue object,
where the FetchingThread picks up and does the actual work. Often,
On 4/25/2010 3:43 PM, Terry Reedy wrote:
On 4/25/2010 2:07 PM, Daniel Fetchinson wrote:
for fits and giggles, to show what's possible in only 400
lines of python, here is a game of asteroids, written by joe rumsey.
yes, it runs under pyjamas-desktop too.
http://pyjs.org/examples/asteroids/publi
On 4/25/2010 2:07 PM, Daniel Fetchinson wrote:
for fits and giggles, to show what's possible in only 400
lines of python, here is a game of asteroids, written by joe rumsey.
yes, it runs under pyjamas-desktop too.
http://pyjs.org/examples/asteroids/public/Space.html
This URL returns a bla
Pyevolve is an evolutionary computation framework written in pure
Python. This is the first release candidate before the 0.6 official
release.
See more information about this release on the official announce at
(http://pyevolve.sourceforge.net/wordpress/?p=1164) or in the
Documentation site at (h
Shabbir Ahmed writes:
> hi hope all are doing good, i have code written in perl which quries
> too many devices and then stores the result in mysqldb, whiel shifting
> to python and googling i heared of and studied google asynch python
> code, now i wanted to use it n convert my perl code to it b
> for fits and giggles, to show what's possible in only 400
> lines of python, here is a game of asteroids, written by joe rumsey.
> yes, it runs under pyjamas-desktop too.
>
> http://pyjs.org/examples/asteroids/public/Space.html
This URL returns a blank page for me on firefox 3.3.5 (linux) wi
On Mar 11, 2:16 am, alex23 wrote:
> Victor Subervi wrote:
> > > There's a program (vpopmail) that has commands which, when called, request
> > > input ("email address", "password", etc.) from the command line. I would
> > > like to build a TTW interface for my clients to use that interacts with
>
On Apr 25, 9:41 am, Shabbir Ahmed wrote:
> hi hope all are doing good, i have code written in perl which quries
> too many devices and then stores the result in mysqldb, whiel shifting
> to python and googling i heared of and studied google asynch python
> code, now i wanted to use it n convert my
On 04/26/10 02:37, Jonathan Fine wrote:
>
> I don't know if the quadratic running time is an issue for my purpose.
It's not until you decide it's yes.
--
http://mail.python.org/mailman/listinfo/python-list
Eduardo Schettino wrote:
On Sun, Apr 25, 2010 at 11:44 PM, Jonathan Fine wrote:
Eduardo Schettino wrote:
On Sun, Apr 25, 2010 at 4:53 AM, Jonathan Fine wrote:
Hi
I'm hoping to avoid reinventing a wheel (or other rolling device). I've
got
a number of dependencies and, if possible, I want to
On Sun, Apr 25, 2010 at 11:44 PM, Jonathan Fine wrote:
> Eduardo Schettino wrote:
>>
>> On Sun, Apr 25, 2010 at 4:53 AM, Jonathan Fine wrote:
>>>
>>> Hi
>>>
>>> I'm hoping to avoid reinventing a wheel (or other rolling device). I've
>>> got
>>> a number of dependencies and, if possible, I want t
Makoto Kuwata wrote:
Hi,
I released Oktest 0.2.2.
http://packages.python.org/Oktest/
http://pypi.python.org/pypi/Oktest/
Overview
Oktest is a new-style testing library for Python.
::
from oktest import ok
ok (x) > 0 # same as assert_(x > 0)
ok (s) == 'foo
Eduardo Schettino wrote:
On Sun, Apr 25, 2010 at 4:53 AM, Jonathan Fine wrote:
Hi
I'm hoping to avoid reinventing a wheel (or other rolling device). I've got
a number of dependencies and, if possible, I want to order them so that each
item has its dependencies met before it is processed.
I t
Makoto Kuwata wrote:
On Sun, Apr 25, 2010 at 5:53 AM, Jonathan Fine wrote:
I'm hoping to avoid reinventing a wheel (or other rolling device). I've got
a number of dependencies and, if possible, I want to order them so that each
item has its dependencies met before it is processed.
I think I c
Barak, Ron, 25.04.2010 17:06:
This is my first try at XML with Python, and though I tried to read on the web,
I'm unable to traverse a DOM tree, as my top element seems to be DOCUMENT_NODE
and I cannot find a way to get to the nodes below it.
You might find the xml.etree.ElementTree package a
Hi,
This is my first try at XML with Python, and though I tried to read on the web,
I'm unable to traverse a DOM tree, as my top element seems to be DOCUMENT_NODE
and I cannot find a way to get to the nodes below it.
Below is a sample data, script and execution.
Could you point to where I'm do
On Sun, Apr 25, 2010 at 4:53 AM, Jonathan Fine wrote:
> Hi
>
> I'm hoping to avoid reinventing a wheel (or other rolling device). I've got
> a number of dependencies and, if possible, I want to order them so that each
> item has its dependencies met before it is processed.
>
> I think I could get
On 10:02 am, elvismoodbi...@gmail.com wrote:
Say, a Standard Library function works in a way it was not supposed
to.
Developers (who use Python) handle this issue themselves.
And then, you (a python-core developer) fix the behavior of the
function.
Although you have 1Cfixed 1D the bug, anyone
pyjamas - the stand-alone python-to-javascript compiler, and separate
GUI Widget Toolkit, has its 0.7 release, today. this has been much
delayed, in order to allow the community plenty of time between the
0.7pre2 release and the final release, to review and test all the
examples.
pyjamas allows d
On Sun, Apr 25, 2010 at 5:53 AM, Jonathan Fine wrote:
> I'm hoping to avoid reinventing a wheel (or other rolling device). I've got
> a number of dependencies and, if possible, I want to order them so that each
> item has its dependencies met before it is processed.
>
> I think I could get what I
Hi,
I released Oktest 0.2.2.
http://packages.python.org/Oktest/
http://pypi.python.org/pypi/Oktest/
Overview
Oktest is a new-style testing library for Python.
::
from oktest import ok
ok (x) > 0 # same as assert_(x > 0)
ok (s) == 'foo'# same as
Aahz wrote:
In article ,
Jonathan Fine wrote:
I'm hoping to avoid reinventing a wheel (or other rolling device). I've
got a number of dependencies and, if possible, I want to order them so
that each item has its dependencies met before it is processed.
I think I could get what I want by wr
On Apr 23, 9:23 am, Phlip wrote:
> When I use the CSV library, with QUOTE_NONNUMERIC, and when I pass in
> a Decimal() object, I must convert it to a string.
Why must you? What unwanted effect do you observe when you don't
convert it?
> the search for an alternate CSV module, without
> this bug
Say, a Standard Library function works in a way it was not supposed
to.
Developers (who use Python) handle this issue themselves.
And then, you (a python-core developer) fix the behavior of the
function.
Although you have “fixed” the bug, anyone who upgrades, will be in
trouble.
Their code may no
hi hope all are doing good, i have code written in perl which quries
too many devices and then stores the result in mysqldb, whiel shifting
to python and googling i heared of and studied google asynch python
code, now i wanted to use it n convert my perl code to it but i have
some problem.
1. this
Hi,
I want to debug my c++blocks which are dynamically
loaded into python for execution. I am using wingide for debugging python. But
its limitation is that when c++module is called in python script it doent take
me into c++ module. What I want is that I should be able to visually see the
c++ c
Chris Rebert wrote:
On Sat, Apr 24, 2010 at 1:53 PM, Jonathan Fine wrote:
Hi
I'm hoping to avoid reinventing a wheel (or other rolling device). I've got
a number of dependencies and, if possible, I want to order them so that each
item has its dependencies met before it is processed.
I think
I've got an application which makes fairly heavy use of daemon threads to
perform 'background' processing and various other long-running tasks that are
likely to block.
I originally thought I could safely fire off a daemon threading.Thread and
essentially forget about managing the thread's life
> Another possibility is to open the file in binary mode and do the
> encoding yourself when writing text. This might actually be a better
> solution, since I'm not sure RTF uses utf-8 by default.
Yes, thanks for this suggestion, it seems the best to me. Actually RTF
is not UTF-8 encoded, it's 8
On Apr 21, 12:56 pm, candide wrote:
> Is the del instruction able to remove _at the same_ time more than one
> element from a list ?
>
> For instance, this seems to be correct :
>
> >>> z=[45,12,96,33,66,'c',20,99]
> >>> del z[2], z[6],z[0]
> >>> z
> [12, 33, 66, 'c', 20]
> >>>
>
> How
54 matches
Mail list logo