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 P

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.pyt

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). However

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? -- http://mail.

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 py

Re: Compute pi to base 12 using Python?

2005-04-14 Thread [EMAIL PROTECTED]
Nick Craig-Wood wrote: > [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 i

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. L

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

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? -- http://

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 men

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: 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

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 w

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

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

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 many

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 u

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 PRO

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

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 for

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: 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 python

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 th

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

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: 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

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, i

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

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() [erro

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. -- http://mail.python.org/mailman/listinfo/python-list

Re: A little request about spam

2005-04-14 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2005-04-14 08:22:48 -0600: > The listowner could turn on the [PYTHON] headers. I hope they don't. > 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 n

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 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):

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 incorre

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 ag

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? ;-) -- C

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: 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 @domain.com. My past experience with smtp mail has been that if I addressed the domai

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 (relat

[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: 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

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 PROT

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: 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

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 "/usr/lib/pytho

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 | curselection(self

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 loo

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 -- http://mail.python.org/mailman/l

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. R

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 subje

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: 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: 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

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: 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) > >

Tk Listbox - Selected Item ?

2005-04-14 Thread Peter Moscatt
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 -- http://mail.python.org/mailman/listinfo/python-list

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: 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(

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 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 informat

Re: A beginer question about SOAP and Python: : {}

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: : {} What does that mean? Seems like you've got a SOAPpy.Types.structType instance that is named HashStringResponse, that is located at memory address 2390

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

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. def readFactorsIntoList(self,filename,numberLoads): 1. "numberLoads" is not used. factors = [] f = open(self.

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

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,

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 sa

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 out

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

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 w

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

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: 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 F

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: 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 attac

(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 °_ ­º­¶ http://w

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

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 c

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 (Se

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

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

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

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 is

<    1   2