Leo 4.6.2 final is now available at:
http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106
Leo is a text editor, data organizer, project manager and much more. See:
http://webpages.charter.net/edreamleo/intro.html
Leo 4.6.2 fixes several bugs reported since Leo 4.6 was
Leo 4.6.2 final is now available at:
http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106
Leo is a text editor, data organizer, project manager and much more. See:
http://webpages.charter.net/edreamleo/intro.html
Leo 4.6.2 fixes several bugs reported since Leo 4.6 was
xyzcmd 0.0.1beta released
I am pleased to announce the first beta release of xyzcmd
About:
--
xyzcmd is a pure console visual file manager.
Main features:
* Tight integration with python run-time system -- most of the
settings can be changed on the fly via
It isn't totally about the writers...
Peoples egos are also at stake - it seems.
If Fred X wrote Doc Y.. they don't want their name taken off.. So
they generally speaking don't want the docs changed.
If you talk too much about docs.. you can be told you're OT..
even in a thread about docs...
On Mon, 03 Aug 2009 21:34:15 -0700, Paul Rubin wrote:
Steven D'Aprano ste...@remove.this.cybersource.com.au writes:
The Python interpreter is written in C. Python extension modules are
written in C (or something similar). If you find an unprotected
buffer in this C code, you can possibly
On Aug 4, 3:55 pm, David Lyon david.l...@preisshare.net wrote:
It isn't totally about the writers...
Peoples egos are also at stake - it seems.
Citation please.
If Fred X wrote Doc Y.. they don't want their name taken off.. So
they generally speaking don't want the docs changed.
Ditto.
If
koranthala schrieb:
Hi,
I am creating a very minimal application (a networking app).
I have written the application using Twisted.
Now, I need to put a GUI wrapper on the application.
The application needs a login screen and also it needs to be
minimized to system tray. If I right
On Mon, 3 Aug 2009 20:00:08 -0700 (PDT), Carl Banks
pavlovevide...@gmail.com wrote:
Your question is a MySQL question, not a Python question. I don't
know off hand how to seed the RNG in MySQL, and, since this is a
Python group and not a MySQL group, I don't care to look it up. But
if you were
On Tue, Aug 4, 2009 at 5:48 PM, Fred Atkinson fatkin...@mishmash.comwrote:
I tried using the same command I used when I did this in PHP.
That command was: mt_srand(date(w))
It was a PHP command that seeds the MySQL random function,
according to the folks on the PHP newsgroup.
Well,
On 2009-08-04, Fred Atkinson fatkin...@mishmash.com wrote:
On Mon, 3 Aug 2009 20:00:08 -0700 (PDT), Carl Banks
pavlovevide...@gmail.com wrote:
If you don't get why this is a MySQL question and not a Python
question, then you need to learn more about what you are doing.
I wouldn't agree.
Hi,
cocobear wrote:
Map = Image.new(RGB, (x,y))
Map.paste(im, box)
Map.paste(im1,box)
Map = Map.convert(L, optimize=True, palette=Image.ADAPTIVE)
But if thetwopngpicis too big , or if I have tomergemorepic
together, I will get MemoryError:
Image.new(RGB,(44544,38656))
Strange, I did reply but you didn't see it?
Image.new(RGB,(44544,38656))
What do you want to do with such a big image? You will run into the same
limitation when you are trying to display it.
I want to download a map from google map with high precision
Download several maps
Hi,
I have a problem with one of my python scripts. When I run this script
from command line it works correctly, but if I set up cron to run this
script on specified hour it works for a while and then [Errno 32]
Broken pipe error occures (always).
The strangest thing is that if I change command
Hi list,
I need to modify a exe's RT_ACCELERATOR table, rename F1 to Ctrl+F1,
and assign hotkey F1 to another function
Is there a way to do it with pefile/python? A sample code is
appreciated. Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 4, 7:12 am, John Posner jjpos...@optimum.net wrote:
... I would also venture to say a key-map
of sorts that is available thru the help menu where one could push an
Up button, or a rotate button, and have the proper command
inserted in the prompt, and then have the command execute,
Hello to the Python community !
I'm a totaly newbbie in this langage.
I hope i will learn a lot with you.
Thanks.
aurelien
--
http://mail.python.org/mailman/listinfo/python-list
Rhodri James wrote:
Unfortunately, water pixels change a lot from frame to frame, even
when the camera is static, so it doesn't gain you as much as you might
hope in cases like you mention.
In the case mentioned, the water is of no interest, so it
could be removed altogether by a suitable
http://tinyurl.com/kpoweq
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano ste...@remove.this.cybersource.com.au writes:
The point is that code you write yourself can rely on pure Python to be
free of buffer-overflows (for some definition of rely) rather than
having to worry about managing memory yourself.
Right. Basically the Python interpreter
alex23 wrote:
Anthra Norell anthra.nor...@bluewin.ch wrote:
def entries (l):
r = re.compile ('([0-9]+) entr(y|ies)')
match = r.search (l)
if match: return match.group (1)
So the question is: does r get regex-compiled once at py-compile time
or repeatedly at entries()
Hi,
I have a problem with one of my python scripts. When I run this script
from command line it works correctly, but if I set up cron to run this
script on specified hour it works for a while and then [Errno 32]
Broken pipe error occures (always).
The strangest thing is that if I change
Steven D'Aprano a écrit :
On Fri, 31 Jul 2009 13:38:56 +0200, Bruno Desthuilliers wrote:
On the other hand, we don't have to prefix names with @ and @@,
Nope, we have to prefix them with 'self' or 'cls' (or even
'self.__class__').
Incorrect.
Correct for all relevant cases, except this
Łukasz wrote:
The strangest thing is that if I change command in CRON
from
python /home/xxx/script.py
to
python /home/xxx/script.py /tmp/script.log 21
the script always works correctly!!!
The question is WHY? Any ideas?
Seems to me that this is more of a shell thing...
First of
On 4 Sie, 10:02, Loïc Domaigné loic.domai...@googlemail.com wrote:
Hi,
I have a problem with one of my python scripts. When I run this script
from command line it works correctly, but if I set up cron to run this
script on specified hour it works for a while and then [Errno 32]
Broken
On 4 Sie, 10:08, Lars Behrens spam.bus...@web.de wrote:
Łukasz wrote:
The strangest thing is that if I change command in CRON
from
python /home/xxx/script.py
to
python /home/xxx/script.py /tmp/script.log 21
the script always works correctly!!!
The question is WHY? Any ideas?
En Tue, 04 Aug 2009 02:06:06 -0300, John Nagle na...@animats.com
escribió:
Gabriel Genellina wrote:
En Mon, 03 Aug 2009 18:04:53 -0300, sturlamolden
sturlamol...@yahoo.no escribió:
On 2 Aug, 15:50, Jizzai jiz...@gmail.com wrote:
Is a _pure_ python program buffer overflow proof?
For
I could ofcourse use cxfreeze's binary package. But bbfreeze is not
available as a binary. I would love to get easy_install to work. But I have
no idea what's going wrong here.
2009/8/4 Gabriel Genellina gagsl-...@yahoo.com.ar
En Mon, 03 Aug 2009 17:39:44 -0300, Bart Smeets
I have a problem with one of my python scripts. When I run this script
from command line it works correctly, but if I set up cron to run this
script on specified hour it works for a while and then [Errno 32]
Broken pipe error occures (always).
The strangest thing is that if I
On Tue, 4 Aug 2009 10:52:20 +0200, Bart Smeets bartsmeet...@gmail.com
wrote:
I could ofcourse use cxfreeze's binary package. But bbfreeze is not
available as a binary. I would love to get easy_install to work. But I
have
no idea what's going wrong here.
What is going on is that setuptools does
On Tue, 04 Aug 2009 10:03:53 +0200, Bruno Desthuilliers wrote:
Disadvantages: your code is filled with line noise. It's an arbitrary
choice between @@ meaning instance attribute and @@ meaning class
attribute -- there's no logical reason for choosing one over the other,
so you have to
Hi all,
A few days ago I've created a repository of turtle graphics
demos/applications, that use Python's new turtle module.
You can find it at at google code:
http://python-turtle-demo.googlecode.com
There are two versions of the collection: one for use with Python 3.1
and one for use with
Steven D'Aprano a écrit :
On Tue, 04 Aug 2009 10:03:53 +0200, Bruno Desthuilliers wrote:
Disadvantages: your code is filled with line noise. It's an arbitrary
choice between @@ meaning instance attribute and @@ meaning class
attribute -- there's no logical reason for choosing one over the
On 3 Aug 2009, at 18:57 , John Nagle wrote:
Dave Angel wrote:
sturlamolden wrote:
On 20 Jul, 18:27, Phillip B Oldham phillip.old...@gmail.com wrote:
Tuples are used for passing arguments to and from a function. Common
use of tuples include multiple return values and optional arguments
(*args).
On 4 Aug 2009, at 11:28 , Steven D'Aprano wrote:
So I'd ask, does Smalltalk's message passing model match the way human
beings think?
Yes.
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 4, 1:19 am, John Nagle na...@animats.com wrote:
This works, but it seems too cute:
pyver = map(int,sys.version.split()[0].split('.'))
print(pyver)
[2, 6, 1]
Is it guaranteed that the Python version string will be in a form
suitable for that? In other words, does sys.version
On Aug 4, 11:48 am, Diez B. Roggisch de...@nospam.web.de wrote:
koranthala schrieb:
Hi,
I am creating a very minimal application (a networking app).
I have written the application using Twisted.
Now, I need to put a GUI wrapper on the application.
The application needs a
John Nagle wrote:
A more useful question is whether the standard libraries are being
run through any of the commercial static checkers for possible buffer
overflows.
The CPython interpreter is constantly checked with
http://www.coverity.com/. Although Python is used for critical stuff at
cool-RR schrieb:
Hello,
I wanted to announce that I have just released my little side project,
PythonTurtle.
Here is its website:
http://pythonturtle.com
Its goal is to be the lowest-threshold way to learn (or teach) Python.
You can read more about it and download it on the website.
Ram.
Hi
* Jizzai (Sun, 02 Aug 2009 13:50:14 GMT)
Is a _pure_ python program buffer overflow proof?
You cannot create your own buffer overflow in Python as you can in C
and C++ but your code could still be vulnerable if the underlying Python
construct is written in C. See [1] for instance.
Thorsten
Hello All
I am quite new to Python and I would appreciate your advice on the
following issue.
I am trying to fetch an XML file from a remote server using an HTTPS
query.
When testing the HTTPS query from the browser after I entered the URL I
got a pop-up box asking me if I want to save a
Hi
I want to use the picalo module in to VB.NET so I have tried to create
the COM object of picalo module but I am unable to create.
Anyone can help me out to create the picalo com object.
Thanks,
Sibtey
This e-mail (and any attachments), is confidential and may be privileged.
On Tue, Aug 4, 2009 at 8:30 PM, Yinon Ehrlich yinon...@gmail.com wrote:
Hi,
Easy way to test for Python version:
if sys.hexversion = 0x2060100:
pass
Great suggestion. I just tested it on my newly installed Python 3.1 (as of
3.1r31)
import sys
%X % sys.hexversion
'30100F0'
That's genius
On Tue, Aug 4, 2009 at 9:34 PM, Xavier Ho cont...@xavierho.com wrote:
... and '00F0' is r31!
Actually, 00F0 is 576 in decimal. Maybe it's the subversion?
Anyhow, it's still good!
--
http://mail.python.org/mailman/listinfo/python-list
cool-RR schrieb:
On Aug 4, 7:12 am, John Posner jjpos...@optimum.net wrote:
... I would also venture to say a key-map
...
If you're asking WHY I put it in a wxPython application, the answer is
pretty much what r said: To make it like any other over the
counter Windows application, making
On Tue, 04 Aug 2009 07:12:30 GMT, Jarkko Torppa
tor...@staff.megabaud.fi wrote:
On 2009-08-04, Fred Atkinson fatkin...@mishmash.com wrote:
On Mon, 3 Aug 2009 20:00:08 -0700 (PDT), Carl Banks
pavlovevide...@gmail.com wrote:
If you don't get why this is a MySQL question and not a Python
question,
On Aug 4, 3:24 pm, News123 news...@free.fr wrote:
Hi,
cocobear wrote:
Map = Image.new(RGB, (x,y))
Map.paste(im, box)
Map.paste(im1,box)
Map = Map.convert(L, optimize=True, palette=Image.ADAPTIVE)
But if thetwopngpicis too big , or if I have tomergemorepic
together,
On Tuesday 04 August 2009 06:09:05 koranthala wrote:
Hi,
I am creating a very minimal application (a networking app).
I have written the application using Twisted.
Now, I need to put a GUI wrapper on the application.
The application needs a login screen and also it needs to be
Hi Ram,
that's indeed a nice starting point for kids to doing turtle graphics,
although currently it seems to implement only a very small subset of
Python's turtle module's capabilities, even less than those of the old
turtle module (that shipped with Python upto 2.5).
I agree - an undo
Dear all,
While installing PyGreSQl module in my machine I got the error as pg_config
command not found.
I am not a super user.
how can I install this pg_config tool.
--
Regards,
Thangappan.M
--
http://mail.python.org/mailman/listinfo/python-list
Marcus Wanner wrote:
On 8/3/2009 3:45 AM, Diez B. Roggisch wrote:
But you can cast the resulting pointer to an array of larger size, and
there you are.
Ah, that makes sense. I had forgotten about ctypes.cast().
You *can* shoot yourself in the foot with Python, you just have
to aim much
On Tue, 04 Aug 2009 00:42:25 -0400
David Lyon david.l...@preisshare.net wrote:
Then I tried to download the module.But I am not able to download it.
Did none of the links here work?
http://www.pygresql.org/readme.html#where-to-get
The RPM seems to be missing. I am currently trying to
cool-RR schrieb:
Hi Ram,
that's indeed a nice starting point for kids to doing turtle graphics,
although currently it seems to implement only a very small subset of
Python's turtle module's capabilities, even less than those of the old
turtle module (that shipped with Python upto 2.5).
...
A
On Tue, Aug 4, 2009 at 8:48 AM, D'Arcy J.M. Cainda...@druid.net wrote:
On Tue, 04 Aug 2009 00:42:25 -0400
David Lyon david.l...@preisshare.net wrote:
Then I tried to download the module.But I am not able to download it.
Did none of the links here work?
On Aug 3, 8:42 pm, Gabriel Genellina gagsl-...@yahoo.com.ar wrote:
En Mon, 03 Aug 2009 11:04:07 -0300, IronyOfLife mydevfor...@gmail.com
escribió:
I have installed python 2.6.2 in windows xp professional machine. I
have set the following environment variables -- PYTHONPATH. It points
to
Dennis Lee Bieber wrote:
On Mon, 03 Aug 2009 23:00:13 -0400, Dave Angel da...@ieee.org
declaimed the following in gmane.comp.python.general:
To throw away the result of an expression in Python is even easier.
Just don't use it.
func1() and func2()
is a valid expression whose result
On Aug 4, 2009, at 8:25 AM, Thangappan.M wrote:
Dear all,
While installing PyGreSQl module in my machine I got the error as
pg_config
command not found.
I am not a super user.
how can I install this pg_config tool.
Thangappan,
pg_config is part of PostgreSQL. It reports various pieces
Thorsten Kampe:
You cannot create your own buffer overflow in Python as you can in C
and C++ but your code could still be vulnerable if the underlying Python
construct is written in C.
Python's standard library does now include unsafe constructs.
import ctypes
x = '1234'
# Munging byte
Blah, forgot to include the list. When is python-list going to get Reply-To?
\t
On Tue, Aug 4, 2009 at 8:38 AM, Tycho Andersenty...@tycho.ws wrote:
Hi Ido,
On Tue, Aug 4, 2009 at 6:25 AM, Ido Levyi...@il.ibm.com wrote:
[snip]
I got the following result in both cases:
?xml
On Tue, 4 Aug 2009 09:03:55 -0400
Benjamin Kaplan benjamin.kap...@case.edu wrote:
Doesn't matter here. Debians use DEBs (DEBian packages), not RPMs (for
the Red Hat Package Manager). Either way, the OP can't install system
level packages. That's what the comment about not being a super user
On Tue, 4 Aug 2009 09:03:55 -0400
Benjamin Kaplan benjamin.kap...@case.edu wrote:
Doesn't matter here. Debians use DEBs (DEBian packages), not RPMs (for
the Red Hat Package Manager). Either way, the OP can't install system
level packages. That's what the comment about not being a super user
On Tue, Aug 4, 2009 at 9:55 AM, D'Arcy J.M. Cainda...@druid.net wrote:
On Tue, 4 Aug 2009 09:03:55 -0400
Benjamin Kaplan benjamin.kap...@case.edu wrote:
Doesn't matter here. Debians use DEBs (DEBian packages), not RPMs (for
the Red Hat Package Manager). Either way, the OP can't install system
On Tue, 4 Aug 2009 10:02:23 -0400
Benjamin Kaplan benjamin.kap...@case.edu wrote:
By the way, you don't have to be super user to install PyGreSQL. You
just need SU if you want to install it system wide. PyGreSQL doesn't
require any special privileges to run.
Right, but the packages
Xavier Ho wrote:
On Tue, Aug 4, 2009 at 9:34 PM, Xavier Ho cont...@xavierho.com
mailto:cont...@xavierho.com wrote:
...
and '00F0' is r31!
Actually, 00F0 is 576 in decimal. Maybe it's the subversion?
0x00F0 is 240.
Anyhow, it's still good!
--
On Wed, Aug 5, 2009 at 12:17 AM, MRAB pyt...@mrabarnett.plus.com wrote:
0x00F0 is 240.
... Right. I wonder where my brain is. *searches pocket*
So, what am I doing wrong here?
int(str(0x00F0), 16)
576
Cheers,
-Xav
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 5 Aug 2009 00:39:56 +1000
Xavier Ho cont...@xavierho.com wrote:
So, what am I doing wrong here?
int(str(0x00F0), 16)
Look at the output of str(0x00F0) for a clue.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/|
Certainly John- although I have not embedded the turtle module at all,
I just wrote my own.
OK, then why the statements from turtle import * in the modules
turtleprocess.py and turtlewidget.py?
Tx,
John
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Aug 5, 2009 at 12:44 AM, D'Arcy J.M. Cain da...@druid.net wrote:
On Wed, 5 Aug 2009 00:39:56 +1000
Xavier Ho cont...@xavierho.com wrote:
So, what am I doing wrong here?
int(str(0x00F0), 16)
Look at the output of str(0x00F0) for a clue.
... Wow. I *am* slow tonight. Thanks.
On Aug 3, 3:29 pm, Sparky samnspa...@gmail.com wrote:
Hello! I am using cTypes on Windows to interface with a dll and I keep
getting an error when I execute this method:
def eDigitalIn(self, channel, idNum = None, demo = 0, readD=0):
Name: U12.eAnalogIn(channel, idNum =
On Aug 4, 2009, at 11:25 AM, Sparky wrote:
On Aug 3, 3:29 pm, Sparky samnspa...@gmail.com wrote:
Hello! I am using cTypes on Windows to interface with a dll and I
keep
getting an error when I execute this method:
def eDigitalIn(self, channel, idNum = None, demo = 0, readD=0):
On Tue, Aug 4, 2009 at 5:45 PM, John Posner jjpos...@optimum.net wrote:
Certainly John- although I have not embedded the turtle module at all,
I just wrote my own.
OK, then why the statements from turtle import * in the modules
turtleprocess.py and turtlewidget.py?
Tx,
John
It's from
In pan.2009.08.04.04.06...@remove.this.cybersource.com.au Steven D'Aprano
ste...@remove.this.cybersource.com.au writes:
On Mon, 03 Aug 2009 19:59:23 +, kj wrote:
I want to write a decorator that, among other things, returns a function
that has one additional keyword parameter, say
cert_extension_2 = X509.new_extension(keyUsage, 10100)
Maybe your OpenSSL is too old. keyUsage needs to be defined in OpenSSL
obj_dat.h file for this to work.
I am using OpenSSL version 0.9.8k-fips which is the latest version.
I replaced:
cert_extension_2 =
Hello
I am trying to add the extensions subjectKeyIdentifier and
authorityKeyIdentifier to a x509v3 certificate.
Regarding rfc5280, section 4.2.1.2 the key identifier is composed of the
160-bit SHA-1 hash of the BIT STRING subjectPublicKey
http://tools.ietf.org/html/rfc5280#section-4.2.1.2
I
How do I give the option to link to the ez_setup.py?
2009/8/4 David Lyon david.l...@preisshare.net
On Tue, 4 Aug 2009 10:52:20 +0200, Bart Smeets bartsmeet...@gmail.com
wrote:
I could ofcourse use cxfreeze's binary package. But bbfreeze is not
available as a binary. I would love to get
On Aug 4, 9:47 am, Philip Semanchuk phi...@semanchuk.com wrote:
On Aug 4, 2009, at 11:25 AM, Sparky wrote:
On Aug 3, 3:29 pm, Sparky samnspa...@gmail.com wrote:
Hello! I am using cTypes on Windows to interface with a dll and I
keep
getting an error when I execute this method:
Hello everyone,
i am happy to announce pylib/py.test 1.0.0, a MIT-licensed
library geared towards advanced testing and elastic distributed
programming with Python. It features the mature cross-project
py.test automated testing tool with many new features, aiming to:
* allow writing
Following code works, although I'm not sure that it's exactly what you
want:
import abc
class MetaExample(abc.ABCMeta):
def __new__(mcs, name, bases, ns):
ns['cls_meth'] = mcs.cls_meth
if not 'cls_abc' in ns:
ns['cls_abc'] = mcs.cls_abc
Hi everyone,
I've been trying to figure out a simple algorithm on how to combine a
list of parts that have 1D locations that overlap into a non-
overlapping list. For example, here would be my input:
part name location
a 5-9
b 7-10
c 3-6
d
On Aug 4, 2:15 pm, Jay Bird jay.bird0...@gmail.com wrote:
Hi everyone,
I've been trying to figure out a simple algorithm on how to combine a
list of parts that have 1D locations that overlap into a non-
overlapping list. For example, here would be my input:
part name location
a
On Aug 4, 11:31 am, Marcus Wanner marc...@cox.net wrote:
On Aug 4, 2:15 pm, Jay Bird jay.bird0...@gmail.com wrote:
Hi everyone,
I've been trying to figure out a simple algorithm on how to combine a
list of parts that have 1D locations that overlap into a non-
overlapping list. For
Hello,
I am under gNewSense, i am a newbbie on Python, i look for how change
the color terminal when python run.
at the step all is in black and white.
Is it possible to have the python color in the terminal ?
Thanks for your help.
aurelien
--
On 8/4/2009 2:46 PM, Ann wrote:
On Aug 4, 11:31 am, Marcus Wanner marc...@cox.net wrote:
On Aug 4, 2:15 pm, Jay Bird jay.bird0...@gmail.com wrote:
Hi everyone,
I've been trying to figure out a simple algorithm on how to combine a
list of parts that have 1D locations that overlap into a non-
On 8/4/2009 2:53 PM, aurelien wrote:
Hello,
I am under gNewSense, i am a newbbie on Python, i look for how change
the color terminal when python run.
at the step all is in black and white.
Is it possible to have the python color in the terminal ?
Thanks for your help.
aurelien
You might try
Jay Bird wrote:
Hi everyone,
I've been trying to figure out a simple algorithm on how to combine a
list of parts that have 1D locations that overlap into a non-
overlapping list. For example, here would be my input:
part name location
a 5-9
b 7-10
c
I am a Python newbie, tasked with automating (researching) building
Windows drivers using the WDK build environment. I've been looking
into Python for this (instead of writing a bunch of batch files).
What I would like to do, is to open a cmd window, and start a Python
script. This script would
Hello,
I am under gNewSense, i am a newbbie on Python, i look for how change
the color terminal when python run.
at the step all is in black and white.
Is it possible to have the python color in the terminal ?
Thanks for your help
aurelien
--
In pan.2009.08.04.03.23...@remove.this.cybersource.com.au Steven D'Aprano
ste...@remove.this.cybersource.com.au writes:
On Mon, 03 Aug 2009 21:07:32 +, kj wrote:
I use the term no-clobber dict to refer to a dictionary D with the
especial property that if K is in D, then
D[K] = V
In mailman.4183.1249336823.8015.python-l...@python.org Chris Rebert
c...@rebertia.com writes:
On Mon, Aug 3, 2009 at 2:47 PM, rrt8...@gmail.com wrote:
On Aug 3, 4:07=C2=A0pm, kj no.em...@please.post wrote:
I use the term no-clobber dict to refer to a dictionary D with
the especial property
On 04/08/09 12:20, aurelien wrote:
Hello,
I am under gNewSense, i am a newbbie on Python, i look for how change
the color terminal when python run.
at the step all is in black and white.
Is it possible to have the python color in the terminal ?
Thanks for your help
aurelien
--
On Tue, Aug 4, 2009 at 12:30 PM, kjno.em...@please.post wrote:
In mailman.4183.1249336823.8015.python-l...@python.org Chris Rebert
c...@rebertia.com writes:
On Mon, Aug 3, 2009 at 2:47 PM, rrt8...@gmail.com wrote:
On Aug 3, 4:07=C2=A0pm, kj no.em...@please.post wrote:
I use the term
Jay Bird schrieb:
Hi everyone,
I've been trying to figure out a simple algorithm on how to combine a
list of parts that have 1D locations that overlap into a non-
overlapping list. For example, here would be my input:
part name location
a 5-9
b 7-10
c
In pan.2009.08.04.03.23...@remove.this.cybersource.com.au Steven D'Aprano
ste...@remove.this.cybersource.com.au writes:
class ConstantNamespace(dict):
snip
I also have a series of unit tests for it if you're interested in them.
Actually, come to think of it, I think I'll take you up on this.
On Aug 4, 7:15 pm, Jay Bird jay.bird0...@gmail.com wrote:
Hi everyone,
I've been trying to figure out a simple algorithm on how to combine a
list of parts that have 1D locations that overlap into a non-
overlapping list. For example, here would be my input:
part name location
a
On Aug 3, 11:00 pm, Dave Angel da...@ieee.org wrote:
Simon wrote:
On Aug 2, 5:51 am, Dave Angel da...@ieee.org wrote:
snip
I don't understand your comparison to Foxpro. read on.
As your code was last posted, you don't need a return value from
init_Exec() Every function that doesn't
0 or None is None
True
None or 0 is None
False
None or 0 is 0
True
Yes, this is explained in the docs:
The expression x or y first evaluates x; if x is true, its value is
returned; otherwise, y is evaluated and the resulting value is
returned.
Another one (also explainable):
0 or None ==
[kj]
The implication here is that .update() does not in turn use
.__setitem__(), which I find a bit surprising.
It's never wise to make assumptions about this sort of thing.
Every method in a class or type is allowed to directly access
or modify its private, internal data. The implementation
On Aug 4, 1:53 pm, aurelien aurele@gmail.com wrote:
Hello,
I am under gNewSense, i am a newbbie on Python, i look for how change
the color terminal when python run.
at the step all is in black and white.
Is it possible to have the python color in the terminal ?
Depends on whether your
# Here is something different:
(0 or None) == (None or 0)
False
What is the actual problem? You quoted the docs, it seems very clear.
(0 or None) would return None.
(None or 0) would return 0.
None is not equal to 0, of course.
--S
--
04-08-2009 o 22:11:18 1x7y2z9 1x7y...@gmail.com wrote:
Another one (also explainable):
0 or None == None or 0
True
# Above is same as (operator precedence):
0 or (None == None) or 0
True
# Here is something different:
(0 or None) == (None or 0)
False
I don't see any problem here.
The
On Tue, Aug 4, 2009 at 12:41 AM, Sam Tregars...@tregar.com wrote:
Hello all. I'm considering building a module to provide a
cross-payment-gatewat API for making online payments. In the Perl world we
have a module like this called Business::OnlinePayment
1 - 100 of 189 matches
Mail list logo