QOTW: I stopped paying much attention to this thread a while ago, but
you've got to admire the persistence of somebody who soldiers on even
though Aahz, Fredrik Lund, and Steve Holden are all on the other side of
the argument... - Grant Edwards
I'm starting a Unix tool with subprocess.Popen() from a python script
and I want the child to be killed when the parent (my script) ends
for whatever reason *including* if it gets killed by SIGKILL.
A Linux-specific solution is prctl(2).
I've tried this in a test C program... exactly what I
Steve Holden [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Mark Tolonen wrote:
len [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[...]
You might want to check out the pyparsing library.
And you might want to trim your messages to avoid quoting irrelevant
stuff.
Дамјан Георгиевски wrote:
I'm starting a Unix tool with subprocess.Popen() from a python script
and I want the child to be killed when the parent (my script) ends
for whatever reason *including* if it gets killed by SIGKILL.
A Linux-specific solution is prctl(2).
I've tried this in a
Mark Tolonen wrote:
Point taken...or I could top post ;^)
A: A Rolls seats six.
Q: What's the saddest thing about seeing a Rolls with five top-posters in it
going over a cliff?
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 17, 12:25 am, W. eWatson [EMAIL PROTECTED] wrote:
Is there some repository that says something like for Python 2.5 it works
with:
Win OSes: W2K, XP, Vista
numpy vers y, matplotlib vers x. scipy z, etc.
http://www.catb.org/~esr/faqs/smart-questions.html#writewell
--
On Nov 16, 8:56 pm, Charlie [EMAIL PROTECTED] wrote:
But when I try to import test in python, it complains:
import _test
ImportError: ./_test.so undefined symbol: _Z9binary_opiiPFiiiE
The above is a mangled name so you've got some C vs C++ problems I'd
say.
You could try
Terry Reedy [EMAIL PROTECTED] wrote:
I think the important point is this. In Python, objects are
self-identifying bundles of information, which is to say, the bundle
includes knowledge of the which universe of possible bundles the object
comes from, where the universe includes a set of
On Sun, Nov 16, 2008 at 9:25 PM, W. eWatson [EMAIL PROTECTED] wrote:
Is there some repository that says something like for Python 2.5 it works
with:
Win OSes: W2K, XP, Vista
For the supported OSes, check the links for the versions on
http://python.org/download/ and see whether downloads are
On Nov 17, 7:11 pm, Lawrence D'Oliveiro [EMAIL PROTECTED]
central.gen.new_zealand wrote:
Mark Tolonen wrote:
Point taken...or I could top post ;^)
A: A Rolls seats six.
Q: What's the saddest thing about seeing a Rolls with five top-posters in it
going over a cliff?
+1 but you forgot the
W. eWatson [EMAIL PROTECTED] writes:
Is there some repository that says something like for Python 2.5 it works
with:
Win OSes: W2K, XP, Vista
numpy vers y, matplotlib vers x. scipy z, etc.
I don't understand the question.
Do you have some question about the operating system requirements
Hi
does one know a project / tool which can be embedded (or interact with)
into a webpage and does read and save svg files?
cheers
Reimar
--
http://mail.python.org/mailman/listinfo/python-list
On 16 Nov, 23:23, Tim Roberts [EMAIL PROTECTED] wrote:
Massi [EMAIL PROTECTED] wrote:
Hi everyone, I'm searching for something which allows me to write
scripts which handle midi files. I'm totally a newbie in audio
manipulation, therefore any suggestion or link related to this field
is
len wrote:
Files are fixed format no field delimiters, fields are position and
length records are terminated by newline.
Assuming no COMPUTATIONAL fields, it should be easy enough to split each line
up into fixed-length pieces, e.g. assuming a simple example
01 Sample-Record.
02
On Mon, Nov 17, 2008 at 2:43 PM, Massi [EMAIL PROTECTED] wrote:
On 16 Nov, 23:23, Tim Roberts [EMAIL PROTECTED] wrote:
Massi [EMAIL PROTECTED] wrote:
Hi everyone, I'm searching for something which allows me to write
scripts which handle midi files. I'm totally a newbie in audio
Hello list,
since I've read so much about Python 3 and ran into some trouble which
was supposed to be fixed with 3k, I yesterday came around to compile it
and try it out.
To sum it up: It's awesome. All the promised things like Unicode support
just work, all significant changes in the lanugage
Hi,
Is it possible to remove one of two instances of Python installed on
the same machine? I have two Python-2.5.2, one in /usr/local/bin/
python2.5 and the other one in /usr/bin/python2.5. The latter has the
modules I use (kinterbasdb, psycopg, mod_python,...) and the first
don't.
I have Apache
Paul Moore [EMAIL PROTECTED] writes:
OK, but that allocates the initial buffer, which I will then throw
away.
Why don't you use a constructor argument that allows specifying the
initial buffer size?
In practice, this isn't a significant issue (the overhead of one
allocation and one
Hi all,
I have a problem and I'm not sure whether sort() can help me.
I understand that if I have a list; say L = ['b', 'c', 'a']
I can use L.sort() and I will then have; L = ['a', 'b', 'c']
But my problem is this. I have a list, that contains a number of
embeded lists;
e.g. L2 = [['something',
Hello all,
I am writing a program to convert indic true type font to unicode. For
which i need to know how to read the any file i.e Text, Doc, Excel file in
python and identify the font used in which that file is written. So that
using Map file can convert the file in unicode.
Ginovation.
--
On Mon, Nov 17, 2008 at 1:56 AM, asc [EMAIL PROTECTED] wrote:
Hi all,
I have a problem and I'm not sure whether sort() can help me.
I understand that if I have a list; say L = ['b', 'c', 'a']
I can use L.sort() and I will then have; L = ['a', 'b', 'c']
But my problem is this. I have a list,
On Nov 17, 8:56 pm, asc [EMAIL PROTECTED] wrote:
But my problem is this. I have a list, that contains a number of
embeded lists;
e.g. L2 = [['something', 'bb'], ['somethingElse', 'cc'],
['anotherThing', 'aa']]
Now I want to sort this list by the second item of each sublist. So
the outcome I
On Thu, 13 Nov 2008 12:49:02 -0800 (PST), dpapathanasiou [EMAIL PROTECTED]
wrote:
...
but what's wrong with you original code?
I come from a functional programming school of thought, where you
avoid local variable declarations if at all possible.
I'm not sure that's universal. Using
Hi - I have some code which works under linux. It starts a remote python
process using subprocess and communicates to it via a pipe created by
os.pipe. As far as I understand, child processes should inherit file
descriptors from the parent if close_fds=False on the suprocess.Popen
command line.
On 17 Nov, 09:40, Hrvoje Niksic [EMAIL PROTECTED] wrote:
Paul Moore [EMAIL PROTECTED] writes:
OK, but that allocates the initial buffer, which I will then
throw away.
Why don't you use a constructor argument that allows specifying
the initial buffer size?
That's an option, but I don't
Chris Rebert:
You use the `key` argument to .sort():
L2.sort(key=lambda item: item[1])
I like the lambda because it's a very readable solution that doesn't
require the std lib and it doesn't force the programmer (and the
person that reads the code) to learn yet another thing/function.
But I
Jeremy Sanders wrote:
As far as I understand, child processes should inherit file
descriptors from the parent if close_fds=False on the suprocess.Popen
command line.
This code doesn't work under Window, but gives bad file descriptor when
trying to read from the pipe in the child process.
Lawrence D'Oliveiro wrote:
http://docs.python.org/library/subprocess.html:
If close_fds is true, all file descriptors except 0, 1 and 2 will be
closed before the child process is executed. (Unix only). Or, on
Windows, if close_fds is true then no handles will be inherited by the
[EMAIL PROTECTED] wrote:
Hi,
Is it possible to remove one of two instances of Python installed on
the same machine? I have two Python-2.5.2, one in /usr/local/bin/
python2.5 and the other one in /usr/bin/python2.5. The latter has the
modules I use (kinterbasdb, psycopg, mod_python,...) and
Massi wrote:
On 16 Nov, 23:23, Tim Roberts [EMAIL PROTECTED] wrote:
Massi [EMAIL PROTECTED] wrote:
Hi everyone, I'm searching for something which allows me to write
scripts which handle midi files. I'm totally a newbie in audio
manipulation, therefore any suggestion or link related to this
Ken Starks wrote:
Massi wrote:
On 16 Nov, 23:23, Tim Roberts [EMAIL PROTECTED] wrote:
Massi [EMAIL PROTECTED] wrote:
Hi everyone, I'm searching for something which allows me to write
scripts which handle midi files. I'm totally a newbie in audio
manipulation, therefore any suggestion or link
Chris Rebert wrote:
On Sun, Nov 16, 2008 at 9:25 PM, W. eWatson [EMAIL PROTECTED] wrote:
Is there some repository that says something like for Python 2.5 it works
with:
Win OSes: W2K, XP, Vista
For the supported OSes, check the links for the versions on
http://python.org/download/ and see
Ben Finney wrote:
W. eWatson [EMAIL PROTECTED] writes:
Is there some repository that says something like for Python 2.5 it works with:
Win OSes: W2K, XP, Vista
numpy vers y, matplotlib vers x. scipy z, etc.
I don't understand the question.
Do you have some question about the operating
Hi there,
I am a newcomer to Pyhton coming from Java working on a relatively
large Pyhton project with several packages and modules. To improve
exception handling I would like to introduce some user-defined
exceptions to distinguish between exceptions raised in self-written
code as compared to
On Thu, 13 Nov 2008 12:19:53 -0500, Jean-Paul Calderone [EMAIL PROTECTED]
wrote:
On Thu, 13 Nov 2008 20:16:58 +0200, Mirat Can Bayrak [EMAIL PROTECTED]
wrote:
On Thu, 13 Nov 2008 12:14:10 -0500
Jean-Paul Calderone [EMAIL PROTECTED] wrote:
Why don't you want to use one of these libraries for
Files are fixed format no field delimiters, fields are position and
length records are terminated by newline.
Assuming no COMPUTATIONAL fields, it should be easy enough to split each line
up into fixed-length pieces, e.g. assuming a simple example
01 Sample-Record.
02 Field-1 pic
On Mon, Nov 17, 2008 at 7:30 AM, Johannes Bauer [EMAIL PROTECTED] wrote:
Hello list,
since I've read so much about Python 3 and ran into some trouble which
was supposed to be fixed with 3k, I yesterday came around to compile it
and try it out.
To sum it up: It's awesome. All the promised
Tino Wildenhain wrote:
W. eWatson wrote:
I'm trying to figure out why an application that both myself and a
colleague use gives errors when he uses it under W98. I'm using XP.
Py 2.5 is installed on each of our machines. His first problem came with
...
Clearly things have gone astray. Is
George Sakkis wrote:
On Nov 17, 12:25 am, W. eWatson [EMAIL PROTECTED] wrote:
Is there some repository that says something like for Python 2.5 it works with:
Win OSes: W2K, XP, Vista
numpy vers y, matplotlib vers x. scipy z, etc.
http://www.catb.org/~esr/faqs/smart-questions.html#writewell
On Mon, Nov 17, 2008 at 3:47 AM, Slaunger [EMAIL PROTECTED] wrote:
Hi there,
I am a newcomer to Pyhton coming from Java working on a relatively
large Pyhton project with several packages and modules. To improve
exception handling I would like to introduce some user-defined
exceptions to
Let me add one more observation about your remarks.
Yesterday I had to rent a roto-tiller to put in a new section of lawn. As I
was about to get started my neighbor dropped over and we began to chat about
what I was doing. Finally, I said, I think it's time for me start the tiller
up. He
On Mon, 17 Nov 2008 10:10:16 +, Jorgen Grahn wrote:
On Thu, 13 Nov 2008 12:49:02 -0800 (PST), dpapathanasiou
[EMAIL PROTECTED] wrote: ...
but what's wrong with you original code?
I come from a functional programming school of thought, where you avoid
local variable declarations if at
On Sun, 16 Nov 2008 21:23:59 -0500, Chris Spencer wrote:
After I compile my program with py2exe 0.6.9 with Python 2.6, I'm
still getting the Application Did Not Initialize Properly error dialog
whenever I run my code. What am I doing wrong?
I have exactly the same problem.
I have tried just
Jeremy Sanders wrote:
Hi - I have some code which works under linux. It starts a remote python
process using subprocess and communicates to it via a pipe created by
os.pipe. As far as I understand, child processes should inherit file
descriptors from the parent if close_fds=False on the
On 17 Nov., 13:05, Chris Rebert [EMAIL PROTECTED] wrote:
On Mon, Nov 17, 2008 at 3:47 AM, Slaunger [EMAIL PROTECTED] wrote:
.
Here is my stub-implemented idea on how to do it so far, which is
inspired by how I would have done it in Java (but which may not be
very Pythonic??):
On Nov 16, 12:53 pm, len [EMAIL PROTECTED] wrote:
On Nov 16, 12:40 pm, Mark Tolonen [EMAIL PROTECTED] wrote:
You might want to check out the pyparsing library.
-Mark
Thanks Mark I will check in out right now.
Len
Len -
Here is a rough pyparsing starter for your problem:
from
ganesh gajre wrote:
Hello all,
I am writing a program to convert indic true type font to unicode. For
which i need to know how to read the any file i.e Text, Doc, Excel file
in python and identify the font used in which that file is written. So
that using Map file can convert the file in
Good morning, thanks for the answer Gabriel. THE WEIRD MESSAGE IS NOT
APPEARING ANYMORE! I DON'T KNOW WHAT HAPPENED, my PC seems to be doing
extra bad things, I better back up my info...
For Tim Roberts who wrote:
This looks like a problem with mixed versions. Are you saying that you
built
Jeremiah Dodds wrote:
Eric, I don't have a good readily available solution to what you're
trying to do, but it seems to me that it would be worth your time to get
comfortable with elisp, and how it's used in emacs. The emacs
documentation is pretty good, even if you don't know lisp, and I
The subject line says it all. Is there a way to install wxPython on a
Windows machine without admin privs? I love the way python doesn't
need admin to install locally, and I'd like to try wxPython w/o having
to get our help desk involved.
Do I have to compile it from source with Cygwin?
Thanks.
timw.google wrote:
The subject line says it all. Is there a way to install wxPython on a
Windows machine without admin privs? I love the way python doesn't
need admin to install locally, and I'd like to try wxPython w/o having
to get our help desk involved.
Do I have to compile it from
10 minutes later after I said thanks... the message came out again...
this is the complete lines:
PythonWin 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit
(Intel)] on win32.
Portions Copyright 1994-2006 Mark Hammond - see 'Help/About PythonWin'
for further copyright information.
Hi.
I'm relatively new to python so please be gentle :)
I'm trying to write a £ symbol to an MS SQL server using pymsssql . This
works but when selecting the data back (e.g. using SQL management
studio) the £ symbol is replaced with £ (latin capital letter A with
circumflex).
I can reproduce
Python 2.5 doesn't support/load .dll anymore. Is PythonWin 2.5 the
same case?
If a .DLL file is not loading, should I change its extension for it to
work?
What extensions should be now, .pyo, .pyd, etc? which one?
What is the meaning of each extension?
Thanks,
Angelica E-G.
--
sorry:
Traceback (most recent call last):
File texteditor.py, line 460, in module
class TextEditorMain(TextEditor, GuiMakerWindowMenu):
NameError: name 'GuiMakerWindowMenu' is not defined
On Nov 16, 2008, at 10:14 PM, Gabriel Genellina wrote:
En Mon, 17 Nov 2008 03:32:35 -0200, ryan payton
Darren Mansell wrote:
Hi.
I'm relatively new to python so please be gentle :)
I'm trying to write a £ symbol to an MS SQL server using pymsssql . This
works but when selecting the data back (e.g. using SQL management
studio) the £ symbol is replaced with £ (latin capital letter A with
On Nov 17, 12:20 pm, Hendrik van Rooyen [EMAIL PROTECTED]
wrote:
Steve Holden [EMAIL PROTECTED] wrote:
There's also the question, if you say that an object is different from
its value, of determining what the value's value is ...
This one is easy - its obviously the value that is returned
On Mon, 2008-11-17 at 14:52 +, Darren Mansell wrote:
Hi.
I'm relatively new to python so please be gentle :)
I'm trying to write a £ symbol to an MS SQL server using pymsssql . This
works but when selecting the data back (e.g. using SQL management
studio) the £ symbol is replaced
On Nov 17, 3:24 am, Lawrence D'Oliveiro [EMAIL PROTECTED]
central.gen.new_zealand wrote:
len wrote:
Files are fixed format no field delimiters, fields are position and
length records are terminated by newline.
Assuming no COMPUTATIONAL fields, it should be easy enough to split each line
Hi everyone, I'm trying to install Python2.6 on my mac (Leopard
10.5.5), but I'm encountering some problems. To install the package I
followed the instructions I found at this link:
http://wiki.python.org/moin/MacPython/Leopard
If I open wing, it turns out that the installed version is actually
On Mon, 2008-11-17 at 15:24 +, Tim Golden wrote:
Darren Mansell wrote:
Hi.
I'm relatively new to python so please be gentle :)
I'm trying to write a £ symbol to an MS SQL server using pymsssql . This
works but when selecting the data back (e.g. using SQL management
studio)
On Nov 17, 3:24 am, Lawrence D'Oliveiro [EMAIL PROTECTED]
central.gen.new_zealand wrote:
len wrote:
Files are fixed format no field delimiters, fields are position and
length records are terminated by newline.
Assuming no COMPUTATIONAL fields, it should be easy enough to split each line
On Nov 17, 5:52 am, Tim Chase [EMAIL PROTECTED] wrote:
Files are fixed format no field delimiters, fields are position and
length records are terminated by newline.
Assuming no COMPUTATIONAL fields, it should be easy enough to split each
line up into fixed-length pieces, e.g. assuming a
On Nov 7, 10:38 am, Shao [EMAIL PROTECTED] wrote:
Dear All,
I am looking for a nitty-gritty Python Ajax script to fire off a
number of processing programmes, periodically checking their
operations, sending messages back to an HTML div form by sending back
the links of generated data files,
On Nov 16, 9:57 pm, Lawrence D'Oliveiro [EMAIL PROTECTED]
central.gen.new_zealand wrote:
len wrote:
if fieldline.count('COMP.') 0:
I take it you're only handling a particular subset of COBOL constructs: thus,
COMP is never COMPUTATIONAL or USAGE IS COMPUTATIONAL, and it always
occurs
On Nov 17, 2008, at 10:53 AM, Massi wrote:
Hi everyone, I'm trying to install Python2.6 on my mac (Leopard
10.5.5), but I'm encountering some problems. To install the package I
followed the instructions I found at this link:
http://wiki.python.org/moin/MacPython/Leopard
If I open wing, it
Thanks Paul
I will be going over your code today. I started looking at Pyparsing
last night
and it just got to late and my brain started to fog over. I would
really like
to thank you for taking the time to provide me with the code sample
I'm sure it
will really help. Again thank you very much.
On Wed, 05 Nov 2008 08:35:23 +0200, 3000 billg [EMAIL PROTECTED]
Just from my preferences, I want to useDjangobut the AJAX support will
be
a problem. Also I need to select a JavaScriptframeworkand lean it,
maybe
JQuery, mootools or other. And I can not writepythonas it is written in
QOTW: I stopped paying much attention to this thread a while ago, but
you've got to admire the persistence of somebody who soldiers on even
though Aahz, Fredrik Lund, and Steve Holden are all on the other side of
the argument... - Grant Edwards
17 nov 2008 kl. 16.53 skrev Massi:
Hi everyone, I'm trying to install Python2.6 on my mac (Leopard
10.5.5), but I'm encountering some problems. To install the package I
followed the instructions I found at this link:
http://wiki.python.org/moin/MacPython/Leopard
If I open wing, it turns out
MySQLdb, the Python shim for MySQL, still supports Python only to
Python 2.5. See http://sourceforge.net/projects/mysql-python;. Are there
any plans to support Python 2.6 or 3.x?
John Nagle
--
http://mail.python.org/mailman/listinfo/python-list
Alfons Nonell-Canals wrote:
Hello,
I've developed a program using python that have to connect to a mysql
server several times.
In a local machine (running the program in the same machine where the
mysql server is) I have no problems. I can run several instances of the
program at the same time
On Mon, 2008-11-17 at 15:55 +, Darren Mansell wrote:
On Mon, 2008-11-17 at 15:24 +, Tim Golden wrote:
Darren Mansell wrote:
Hi.
I'm relatively new to python so please be gentle :)
I'm trying to write a £ symbol to an MS SQL server using pymsssql . This
works but
On Nov 17, 8:54 am, Gabriel Genellina [EMAIL PROTECTED]
wrote:
Candidate to *Longest and Most Boring Thread of the Year* - started
more than a month ago, currently discussing The official definition
of call-by-value, and What't the value of an object:
I used pickle and found the file was saved in text format. I wonder
whether anyone is familiar with a good compact off-the-shelf module
available that will save in compressed format... or maybe an opinion
on a smart approach for making a custom one? Appreciate it! I'm a
bit of a n00b but have
Hi,
I've been trying to get my son interested in learning some simple
programming for a while. While I understand that a structured tutorial
is best, I think if we can write something cool at least once, it will
encourage him to learn more. While I have a lot of experience with
MATLAB, I've just
It seems that I solved my main problem, but I still have some doubt.
I'll make an example:
class foo:
...def __init__(self, a):
...self.a = a
...
f = foo(1)
f2 = foo(2)
f3 = foo(3)
f1 = foo(1)
s = set()
s.add(f)
s
set([__main__.foo instance at 0x8311fac])
s.add(f2)
On Nov 17, 2008, at 10:47 AM, Mark wrote:
I used pickle and found the file was saved in text format. I wonder
whether anyone is familiar with a good compact off-the-shelf module
available that will save in compressed format... or maybe an opinion
on a smart approach for making a custom one?
On Nov 17, 2:52 pm, Darren Mansell [EMAIL PROTECTED]
wrote:
Hi.
I'm relatively new to python so please be gentle :)
I'm trying to write a £ symbol to an MS SQL server using pymsssql . This
works but when selecting the data back (e.g. using SQL management
studio) the £ symbol is replaced
On Mon, Nov 17, 2008 at 6:44 PM, [EMAIL PROTECTED] wrote:
On Nov 17, 8:54 am, Gabriel Genellina [EMAIL PROTECTED]
wrote:
Candidate to *Longest and Most Boring Thread of the Year* - started
more than a month ago, currently discussing The official definition
of call-by-value, and
On Nov 17, 2008, at 10:53 AM, Eric wrote:
My son has an idea for a program to
write. Basically he would like to present a window with a small circle
on it. The window title would have the instruction to click on the
circle. As the mouse approaches the circle, it moves away from the
spot. Being
Philip Semanchuk wrote:
On Nov 17, 2008, at 10:53 AM, Massi wrote:
Hi everyone, I'm trying to install Python2.6 on my mac (Leopard
10.5.5), but I'm encountering some problems. To install the package I
followed the instructions I found at this link:
On Nov 17, 12:44 pm, [EMAIL PROTECTED] wrote:
On Nov 17, 8:54 am, Gabriel Genellina [EMAIL PROTECTED]
wrote:
Candidate to *Longest and Most Boring Thread of the Year* - started
more than a month ago, currently discussing The official definition
of call-by-value, and What't the
Eric wrote:
Hi,
I've been trying to get my son interested in learning some simple
programming for a while. While I understand that a structured tutorial
is best, I think if we can write something cool at least once, it will
encourage him to learn more. While I have a lot of experience with
On Mon, Nov 17, 2008 at 10:05 AM, Mr. SpOOn [EMAIL PROTECTED] wrote:
It seems that I solved my main problem, but I still have some doubt.
I'll make an example:
class foo:
...def __init__(self, a):
...self.a = a
...
f = foo(1)
f2 = foo(2)
f3 = foo(3)
f1 = foo(1)
s = set()
I used pickle and found the file was saved in text format. I wonder
whether anyone is familiar with a good compact off-the-shelf module
available that will save in compressed format... or maybe an opinion
on a smart approach for making a custom one?
Joe Well, here's a
I need some code that will read in grubs menu.lst file, and give me a
list of dicts:
[{'title':'Ubuntu, kernel 2.6.15-23-686',
'root':'(hd0,0)',
'kernel':'/boot/vmlinuz-2.6.15-23-686 root=/dev/hda1 ro quiet splash',
'initrd':'/boot/initrd.img-2.6.15-23-686',
'savedefault':'',
'boot':''},
Terry Reedy [EMAIL PROTECTED] writes:
Mr.SpOOn wrote:
On Sun, Nov 16, 2008 at 7:15 PM, Arnaud Delobelle
You should probably use the `bisect` module
(http://docs.python.org/library/bisect.html) for searching and
inserting into the list as it takes advantage of and ensures that the
list
I am planning to develop School Database Management System that will run on
Windows, Linux and Mac. The application will be Server/Client and GUI based.
Modules I intende to use are: Python socket module, wxPython for GUI, Open
GL for image processing , email and so on.
This is my first real
On Nov 17, 2008, at 1:17 PM, Diez B. Roggisch wrote:
Philip Semanchuk wrote:
On Nov 17, 2008, at 10:53 AM, Massi wrote:
Hi everyone, I'm trying to install Python2.6 on my mac (Leopard
10.5.5), but I'm encountering some problems. To install the
package I
followed the instructions I
[EMAIL PROTECTED] writes:
I guess this goes a long way to explaining why the Python docs
suck so badly in many areas.
I like the python docs very much.
--
Arnaud
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Nov 17, 2008 at 10:42 AM, Abah Joseph [EMAIL PROTECTED] wrote:
I am planning to develop School Database Management System that will run on
Windows, Linux and Mac. The application will be Server/Client and GUI based.
Have you considered basing this off existing software for schools,
like
I looked online and in books, but couldn't find a definitive answer to
this.
I have an array and set multiple elements to either True or False at
one time.
Question: Which way is faster (or does it matter)?
1)
array[x1]=array[x2]== array[x10] = \
array[x11]=array[x12]=... = array[x20]
On Mon, 2008-11-17 at 10:27 -0800, CarlFK wrote:
I need some code that will read in grubs menu.lst file, and give me a
list of dicts:
[{'title':'Ubuntu, kernel 2.6.15-23-686',
'root':'(hd0,0)',
'kernel':'/boot/vmlinuz-2.6.15-23-686 root=/dev/hda1 ro quiet splash',
Sorry if I misinformed; I have such symlinks in /usr/local/bin dated
the same day as my custom Python install. I guess I could have created
them myself, but I don't think I would have bothered creating a
symlink for pythonw, for example since I never use it.
Did you really create a
Eric [EMAIL PROTECTED] writes:
Hi,
I've been trying to get my son interested in learning some simple
programming for a while. While I understand that a structured tutorial
is best, I think if we can write something cool at least once, it will
encourage him to learn more.
I know it's not
In article [EMAIL PROTECTED],
W. eWatson [EMAIL PROTECTED] wrote:
George Sakkis wrote:
On Nov 17, 12:25 am, W. eWatson [EMAIL PROTECTED] wrote:
Is there some repository that says something like for Python 2.5 it works
with:
Win OSes: W2K, XP, Vista
numpy vers y, matplotlib vers x. scipy z,
jzakiya [EMAIL PROTECTED] writes:
I looked online and in books, but couldn't find a definitive answer to
this.
I have an array and set multiple elements to either True or False at
one time.
Question: Which way is faster (or does it matter)?
1)
array[x1]=array[x2]== array[x10] =
Hi,
on XP when starting a certain external program (plain C calculation
program which communicates via stdout/fs) from python 2.5 using
subprocess.Popen the external program crashes. It does not if started
directly from the XP command prompt. This is not a purely python
problems since the crash
On Nov 17, 2008, at 2:05 PM, Diez B. Roggisch wrote:
Sorry if I misinformed; I have such symlinks in /usr/local/bin dated
the same day as my custom Python install. I guess I could have
created
them myself, but I don't think I would have bothered creating a
symlink for pythonw, for example
1 - 100 of 245 matches
Mail list logo