ANN: matplotlib-0.80

2005-04-14 Thread John Hunter
matplotlib is a 2D graphics package that produces plots from python scripts, the python shell, or embeds them in your favorite python GUI -- wx, gtk, tk, fltk and qt. Unlike many python plotting alternatives is written in python, so it is easy to extend. matplotlib is used in the finance

[ANN] pylint 0.6.4

2005-04-14 Thread Sylvain Thénault
Hello all, I'm pleased to announce a new release of PyLint. This release mainly fixes multivalued options bug and a systematic crash with python 2.2. Users should also use the latest logilab's common library (0.9.3). What's new ? * allow to parse files without extension when a path

ANN: numarray-1.3.0

2005-04-14 Thread Todd Miller
Release Notes for numarray-1.3.0 Numarray is an array processing package designed to efficiently manipulate large multi-dimensional arrays. Numarray is modelled after Numeric and features c-code generated from python template scripts, the capacity to operate directly on arrays in files, arrays

Re: how to explain such codes, python's bug or mine?

2005-04-14 Thread MaHahaXixi
yes. i understand now. but i use another trick. list is in vary size, so i do not wanna copy it. Jim [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] MaHahaXixi wrote: j = range(20) print j [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19] for k in j:

Re: Newbie Tkinter Question

2005-04-14 Thread Peter Otten
Pseud O'Nym wrote: the following fragment doesn't cause any errors and results in buttons the correct size for the images, but the buttons don't work, and the images aren't displayed. If I add a text property, and remove the images, they work fine, so the rest of my code's OK. I've searched

Re: Python 2.4 killing commercial Windows Python development ?

2005-04-14 Thread Martin v. Löwis
Roger Binns wrote: - I could make some sort of installer that did all the non-Python interpretter pieces and it would have to be compatible with anyone else doing the same thing. The first is a waste of my time and effort, and I do the second except I also include the Python

Re: Programming Language for Systems Administrator

2005-04-14 Thread Ville Vainio
zsolt == pythonUser 07 [EMAIL PROTECTED] writes: zsolt Python is great, but having much admin type experience, zsolt I've found python to be less than Ideal when dealing with zsolt system calls and standard Input Ouput. Have you tried the 'subprocess' module to see whether it solves

Re: Newbie Tkinter Question

2005-04-14 Thread Hans Georg Krauthaeuser
Peter Otten schrieb: Pseud O'Nym wrote: the following fragment doesn't cause any errors and results in buttons the correct size for the images, but the buttons don't work, and the images aren't displayed. If I add a text property, and remove the images, they work fine, so the rest of my

Re: templating system

2005-04-14 Thread Ville Vainio
Erik == Erik Max Francis [EMAIL PROTECTED] writes: Erik All I meant by that note was that EmPy was not primarily Erik designed for blazing speed; that is, it could easily be made Erik much more efficient in a lot of ways. I've never had a need It would be interesting to see

Re: Using a python web client behind a proxy (urllib and twisted.web)

2005-04-14 Thread Mike Meyer
Matthijs [EMAIL PROTECTED] writes: I have been trying to make a script that will download several rss feeds to my computer. The only problem I have is that I have to go through a proxy. First I tried using urllib (python 2.4, win32) but I found that the http_proxy and no_proxy code were not

Inelegant

2005-04-14 Thread Dan
I've just begun playing with Python, and so far I like what I see. It's a very elegant language. But I've found something that's, well, a bit ugly. Maybe someone can point out to me where I'm wrong. If you use triple quotes to define a string, then the newlines are implicitly included. This

Printable version of Python tutorila

2005-04-14 Thread sandygarg
I liked the python tutorial ( http://www.python.org/doc/current/tut/tut.html ) very much. Now i want to print this tutorial. Where do i get a printable version of the document? -- http://mail.python.org/mailman/listinfo/python-list

how to solve [ 1144533 ] htmllib quote parse error within a script

2005-04-14 Thread jerky
hi,everyone, get the details in https://sourceforge.net/tracker/?func=detailatid=105470aid=1144533group_id=5470 many thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: Printable version of Python tutorila

2005-04-14 Thread Mikael Olofsson
[EMAIL PROTECTED] wrote: I liked the python tutorial ( http://www.python.org/doc/current/tut/tut.html ) very much. Now i want to print this tutorial. Where do i get a printable version of the document? http://www.python.org/doc/current/download.html Regards /Mikael Olofsson Universitetslektor

Re: Inelegant

2005-04-14 Thread Terry Hancock
On Thursday 14 April 2005 02:03 am, Dan wrote: If you use triple quotes to define a string, then the newlines are implicitly included. This is a very nice feature. But if you're inside a function or statement, then you'll want the string to be positioned along that indentation. And the

Re: Printable version of Python tutorila

2005-04-14 Thread sandygarg
Thanks a lot... I've foolishly WGETed the entire python.org. -- http://mail.python.org/mailman/listinfo/python-list

(OT) Web Hosting Special Offer..............................................................................................................................................................................................................................................................................................

2005-04-14 Thread host
UHOSTNET.COM [EMAIL PROTECTED] ²{±À¥X¥þ·sÀu´f ©Ò¦³¦b¥»¤ë§C«e¥Ó½Ðªº¨ä¥¦¤½¥qÂಾ«È¤á§Y¦h°e±z¤T­Ó¤ëªA°È ¤ä´© PHP+MySQL, Access+ASP, ASP.NET, CGI, SSI ¹q¶l¯f¬r¹LÂo, ©U§£¹q¶l¹LÂo ¤Î WebMail µ¥.. ¥»¤ë§C«e¥Ó½ÐW1000§Y°e­º¦¸¦w¸ËÁʪ«¨®µ{¦¡ osc. http://shop2.uhostnet.com ¨C¤ë¥u»Ý $20 °_ ­º­¶

Re: Python license (2.3)

2005-04-14 Thread Antoon Pardon
Op 2005-04-13, Robert Kern schreef [EMAIL PROTECTED]: Antoon Pardon wrote: Op 2005-04-13, Robert Kern schreef [EMAIL PROTECTED]: Antoon Pardon wrote: Op 2005-04-13, Robert Kern schreef [EMAIL PROTECTED]: Yes, the license text and the copyright notice must be attached. It doesn't mean that

Re: Simple Python + Tk text editor

2005-04-14 Thread Eric Brunel
On Thu, 14 Apr 2005 06:41:26 +0100, Jonathan Fine [EMAIL PROTECTED] wrote: [snip] And for my project (integration of Python and TeX) there is most unlikely to be a better one. Do you know the (apparently dead) project named e:doc? You can find it here: http://members.nextra.at/hfbuch/edoc/ It's a

Re: Compute pi to base 12 using Python?

2005-04-14 Thread Richie Hindle
[Dan] Now you've got me curious. Why would an artist want the first 3003 digits of pi to the base 12? [Dick] He says, Do you know how I can get base12 pi? Because the chromatic scale is base12. c c# d d# e f f# g g# a a# b He should read Douglas Adams' fictional essay Music and Fractal

Re: Python license (2.3)

2005-04-14 Thread Robert Kern
Antoon Pardon wrote: Op 2005-04-13, Robert Kern schreef [EMAIL PROTECTED]: Antoon Pardon wrote: Well if it comes so far I have to consult a lawyer I'd rather not publish it in the first place. Then take the (free) advice that you asked for. I'll do that and I appreciate your time in giving it.

Re: Dr. Dobb's Python-URL! - weekly Python news and links (Apr 11)

2005-04-14 Thread Simon Brunning
On 4/14/05, Greg Ewing [EMAIL PROTECTED] wrote: Actually it was me who wrote that, not Scott. (Darn. I finally say something that gets into Quote of the Week, and it's attributed to someone else! :-) :-) :-) Ooops. I'm really very sorry about that. Try and think of something else witty to

Re: Formated String in optparse

2005-04-14 Thread Norbert Thek
Thank You for your help, its working! Now I have an additional question. The problem is the encoding of the Text I'm using German, Can you tell me how to encode the textstring that the Windows commandline shows the special letters right? For exampel i get 'f³r' but i want 'für' (maybe reader

Re: Python license (2.3)

2005-04-14 Thread Antoon Pardon
Op 2005-04-14, Robert Kern schreef [EMAIL PROTECTED]: Antoon Pardon wrote: Op 2005-04-13, Robert Kern schreef [EMAIL PROTECTED]: I would do that if I were just writing code I thought others could find usefull. I then would feel no problem burdening those users with the same kind of license

Supercomputer and encryption and compression @ rate of 96%

2005-04-14 Thread c3poptuse
Supercomputer and encryption and compression @ rate of 96% Take a document then or a 3D matrix document change it two random or binary code or just a program for 0's and 1's and fold it over and over like a piece of paper then having the 1 and 0 add each other or the 0,1's canceling each other

Re: Python license (2.3)

2005-04-14 Thread Robert Kern
Antoon Pardon wrote: Op 2005-04-14, Robert Kern schreef [EMAIL PROTECTED]: Antoon Pardon wrote: Op 2005-04-13, Robert Kern schreef [EMAIL PROTECTED]: I would do that if I were just writing code I thought others could find usefull. I then would feel no problem burdening those users with the same

Re: Inelegant

2005-04-14 Thread Bengt Richter
On Thu, 14 Apr 2005 02:43:40 -0500, Terry Hancock [EMAIL PROTECTED] wrote: On Thursday 14 April 2005 02:03 am, Dan wrote: If you use triple quotes to define a string, then the newlines are implicitly included. This is a very nice feature. But if you're inside a function or statement, then

Re: Python license (2.3)

2005-04-14 Thread Antoon Pardon
Op 2005-04-14, Robert Kern schreef [EMAIL PROTECTED]: Antoon Pardon wrote: Op 2005-04-14, Robert Kern schreef [EMAIL PROTECTED]: Antoon Pardon wrote: Op 2005-04-13, Robert Kern schreef [EMAIL PROTECTED]: I would do that if I were just writing code I thought others could find usefull. I then

Re: preallocate list

2005-04-14 Thread Jim
John Machin wrote: On Wed, 13 Apr 2005 14:28:51 +0100, Jim [EMAIL PROTECTED] wrote: Thanks for the suggestions. I guess I must ensure that this is my bottle neck. code def readFactorsIntoList(self,filename,numberLoads): 1. numberLoads is not used. factors = [] f =

Re: Python license (2.3)

2005-04-14 Thread Robert Kern
Antoon Pardon wrote: Op 2005-04-14, Robert Kern schreef [EMAIL PROTECTED]: Antoon Pardon wrote: Op 2005-04-14, Robert Kern schreef [EMAIL PROTECTED]: Antoon Pardon wrote: Op 2005-04-13, Robert Kern schreef [EMAIL PROTECTED]: I would do that if I were just writing code I thought others could find

Re: A beginer question about SOAP and Python: SOAPpy.Types.structType HashStringResponse at 23909440: {}

2005-04-14 Thread bruno modulix
Jim wrote: Hi all, I am new to SOAP and Python. I am practicing learning SOAP with Python. I sent a request and I got the following response: SOAPpy.Types.structType HashStringResponse at 23909440: {} What does that mean? Seems like you've got a SOAPpy.Types.structType instance that is named

Re: Supercomputer and encryption and compression @ rate of 96%

2005-04-14 Thread Will McGugan
[EMAIL PROTECTED] wrote: Supercomputer and encryption and compression @ rate of 96% The bit sent would be 0 and the key code would be F1-24,k 1-24, I 1-24,K 1-24,j24,j1,j12,j1,j6,j1,j3,j1,j2,j1 and would unzip or be new encryption you could encrypt or compress 100 terabits down to 1 bit of

Re: Supercomputer and encryption and compression @ rate of 96%

2005-04-14 Thread Stephen Kellett
In message [EMAIL PROTECTED], Will McGugan [EMAIL PROTECTED] writes Please implement this as a Python module. I would like to compress my mp3 collection to single bits. Just think you could have better than broadband download speeds, on your old 300bps modem! -- Stephen Kellett Object Media

Re: Supercomputer and encryption and compression @ rate of 96%

2005-04-14 Thread Fredrik Lundh
Will McGugan wrote: Please implement this as a Python module. I would like to compress my mp3 collection to single bits. here's the magic algorithm (somewhat simplified): def algorithm(data): m = 102021 # magic constant d = [int(c) for c in str(1*2*3*4*5*m+5+4+2+1)] x = [ord(c)

New Affiliate program 80% Commission

2005-04-14 Thread Justin Harrison
C A L L I N G... All Webmasters, Affiliates Internet Entrepreneurs WOULD YOU LIKE TO Generate HUGE monthly commission cheques? == The MobileForLife.com 2 tier

Re: templating system

2005-04-14 Thread David Asorey ?lvarez
Ksenia Marasanova [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hi, I am looking for fast, simple templating system that will allow me to do the following: - embed Python code (or some templating code) in the template - generate text output (not only XML/HTML) I don't

A little request about spam

2005-04-14 Thread BJörn Lindqvist
Please do not reply to spam. Replying to spam makes it much harder for spam filters to catch all the spam or will produce very many false positives. Atleast that's how gmail's filter works. And if you must reply, please change the subject line. On 13 Apr 2005 17:50:06 -0500, .@bag.python.org

Re: Dr. Dobb's Python-URL! - weekly Python news and links (Apr 11)

2005-04-14 Thread Chris Cioffi
+1 on _that_ being a QOTW! On 4/14/05, Simon Brunning [EMAIL PROTECTED] wrote: [snip] Try and think of something else witty to say over the next day or two - I'm sure I can squeeze you into next week's. ;-) -- I was born not knowing and have had only a little time to change that here and

Re: Compute pi to base 12 using Python?

2005-04-14 Thread Greg Lindstrom
He says, Do you know how I can get base12 pi? Because the chromatic scale is base12. c c# d d# e f f# g g# a a# b Dick It might feel more natural to do this with 'e' (2.718...) --greg -- http://mail.python.org/mailman/listinfo/python-list

Re: sort of a beginner question about globals

2005-04-14 Thread fred.dixon
when i am roughing out my functions and classes i out a pass statement as my first line just as a place holder and a convenient place to put a break when i am testing. no other good reason. -- http://mail.python.org/mailman/listinfo/python-list

Re: A little request about spam

2005-04-14 Thread mark hellewell
On 4/14/05, BJörn Lindqvist [EMAIL PROTECTED] wrote: Please do not reply to spam. Replying to spam makes it much harder for spam filters to catch all the spam or will produce very many false positives. Atleast that's how gmail's filter works. And if you must reply, please change the subject

Re: A little request about spam

2005-04-14 Thread James
Yes - it's been like that for the last month or so now and it's quite annoying, especially seeing as before it was working at near enough 100% accuracy. On 4/14/05, mark hellewell [EMAIL PROTECTED] wrote: On 4/14/05, BJörn Lindqvist [EMAIL PROTECTED] wrote: Please do not reply to spam.

Re: A little request about spam

2005-04-14 Thread mark hellewell
On 4/14/05, James [EMAIL PROTECTED] wrote: Yes - it's been like that for the last month or so now and it's quite annoying, especially seeing as before it was working at near enough 100% accuracy. And I don't suppose there's much we can do about it? mark --

Re: Inelegant

2005-04-14 Thread gry
I sometimes use the implicit literal string concatenation: def SomeFunction(): if SomeCondition: MyString = 'The quick brown fox ' \ 'jumped over the ' \ 'lazy dog' print MyString SomeFunction() The quick brown fox jumped over the lazy dog It

Re: Tk Listbox - Selected Item ?

2005-04-14 Thread Martin Franklin
Peter Moscatt wrote: I am having trouble understanding the methods for the Listbox from Tk. If I was to select at item in the list using a mouse click (have already created the bind event) - what method returns the text of the selected item ? Pete Pete, pydoc Tkinter.Listbox snip |

PIL pilfont.py

2005-04-14 Thread Daewon YOON
Hi. I tried to convert a bdf file using pilfont.py script. Instead producing pretty font images, it complained like following. ** daewian:~/fonting$ ./pilfont.py gulim24.bdf gulim24.bdf... Traceback (most recent call last): File ./pilfont.py, line 47, in ? p.save(f) File

Re: sort of a beginner question about globals

2005-04-14 Thread Duncan Booth
fred.dixon wrote: when i am roughing out my functions and classes i out a pass statement as my first line just as a place holder and a convenient place to put a break when i am testing. no other good reason. A better idea when roughing out functions and classes is to insert a docstring

Re: Dr. Dobb's Python-URL! - weekly Python news and links (Apr 11)

2005-04-14 Thread Peter Hansen
Greg Ewing wrote: (Darn. I finally say something that gets into Quote of the Week, and it's attributed to someone else! :-) :-) :-) +1 on this for meta-QOTW, solving both problems... -- http://mail.python.org/mailman/listinfo/python-list

Re: A little request about spam

2005-04-14 Thread Steven Cummings
For what it's worth I filed a gmail issue over it a few days after I noticed it. I guess more of you could do so indicating the severity of the issue to the gmail developers. And I thought I was the only one...! /SOn 4/14/05, mark hellewell [EMAIL PROTECTED] wrote: On 4/14/05, James [EMAIL

Re: A little request about spam

2005-04-14 Thread César Leonardo Blum Silveira
Yeah that is happening to me too! Almost all my python-list e-mails go to the Spam box. Maybe we should contact the gmail admins? On 4/14/05, mark hellewell [EMAIL PROTECTED] wrote: On 4/14/05, James [EMAIL PROTECTED] wrote: Yes - it's been like that for the last month or so now and it's

[ANN] pylint 0.6.4

2005-04-14 Thread Sylvain Thénault
Hello all, I'm pleased to announce a new release of PyLint. This release mainly fixes multivalued options bug and a systematic crash with python 2.2. Users should also use the latest logilab's common library (0.9.3). What's new ? * allow to parse files without extension when a path

Re: Compute pi to base 12 using Python?

2005-04-14 Thread François Pinard
[Doug Schwarz] The chromatic scale is based on one twelfth powers of two, i.e., if the frequency of a note in the scale is f(n), then the frequency of the next note is given by f(n+1) = f(n) * 2^(1/12) This easy view of things has been known for a long time, but has only been popular

Re: smtplib does not send to all recipients

2005-04-14 Thread dccarson
OK, I've discovered the lost messages, but I'm still slightly confused as to why they ended up there. The messages were being delivered to the local machine, box1.domain.com, even though I was addressing them to user@domain.com. My past experience with smtp mail has been that if I addressed the

Re: Supercomputer and encryption and compression @ rate of 96%

2005-04-14 Thread TZOTZIOY
On 14 Apr 2005 02:27:26 -0700, rumours say that [EMAIL PROTECTED] might have written: Supercomputer and encryption and compression @ rate of 96% [snip] In other words, the story of your life can be expressed as a single binary zero. Get one. -- TZOTZIOY, I speak England very best. Be strict

Re: Dr. Dobb's Python-URL! - weekly Python news and links (Apr 11)

2005-04-14 Thread Simon Brunning
On 4/14/05, Peter Hansen [EMAIL PROTECTED] wrote: Greg Ewing wrote: (Darn. I finally say something that gets into Quote of the Week, and it's attributed to someone else! :-) :-) :-) +1 on this for meta-QOTW, solving both problems... Yeah, but to whom do I attribute it? ;-) -- Cheers,

Re: Compute pi to base 12 using Python?

2005-04-14 Thread François Pinard
[Bengt Richter] It might also be interesting to keep a running sum of the base 12 values and use sum % 88 to select piano keys, to let it walk intervals outside of a single octave ;-) The generated would then run from the low octaves to high octaves monotically, then start over again and

Re: A little request about spam

2005-04-14 Thread Ivan Van Laningham
Hi All-- The listowner could turn on the [PYTHON] headers. I'm not using spambayes yet, although I'm leaning toward it, but that step alone could save me some work when trying to decide based on subject line alone whether or not an email is spam. As it stands now, it's too easy to decide

Re: Supercomputer and encryption and compression @ rate of 96%

2005-04-14 Thread TZOTZIOY
On Thu, 14 Apr 2005 13:49:22 +0200, rumours say that Fredrik Lundh [EMAIL PROTECTED] might have written: Will McGugan wrote: Please implement this as a Python module. I would like to compress my mp3 collection to single bits. here's the magic algorithm (somewhat simplified): [snip algo

Converting a perl module to a python module would it be worth it?

2005-04-14 Thread Mothra
Hi All, I am the current author of the Astro-Sunrise perl module http://search.cpan.org/~rkhill/Astro-Sunrise-0.91/Sunrise.pm and was wondering if it would be worth while to convert it to python. First off, I have never programmed in python. I would like to use this project to learn python. I was

Re: Supercomputer and encryption and compression @ rate of 96%

2005-04-14 Thread Fredrik Lundh
[0] -- btw, in your code, Fredrik: file = open(keycode + .out, wb).replace(keycode, filename) if you do that, decompression won't work. /F -- http://mail.python.org/mailman/listinfo/python-list

Get the entire file in a variable - error

2005-04-14 Thread martijn
H! I'm using a database and now I want to compress a file and put it into the database. So I'm using gzip because php can open the gzip file's. The only problem is saving the file into the database. The function below does this: - gzip the file [oke] - get all the bytes with tst.getvalue()

Re: A little request about spam

2005-04-14 Thread Timothy Grant
On 4/14/05, mark hellewell [EMAIL PROTECTED] wrote: On 4/14/05, BJörn Lindqvist [EMAIL PROTECTED] wrote: Please do not reply to spam. Replying to spam makes it much harder for spam filters to catch all the spam or will produce very many false positives. Atleast that's how gmail's filter

Re: Dr. Dobb's Python-URL! - weekly Python news and links (Apr 11)

2005-04-14 Thread Roel Schroeven
Simon Brunning wrote: ... Not that it really matters, but does anybody know why the weekly Python news always arrives twice? Does it only happen to me, or does it happen to others too? It's not that it irritates me or anything, I'm just being curious. -- If I have been able to see further,

Re: Compute pi to base 12 using Python?

2005-04-14 Thread Bill Mill
On 13 Apr 2005 19:05:01 -0700, Paul Rubin http://phr.cx@nospam.invalid wrote: Dick Moores [EMAIL PROTECTED] writes: I don't believe GNU bc is available for Windows, is it? I don't know. It probably works ok under Cygwin at least. bc definitely works on cygwin, and is available at

Re: Get the entire file in a variable - error

2005-04-14 Thread Jeff Epler
It's not clear to me what you mean by the first line (gzip does not output a file composed of lines, its output is byte-oriented). Printing tst.getvalue() is probably not a very useful thing to do, since it won't do anything useful when the output is a terminal, and it will add an extra newline

Re: Supercomputer and encryption and compression @ rate of 96%

2005-04-14 Thread martijn
And how do you get the data back ? 1+0=0 == 0+0=0 0+1=1 == 1+1=1 let's say you have the end key : 0 then you want to decompress it , but in what ? 0 0 or 1 0 ;) -- http://mail.python.org/mailman/listinfo/python-list

EOF-file missing

2005-04-14 Thread Tor Erik Sønvisen
Hi From a client I read a file into a string using read(). On the server-side (it's a HTTPServer) i access the same string through the input stream rfile. However all useful read-methods (readlines, readline, read) expect an EOF before terminating. And for some reason the stream doesn't have

Re: Converting a perl module to a python module would it be worth it?

2005-04-14 Thread bruno modulix
Mothra wrote: Hi All, I am the current author of the Astro-Sunrise perl module http://search.cpan.org/~rkhill/Astro-Sunrise-0.91/Sunrise.pm and was wondering if it would be worth while to convert it to python. Only you and your module's users may tell... First off, I have never programmed in

Re: EOF-file missing

2005-04-14 Thread infidel
You can use the Content-Length header to tell the server how long the string is. -- http://mail.python.org/mailman/listinfo/python-list

Re: Dr. Dobb's Python-URL! - weekly Python news and links (Apr 11)

2005-04-14 Thread Dave Brueck
Roel Schroeven wrote: Simon Brunning wrote: ... Not that it really matters, but does anybody know why the weekly Python news always arrives twice? Does it only happen to me, or does it happen to others too? It's not that it irritates me or anything, I'm just being curious. I just thought it was

Re: A little request about spam

2005-04-14 Thread Ivan Van Laningham
Hi All-- Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2005-04-14 08:22:48 -0600: The listowner could turn on the [PYTHON] headers. I hope they don't. What's your reasoning? I'm not using spambayes yet, although I'm leaning toward it, but that step alone could save me some work

MESSAGE COULD NOT BE DELIVERED

2005-04-14 Thread bobby . okinaka
-- Virus Warning Message (on cesio.consuldata.com.br) Found virus WORM_MYDOOM.M in file qvupy.html .scr (in qvupy.zip) The uncleanable file is deleted. Para maiores informacoes, contate o suporte da ConsulData: +55 (13) 3219-6522 ou [EMAIL

Re: Converting a perl module to a python module would it be worthit?

2005-04-14 Thread Ivan Van Laningham
Hi All-- bruno modulix wrote: Mothra wrote: Hi All, I am the current author of the Astro-Sunrise perl module http://search.cpan.org/~rkhill/Astro-Sunrise-0.91/Sunrise.pm and was wondering if it would be worth while to convert it to python. Only you and your module's users may

Nokia to speak at Python-UK next week

2005-04-14 Thread andy
I am please to announce that Tapio Tallgren of Nokia Research Labs is coming to Python-UK to talk about Python on the Nokia Series 60 phones. If you want to get hands-on, upgrade that handset now! This is a late addition to an already star-studded programme including Greg Stein of Google, and

Re: A little request about spam

2005-04-14 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2005-04-14 09:06:08 -0600: Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2005-04-14 08:22:48 -0600: The listowner could turn on the [PYTHON] headers. I hope they don't. What's your reasoning? It's 9 characters ([PYTHON] ) of screen real estate

Re: Get the entire file in a variable - error

2005-04-14 Thread martijn
I mean it like this. I must have a variable that includes a file (in this case a .gz file) for putting that in a database. (never null) Thanks, -- http://mail.python.org/mailman/listinfo/python-list

connection refused when uploading a package to pypi

2005-04-14 Thread Sylvain Thenault
Hi ! I got a connection refused when I try to upload a package using python setup.py register. However login using the web interface works well. Does anyone has the same problem or is it a problem on my side ? [EMAIL PROTECTED]:pylint$ python setup.py register running register We need to know

Re: Compute pi to base 12 using Python?

2005-04-14 Thread Nick Craig-Wood
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm using GMPY (see code). [snip] If you are using gmpy you might as well do it like this. gmpy.pi() uses the Brent-Salamin Arithmetic-Geometric Mean formula for pi IIRC. This converges quadratically, and it will calculate you a million places

Re: Supercomputer and encryption and compression @ rate of 96%

2005-04-14 Thread Will McGugan
Fredrik Lundh wrote: Will McGugan wrote: Please implement this as a Python module. I would like to compress my mp3 collection to single bits. here's the magic algorithm (somewhat simplified): def algorithm(data): m = 102021 # magic constant d = [int(c) for c in str(1*2*3*4*5*m+5+4+2+1)]

Re: Supercomputer and encryption and compression @ rate of 96%

2005-04-14 Thread TZOTZIOY
On Thu, 14 Apr 2005 16:35:59 +0200, rumours say that Fredrik Lundh [EMAIL PROTECTED] might have written: [0] -- btw, in your code, Fredrik: file = open(keycode + .out, wb).replace(keycode, filename) if you do that, decompression won't work. How obvious, now that you mention it... :) --

Re: Supercomputer and encryption and compression @ rate of 96%

2005-04-14 Thread Fredrik Lundh
Will McGugan wrote: Muchas gracias. Although there may be a bug. I compressed my Evanescence albumn, but after decompression it became the complete works of Charles strange. the algorithm should be reversible. sounds like an operating system bug. what system are you using? /F --

Re: A little request about spam

2005-04-14 Thread Bill Mill
On 4/14/05, César Leonardo Blum Silveira [EMAIL PROTECTED] wrote: Yeah that is happening to me too! Almost all my python-list e-mails go to the Spam box. Maybe we should contact the gmail admins? I've already contacted the gmail admins. There was no response. Peace Bill Mill bill.mill at

Re: A little request about spam

2005-04-14 Thread mark hellewell
On 4/14/05, Steven Cummings [EMAIL PROTECTED] wrote: For what it's worth I filed a gmail issue over it a few days after I noticed it. I guess more of you could do so indicating the severity of the issue to the gmail developers. And I thought I was the only one...! I've now done the same. Let's

py2exe + XML-RPC problem

2005-04-14 Thread codecraig
Hi, I tried to take the Monkey Shell script (http://www.sharp-ideas.net/archives/2005/03/monkey_shell_us.html) and make it into an executable. I am making an executable for the server piece (monkey_shelld.py). So my setup.py looks like this # setup.py from distutils.core import setup import

Re: A little request about spam

2005-04-14 Thread Fredrik Lundh
Bill Mill wrote: Maybe we should contact the gmail admins? I've already contacted the gmail admins. There was no response. have you tried reading the newsgroup via http://groups-beta.google.com/group/comp.lang.python while being logged in to your gmail account? /F --

curses for different terminals

2005-04-14 Thread harold fellermann
Hi all, I want to use curses in a server application that provides a GUI for telnet clients. Therefore, I need the functionality to open and handle several screens. Concerning http://dickey.his.com/ncurses/ncurses-intro.html#init this can be done using the function newterm(type,ofp,ifp).

Re: A little request about spam

2005-04-14 Thread Bill Mill
On 4/14/05, Fredrik Lundh [EMAIL PROTECTED] wrote: Bill Mill wrote: Maybe we should contact the gmail admins? I've already contacted the gmail admins. There was no response. have you tried reading the newsgroup via http://groups-beta.google.com/group/comp.lang.python while

New-style classes, iter and PySequence_Check

2005-04-14 Thread Tuure Laurinolli
Someone pasted the original version of the following code snippet on #python today. I started investigating why the new-style class didn't work as expected, and found that at least some instances of new-style classes apparently don't return true for PyInstance_Check, which causes a problem in

Re: Python-list Digest, Vol 19, Issue 209

2005-04-14 Thread Scott Leerssen
On Apr 13, 2005, at 12:41 PM, [EMAIL PROTECTED] wrote: From: Scott Leerssen [EMAIL PROTECTED]> Date: April 13, 2005 12:29:35 PM EDT To: python-list@python.org Subject: unstatisfied symbols building Python 2.4.1 on HP-UX 10.20 I'm trying to build Python 2.4.1 on HP-UX 10.20 and get the

Re: Web Application Client Module

2005-04-14 Thread Henk Verhoeven
Chung Leong wrote: It's easy. Just create an application that hosts the MSHTML ActiveX control (IE itself minus the interface). With tools like Delphi or Visual Basic, it's literally a matter of dragging and dropping the control into the form. Even in Visual C++ it's not that hard. Hi Chung , Of

Re: curses for different terminals

2005-04-14 Thread TZOTZIOY
On Thu, 14 Apr 2005 18:39:14 +0200, rumours say that harold fellermann [EMAIL PROTECTED] might have written: Hi all, I want to use curses in a server application that provides a GUI for telnet clients. Therefore, I need the functionality to open and handle several screens. Just to make sure

Re: curses for different terminals

2005-04-14 Thread harold fellermann
On 14.04.2005, at 19:17, Christos TZOTZIOY Georgiou wrote: On Thu, 14 Apr 2005 18:39:14 +0200, rumours say that harold fellermann [EMAIL PROTECTED] might have written: Hi all, I want to use curses in a server application that provides a GUI for telnet clients. Therefore, I need the functionality

Re: String manipulation

2005-04-14 Thread Terry Reedy
vincent wehren [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Nicholas Graham | Any suggestions? Take a look at the built-in functions ord() and chr() -- Chapter 2.1 of the manual. And more generally, read all of Chap.2 of the Library Reference on builtin functions and types.

Re: Converting a perl module to a python module would it be worthit?

2005-04-14 Thread Mothra
Ivan Van Laningham [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All-- bruno modulix wrote: Mothra wrote: Hi All, I am the current author of the Astro-Sunrise perl module http://search.cpan.org/~rkhill/Astro-Sunrise-0.91/Sunrise.pm and was wondering if it

Re: Get the entire file in a variable - error

2005-04-14 Thread Pokerface
What kind of DB? Maybe the field type you're hunting for is a BLOB? Or perhaps you need to be formatting the string differently than it's entered (like php's addslashes() or something)? -- Pokerface:: Posted from Tactical Gamer - http://www.TacticalGamer.com :: --

Re: smtplib does not send to all recipients

2005-04-14 Thread Peter Hansen
[EMAIL PROTECTED] wrote: OK, I've discovered the lost messages, but I'm still slightly confused as to why they ended up there. The messages were being delivered to the local machine, box1.domain.com, even though I was addressing them to user@domain.com. The address is irrelevant with SMTP. What

Python 2.3.5 make: *** [Parser/pgen] Error 1 Parser/grammar.o: I n function `translabel': undefined reference to `__ctype_b'

2005-04-14 Thread Karalius, Joseph
Can anyone explain what is happening here? I haven't found any useful info on Google yet. Thanks in advance. mmagnet:/home/jkaralius/src/zopeplone/Python-2.3.5 # make gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o

PyAr - Python Argentina 8th Meeting, today

2005-04-14 Thread Batista, Facundo
Title: PyAr - Python Argentina 8th Meeting, today The Argentine Python User Group, PyAr, will have its eighth meeting today at 7:00pm. Agenda -- Despite our agenda tends to be rather open, this time we would like to cover these topics: - Conclusions of PyAr in PyCon 2005. - See

Re: Simple Python + Tk text editor

2005-04-14 Thread Jonathan Fine
Eric Brunel wrote: snip Do you know the (apparently dead) project named e:doc? You can find it here: http://members.nextra.at/hfbuch/edoc/ It's a kind of word processor that can produce final documents to various formats using backends, and one of the backends is for LaTeX. It's written in

distribute python script

2005-04-14 Thread codecraig
i want to distribute my python script as an executable. I have tried py2exe but it caused a problem in my script when I ran it. I know about Gordon McMillans Installer (which is no longer hosted)..but i tried that and when i run the .exe it generated, it just crashes (i.e. Windows wants to send

  1   2   3   >