python-dev Summary for 2006-05-01 through 2006-05-15
.. contents::
[The HTML version of this Summary is available at
http://www.python.org/dev/summary/2006-05-01_2006-05-15]
=
Announcements
=
---
webstring is a template system designed for programmers whose preferred
template languages are Python and HTML (and XML for people that swing
that way).
Highlights of 0.3 include:
- an HTMLTemplate class for taking questionable HTML and outputting it
as correct XHTML 1.0, XHTML 1.1, or HTML 4.0
WHAT IS SOYA 3D ?
Soya 3D is an object oriented high level 3D engine for Python. Somehow, Soya
is to 3D what Python is to programming. Soya allows to develop very rapidly
games of other 3D apps, entirely in the Python language (contrary to most of
the other engine, in which Python is limited
WHAT IS BALAZAR BROTHERS ?
Balazar Brothers is a 3D Puzzle game, written entirely in Python using the Soya
3D engine. The game proposes impressive 3D graphics as well as interesting
challenge. A 3D platform universe, two characters and two keys, one for each
character. Just press a key and the
On Tuesday 13 June 2006 07:04, Michael Yanowitz wrote:
Thanks.
XP looks to be the same as 2000.
Works as expected now. Thank You.
Not sure what this 'thread' issue is.
I never specified a thread. I think perhaps though because I did
open another message in this mailing list (to get
when I type command below in windows python:
import curses
it gives the error msg! It can't find _curses.pyd
Is this a bug?
--
http://mail.python.org/mailman/listinfo/python-list
Benji York wrote:
Frank Millman wrote:
reader = csv.reader(open('trans.csv', 'rb'))
rows = []
for row in reader:
rows.append(row)
Why do you create a list of rows instead of just iterating over the
reader directly?
--
Benji York
A - didn't think of it - good idea
B - can't
This summary is tagged as being in ISO-8859-1 encoding:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
However, it really is in UTF-8, which results in this mojibake:
Martin v. Löwis and Marc-Andre Lemburg discussed how to include both
--
Hello
Help is great appreciated in advance.
I need to loop through a file 6000 bytes at a time. I was going to
use the following but do not know how to advance through the file 6000
bytes at a time.
file = open('hotels.xml')
block = file.read(6000)
On 6/13/06, Christoph Haas [EMAIL PROTECTED] wrote:
Evening,
I have an application that is running in an endless loop processing an
incoming queue. Every run is supposed to write a log file about the run
and then close it again. While the 'logging' module is generally working
well (even
kernel1983 wrote:
when I type command below in windows python:
import curses
it gives the error msg! It can't find _curses.pyd
Is this a bug?
Nope - this module is not supported under Windows ...
--
Tim
Tgone [EMAIL PROTECTED] wrote:
Sybren Stuvel wrote:
Tgone enlightened us with:
Sorry, when I print out the variable it displays as '15.0'. The
price is '15.00' in the database though.
That's the same thing, isn't it? 15.0 == 15.0
Yes, they're both mathematically the same. I never
rodmc [EMAIL PROTECTED] wrote:
I need to write a program which can access the USB ports on Mac and
Linux, is there a library available for Python?
The stable version of Libusb includes a Python binding. The version in
development does not yet.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza
Tim Daneliuk wrote:
Nope - this module is not supported under Windows ...
There's at least one Python curses module for Windows:
http://adamv.com/dev/python/curses/
--
Erik Max Francis [EMAIL PROTECTED] http://www.alcyone.com/max/
San Jose, CA, USA 37 20 N 121 53 W AIM
On Wed, Jun 14, 2006 at 12:29:22PM +0530, Amit Khemka wrote:
On 6/13/06, Christoph Haas [EMAIL PROTECTED] wrote:
I have an application that is running in an endless loop processing an
incoming queue. Every run is supposed to write a log file about the run
and then close it again. While the
Rosario Morgan wrote:
Hello
Help is great appreciated in advance.
I need to loop through a file 6000 bytes at a time. I was going to
use the following but do not know how to advance through the file 6000
bytes at a time.
file = open('hotels.xml')
block = file.read(6000)
newblock =
Erik Max Francis wrote:
Tim Daneliuk wrote:
Nope - this module is not supported under Windows ...
There's at least one Python curses module for Windows:
http://adamv.com/dev/python/curses/
Sorry, I should have been more specific: AFAIK, curses is not one of the
*standard* Python
Tim Roberts wrote:
DECIMAL is an SQL thing. Unless the language has a native decimal type, it
cannot possibly know how to display it in the same format as your SQL.
unless your database adapter returns everything as strings...
/F
--
http://mail.python.org/mailman/listinfo/python-list
Rune Strand wrote:
Probably a more terse way to do this, but this seems to work
import os
offset = 0
grab_size = 6000
file_size = os.stat('hotels.xml')[6]
ouch. why not just loop until f.read returns an empty string ?
f = open('hotels.xml', 'r')
while offset file_size:
[EMAIL PROTECTED] wrote:
Hi everyone.
I've just been trying to add a bit more granularity to my logging code,
as the jump from INFO (level 20) to DEBUG (level 10) is a bit too big.
I was thinking of borrowing a few levels from java: fine (18), finer
(16) and finest(14).
This is what I've
Christoph Haas wrote:
Thanks. That works great. I was looking for a way to close the log file
using logging.basicConfig but it appears that it's too much magic.
logging.getLogger() isn't really much more work but gives better
control.
You may also need to close the handler - removeHandler
Ben Finney wrote:
(snip)
if __name__ == __main__:
test_funcs = [x for name, x in globals()
if name.startswith(test) and hasattr(x, __call__)
]
Any reason not to use callable(x) here ? (instead of hasattr(x, __call__))
--
bruno desthuilliers
python -c print
hi Joe,
Joe Marshall wrote:
« Expressiveness isn't necessarily a good thing. For instance, in C,
you can express the addresses ...»
we gotta be careful here, because soon we gonna say binaries are the
most expressive. For instance, in assembly, you can express the
registers and stuff.
hello,
i want to use rsync for remote file transfer via popen, but couldnt pass the
Password yet.
here`s what i did
cmd = 'rsync -av config [EMAIL PROTECTED]:/tmp/.'
f = os.popen(cmd,'w')
f.write('1234')
#not worked
f.write('1234\n')
#not worked
every time i see Password: line, then i tried
Rosario Morgan wrote:
Hello
Help is great appreciated in advance.
I need to loop through a file 6000 bytes at a time. I was going to
use the following but do not know how to advance through the file 6000
bytes at a time.
file = open('hotels.xml')
while True:
block =
CBFalconer wrote:
Frank Silvermann wrote:
[snip]
I look forward to a day when meteorology has more to do with precise
models than models, although I'm all for Russian-style delivery of such
data. I forecast that a lot of people will be surprised by the weather
today, as they are categorical
Hi,
I have a funtion named unzipper() which does the work of unzipping the
files.
Is there a way I can identify what is the type of the file which'll be
passed to unzipper().
If yes, I'll be able to make out if it's a zip file or a tar or a bz2
file.
Thanks,
Ritesh
--
Radovan:
This summary is tagged as being in ISO-8859-1 encoding:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
However, it really is in UTF-8, which results in this mojibake:
Martin v. Löwis and Marc-Andre Lemburg discussed how to include both
Its a good thing we have
[EMAIL PROTECTED] wrote:
I keep accidently trying to declare t-tuples as mytuple = (myitem)
I know this doesn't work and that you need the trailing comma, but
reading something online, I just came to realize the parenthesises
don't have any special meaning in relation to tuples at all,
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Why are all of the cool Lisp things up north? No Lispers down south?
Of course there are. South of Paris, I mean.
--
Didier Verna, [EMAIL PROTECTED], http://www.lrde.epita.fr/~didier
EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (1) 44 08 01
sinan nalkaya [EMAIL PROTECTED] writes:
i want to use rsync for remote file transfer via popen, but couldnt pass
the Password yet.
For interactive input try the pexpect module instead of popen (see
http://pexpect.sf.net).
Ganesan
--
Ganesan Rajagopal
--
Hello
I am new at this list, looking forward to be a part of it.
I am trying to write a application with the functionality to record mouse and key events, and then another functionality to replay earlier recorded events.
It is meant to be used for testing of other applications/WebPages. I
Hi
I have a script that looks for modules and tries to load them. After
loading I attach the server-API function to it.
module = __import__(module_name, globals(), locals(), [])
module.server = server.server_api
Now, some modules need the server functionality on load/init. I tried to
Hi !
I don't understand something.
Under Python the threads are simulated by Python Interpreter as when
prev. setted pieces (interval) of the interpreted tokens are executed,
it is change to another virtual thread ?
Or it was really create real threads, and they are figth for the
priority, and
Le Mercredi 14 Juin 2006 11:22, Ritesh Raj Sarraf a écrit :
Hi,
I have a funtion named unzipper() which does the work of unzipping the
files.
Is there a way I can identify what is the type of the file which'll be
passed to unzipper().
If yes, I'll be able to make out if it's a zip file or
Hi !
I want to comm. between 2 procs with mmap - in Windows XP.
Interesting thing I saw yesterday.
When I start my mtest.py without redirection stdout, the program
freezed. When I pushed Enter, is was released.
(Just like when I use raw_input in the end of the code... :-))
For this effect I
But isn't there any library function ?
Something like
XX.filetype(name)
Directory
File-Tar
File-Zip
File-MPEG
Ritesh
Maric Michaud wrote:
Le Mercredi 14 Juin 2006 11:22, Ritesh Raj Sarraf a écrit :
Hi,
I have a funtion named unzipper() which does the work of unzipping the
files.
Is
Very interesting!
--
http://mail.python.org/mailman/listinfo/python-list
Nice and interesting matter!
--
http://mail.python.org/mailman/listinfo/python-list
In [EMAIL PROTECTED], Dara Durum
wrote:
Under Python the threads are simulated by Python Interpreter as when
prev. setted pieces (interval) of the interpreted tokens are executed,
it is change to another virtual thread ?
Or it was really create real threads, and they are figth for the
Also,
f = file ('some_file.jpg')
throws an error.
str object is not callable
Ritesh
Maric Michaud wrote:
Le Mercredi 14 Juin 2006 11:22, Ritesh Raj Sarraf a écrit :
Hi,
I have a funtion named unzipper() which does the work of unzipping the
files.
Is there a way I can identify what
hi
i have some databse results that are NoneType and DateTimeType. now i
have trouble
joining these row results together like |.join(result) as it says
cannot join NoneType , DateTimeType . How can i change these types so i
can join the columns together as string?
thanks
--
bruno at modulix [EMAIL PROTECTED] writes:
Ben Finney wrote:
(snip)
if __name__ == __main__:
test_funcs = [x for name, x in globals()
if name.startswith(test) and hasattr(x, __call__)
]
Any reason not to use callable(x) here ? (instead of hasattr(x,
On 14 Jun 2006 03:43:39 -0700, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
i have some databse results that are NoneType and DateTimeType. now i
have trouble
joining these row results together like |.join(result) as it says
cannot join NoneType , DateTimeType . How can i change these types so i
Le Mercredi 14 Juin 2006 00:20, Christoph Haas a écrit :
Evening,
I'm having trouble with running a process through Python 2.4's
subprocess module. Example code:
def run(command):
run = subprocess.Popen(command, shell=True,
Le Mercredi 14 Juin 2006 12:41, Ritesh Raj Sarraf a écrit :
Also,
f = file ('some_file.jpg')
throws an error.
str object is not callable
stange, did you define a function named file ?
You can use open instead.
--
_
Maric Michaud
_
Aristote - www.aristote.info
3
Ritesh Raj Sarraf schrieb:
Also,
f = file ('some_file.jpg')
throws an error.
str object is not callable
I bet you have rebound file to a string, like this:
file = some name
And PLEASE don't top-quote:
http://www.redballoon.net/~snorwood/quote-rant.shtml
Diez
--
In [EMAIL PROTECTED], Ritesh Raj
Sarraf wrote:
Also,
f = file ('some_file.jpg')
throws an error.
str object is not callable
This happens if you rebind names of builtins. In this case to a string.
Don't do that!
In [5]:file
Out[5]:type 'file'
In [6]:file = 'foo.txt'
In [7]:file
A couple of alternatives:
1. py2exe/csFreeze-type thing. This would even relieve the customer of
installing python
2. An Installshield-type installer can place files (essentially)
wherever you want them
HTH
--
http://mail.python.org/mailman/listinfo/python-list
Ritesh Raj Sarraf [EMAIL PROTECTED] wrote:
Also,
f =3D file ('some_file.jpg')
throws an error.
str object is not callable
You know all the times people say in this group Don't use list
or str or file[HINT] or anything else that shadows a built in as
a variable name? Now you know why.
--
\S --
The numerical robustness of Python is very poor - this is not its fault,
but that of IEEE 754 and (even more) C99. In particular, erroneous
numerical operations often create apparently valid numbers, and the
NaN state can be lost without an exception being raised. For example,
try
Hi,
I'm trying to open a file (any file) in binary mode and save it inside
a new text file.
After that I want to read the source from the text file and save it
back to the disk with its original form. The problem is tha the binary
source that I extract from the text file seems to be diferent from
[EMAIL PROTECTED] schrieb:
Hi,
I'm trying to open a file (any file) in binary mode and save it inside
a new text file.
After that I want to read the source from the text file and save it
back to the disk with its original form. The problem is tha the binary
source that I extract from the
Thanks for all you wrote, It will be very usefull to me, at the end I
use that code and the file I introduce is converted to .txt on the
directory where the file is placed, and in documents written in spanish
this do not gives problems on acentos in words like camión or
introducción that was very
Marco Aschwanden wrote:
Load a module and hand in already the server_api. How can I achieve this?
Using execfile() is the simplest approach:
import imp
import sys
def import_preloaded(name, path=None, variables={}):
if path is None:
file, path, description = imp.find_module(name)
Hi all
I'm trying out, and in general finding really useful, the various
TiddlyWiki variants that I guess many people here know about, for
organising my activities in a GTD way. One mild annoyance is in the
speed of the Javascript applications. I fancy having a go at writing
something like
jkn wrote:
Hi all
I'm trying out, and in general finding really useful, the various
TiddlyWiki variants that I guess many people here know about, for
organising my activities in a GTD way. One mild annoyance is in the
speed of the Javascript applications. I fancy having a go at writing
Marvelous that was the solution I was looking for.
I think you should consider a class instead of a module, though.
What I don't get: Why should I consider using a class?
Greetings from sunny Switzerland,
Marco
--
http://mail.python.org/mailman/listinfo/python-list
Marco Aschwanden wrote:
Load a module and hand in already the server_api. How can I achieve this?
use execfile (or compile/exec) instead of import.
/F
--
http://mail.python.org/mailman/listinfo/python-list
Hi Bruno
[...]
I don't know Javascript (although it looks moderately simple from a
brief peruse,
It's not as simple as it may seem at first look. There are some real
gotchas. But if you want a more pythonic javascript, you should have a
look at mochikit.
OK, thanks for the pointer
Hello,
by accident I found that += exists in python.
E.g.
a = 0
a += 42
a
42
a += 0.42
a
42.422
But I can't find any documentation for +=.
Any hints?
Best wishes
--
http://mail.python.org/mailman/listinfo/python-list
http://docs.python.org/ref/augassign.html
On Wednesday 14 June 2006 15:39, Marco Wahl wrote:
Hello,
by accident I found that += exists in python.
E.g.
a = 0
a += 42
a
42
a += 0.42
a
42.422
But I can't find any documentation for +=.
Any hints?
Best wishes
--
Joe Marshall [EMAIL PROTECTED] writes:
On the Expressive Power of Programming Languages, by Matthias
Felleisen, 1990.
http://www.ccs.neu.edu/home/cobbe/pl-seminar-jr/notes/2003-sep-26/expressive-slides.pdf
The gist of the paper is this: Some computer languages seem to be
`more
On 2006-06-14, Nick Maclaren [EMAIL PROTECTED] wrote:
The numerical robustness of Python is very poor - this is not its fault,
but that of IEEE 754 and (even more) C99. In particular, erroneous
numerical operations often create apparently valid numbers, and the
NaN state can be lost without
Alex Reinhart wrote:
Eric S. Johansson wrote:
Alex Reinhart wrote:
Yeah, I just realized that. What would I do to act as an open proxy as
well?
emulate the Apache proxy capability, especially the reverse proxy.
more seriously, what you need to do is from common proxy and web server
ports,
Le Mercredi 14 Juin 2006 13:14, Maric Michaud a écrit :
or use a
threaded version
here it is.
I did it just to validate my point and because i don't use threads very often
in python, some exercises can't hurt :)
def run(command):
import subprocess
run = subprocess.Popen(command,
[...] I can't find any documentation for +=.
Any hints?
http://docs.python.org/ref/augassign.html
That's it. Thank you very much.
--
http://mail.python.org/mailman/listinfo/python-list
Tony Nelson wrote:
I'm trying to find out what is eating some KeyboardInterrupt exceptions
in a fairly large program (yum). My KeyboardInterrupt handler is called
for some Ctl-C presses, but for others nothing seems to happen.
... I'd like to use a debugger to trace
KeyboardInterrupt
jkn wrote:
(snip)
Does the idea of embedding python in a browser instead of Javascript
make any sense at all?
From a purely theoretical POV, yes, this idea makes sens - Python could
be an interesting alternative to javascript for client-side scripting
(and I'd really prefer using Python for
Quacker wrote:
Very interesting!
indeed.
--
bruno desthuilliers
python -c print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in '[EMAIL PROTECTED]'.split('@')])
--
http://mail.python.org/mailman/listinfo/python-list
jean-michel bain-cornu wrote:
When your button gives an event, wx send two arguments : the object
itself and an event object. So you can't bind directly.
Ah, that explains it! Thank you!
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
John Salerno wrote:
I love the new 'folder' icon, but how can I access it as an icon?
I've just given these are proper home, so here:
http://doxdesk.com/software/py/pyicons.html
cheers!
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
I am trying to get my ip address through a script and I am using the following code:
import socket
ip = socket.gethostbyaddr(socket.gethostname())
ip then becomes a tuple and takes on three values. I am trying to pull the value of ip[2] which when printed displays:
['10.5.100.17'].
I want
In article [EMAIL PROTECTED],
Grant Edwards [EMAIL PROTECTED] writes:
|
| Now, I should like to improve this, but there are two problems. The
| first is political, and is whether it would be acceptable in Python to
| restore the semantics that were standard up until about 1980 in the
|
Marco Aschwanden schrieb:
Marvelous that was the solution I was looking for.
I think you should consider a class instead of a module, though.
What I don't get: Why should I consider using a class?
Because sharing state in such a way that several functions need to
access some later bound
ip = socket.gethostbyaddr(socket.gethostname())
ip then becomes a tuple and takes on three values. I am trying to pull the
value of ip[2] which when printed displays:
['10.5.100.17'].
I want this ip that is being returned, but I would like it as a string,
without the [' and ']. Any idea
On 2006-06-14 09:42:25 -0400, [EMAIL PROTECTED] (Torben Ægidius
Mogensen) said:
It takes longer for the average
programmer to get the program working in the dynamically typed
language.
Though I agree with much of your post I would say that many here find
the opposite to be true - it takes
Hello everybody,
Probably, this is being too demanding for Python, but it may be
useful to unimport modules to work with dynamic code (though not the
best, one example is [2]). In fact, it is supposed to be possible[1],
but I have detected it usually leaks memory.
When unimported in Linux, the
[EMAIL PROTECTED] wrote:
This summary is tagged as being in ISO-8859-1 encoding:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
However, it really is in UTF-8
Hmm... I guess Gmail's automatic encoding selection isn't working for
the summaries. I've changed my Gmail settings
I need to take floats and dump out their 4 byte hex representation.
This is easy with ints with the built in hex function or even better
for my purpose
def hex( number, size ):
s = %+str(size) + X
return (s % number).replace(' ', '0')
but I haven't been able to find anything for
Frank Millman [EMAIL PROTECTED] wrote:
Benji York wrote:
Frank Millman wrote:
reader = csv.reader(open('trans.csv', 'rb'))
rows = []
for row in reader:
rows.append(row)
Why do you create a list of rows instead of just iterating over the
reader directly?
--
Benji York
James Stroud [EMAIL PROTECTED] wrote:
...
def doit(rows, doers, i=0):
for r, alist in groupby(rows, itemgetter(i)):
if len(doers) 1:
doit(alist, doers[1:], i+1)
doers[0](r)
Isn't this making N useless slices (thus copies, for most kinds of
sequences) for a doers of
Bryan [EMAIL PROTECTED] wrote:
...
so, was Numarray written *before* NumPY, or was it a reimplementation of
NumPy which implies it came *after* NumPy? it seems clear that Numeric is
the old one and i read is not being worked on anymore. so that leaves
Numarray and numpy. which of these
Well, that may be an/the answer, since another form of my question
would be 'how can I write a TiddlyWikiLike using Python instead of JS'
;-). I appreciate that it might involve, for instance, a local server.
Does the idea of embedding python in a browser instead of Javascript
make any sense
Torben Ægidius Mogensen wrote:
On a similar note, is a statically typed langauge more or less
expressive than a dynamically typed language? Some would say less, as
you can write programs in a dynamically typed language that you can't
compile in a statically typed language (without a lot of
I googled around, but couldn't understand how to solve this problem.
I have 2 scripts
# script1.py #
print 'something'
#script2.py
x=sys.stdin.read()
print 'passed'
if I run
script1.py | script2.py
all goes well.
But if I run just
script2.py
the program blocks waiting forever for input.
On
godavemon [EMAIL PROTECTED] wrote:
I need to take floats and dump out their 4 byte hex representation.
This is easy with ints with the built in hex function or even better
for my purpose
def hex( number, size ):
s = %+str(size) + X
return (s % number).replace(' ', '0')
but
s = %+str(size) + X
return (s % number).replace(' ', '0')
While I don't have a fast and easy way to represent floats, you
may want to tweak this to be
return (%0*X % (size,number))
which will zero-pad the number in hex to size number of places
in a single step. It also
It appears that the cause of this problem was indirect.
I input something incorrect as an argument to an xplane sdk function
and the cos/integer type error followed.
Thanks for the help. The diagnostic functions I learned in this thread
will be very helpful in the future.
moonman wrote:
I'm
On 2006-06-14, Nick Maclaren [EMAIL PROTECTED] wrote:
| Now, I should like to improve this, but there are two problems. The
| first is political, and is whether it would be acceptable in Python to
| restore the semantics that were standard up until about 1980 in the
| numerical programming area.
On 2006-06-14, godavemon [EMAIL PROTECTED] wrote:
I need to take floats and dump out their 4 byte hex representation.
struct
--
Grant Edwards grante Yow! Darling, my ELBOW
at is FLYING over FRANKFURT,
John Machin [EMAIL PROTECTED] wrote:
...
If it is any consolation I hope to take what I learn and put together
a tutorial on expanding Python for those that only have a little
experience with C programming, like myself. I plan to explain
everything like I was teaching a 6-year old. :]
On 13 Jun 2006 15:09:57 -0700, Serge Orlov [EMAIL PROTECTED] wrote:
Alex Reinhart wrote:
My spam folder at gmail is not growing anymore for many months (it is
about 600-700 spams a month). Have spammers given up spamming gmail.com
only or is it global trend?
Gmail said messages that have been
Le Mercredi 14 Juin 2006 17:13, [EMAIL PROTECTED] a écrit :
# script1.py #
print 'something'
#script2.py
x=sys.stdin.read()
read() will read a file object to the end, i guess you want to use readline()
instead or the builtin raw_input.
print 'passed'
if I run
script1.py | script2.py
godavemon wrote:
I need to take floats and dump out their 4 byte hex representation.
This is easy with ints with the built in hex function or even better
for my purpose
def hex( number, size ):
s = %+str(size) + X
return (s % number).replace(' ', '0')
This should be a trifle
hello,
i want to use rsync for remote file transfer via popen, but couldnt pass the
Password yet.
here`s what i did
cmd = 'rsync -av config [EMAIL PROTECTED]:/tmp/.'
f = os.popen(cmd,'w')
f.write('1234')
#not worked
f.write('1234\n')
#not worked
every time i see Password: line, then i tried
Ben Finney schrieb:
Simplify. Please don't attempt to write yet another set of license
terms without expert legal assistance. You've already chosen the Expat
license as being acceptable; use that, and you grant all the rest
without even mentioning it.
Sorry for my stubborn ignorance, and
utabintarbo wrote:
A couple of alternatives:
1. py2exe/csFreeze-type thing. This would even relieve the customer of
installing python
2. An Installshield-type installer can place files (essentially)
wherever you want them
HTH
Also, remember to credit those third-party packages; they
Grant Edwards a écrit :
The division by zero trap is really annoying. In my world the
right thing to do is to return Inf.
Your world is flawed then, this is a big mistake. NaN is the only
aceptable return value for a division by zero.
--
http://mail.python.org/mailman/listinfo/python-list
I've been a member for a while but I had no idea how helpful this form
is. I had a one hour meeting and when I came back there were 4
replies. Thanks for your help!
Scott David Daniels wrote:
godavemon wrote:
I need to take floats and dump out their 4 byte hex representation.
This is easy
1 - 100 of 225 matches
Mail list logo