Re: Python for web...

2008-02-25 Thread Ivan Van Laningham
. Although mod_python is fine, I had more success using fastcgi with Django (you can run Django as a fastcgi process). It was less troublesome to set up and the chances your hosting provider supports it are bigger. 2B -- http://mail.python.org/mailman/listinfo/python-list -- Ivan Van

Re: Python for web...

2008-02-24 Thread Ivan Van Laningham
couldnt find any detailed book, not even a single book :( All the python books are covering only CGI part) Any suggestions? Any recommended book? Execuse my English. Thushanthan. -- http://mail.python.org/mailman/listinfo/python-list -- Ivan Van

Re: Solve a Debate

2008-02-15 Thread Ivan Van Laningham
] 28 So the answer is mu...let Python do the work for you :) -tkc -- http://mail.python.org/mailman/listinfo/python-list -- Ivan Van Laningham God N Locomotive Works http://www.pauahtun.org/ http://www.python.org/workshops/1998-11/proceedings/papers/laningham/laningham.html

Re: Why not a Python compiler?

2008-02-07 Thread Ivan Van Laningham
visi.coma nuclear meltdown!! -- http://mail.python.org/mailman/listinfo/python-list -- Ivan Van Laningham God N Locomotive Works http://www.pauahtun.org/ http://www.python.org/workshops/1998-11/proceedings/papers/laningham/laningham.html Army Signal Corps: Cu Chi

Re: Problem with Tkinter scrollbar callback

2008-01-30 Thread Ivan Van Laningham
, Russell E. Owen [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], Ivan Van Laningham [EMAIL PROTECTED] wrote: Hi All-- That helps. Doing a get() on the scrollbar before a set(0.0,0.0) returns a 4-tuple: (0.0, 0.0, 0.0, 0.0) ! I did the set(0.0,0.0) and now

Re: Problem with Tkinter scrollbar callback

2008-01-29 Thread Ivan Van Laningham
is that it waits 1000 milliseconds before exhibiting the same uncontrolled growth as before. Metta, Ivan On Jan 25, 2008 5:49 PM, Russell E. Owen [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], Ivan Van Laningham [EMAIL PROTECTED] wrote: Hi All-- That helps. Doing a get() on the scrollbar

Re: Problem with Tkinter scrollbar callback

2008-01-29 Thread Ivan Van Laningham
PROTECTED], Ivan Van Laningham [EMAIL PROTECTED] wrote: Hi All-- That helps. Doing a get() on the scrollbar before a set(0.0,0.0) returns a 4-tuple: (0.0, 0.0, 0.0, 0.0) ! I did the set(0.0,0.0) and now the callback gets the correct number of arguments. However, I'm still

Problem with Tkinter scrollbar callback

2008-01-24 Thread Ivan Van Laningham
an arrow button once, the callback continues to be called until I kill the app. That doesn't happen in the small program I've provided above, so I'm at a bit of a loss where to start looking. Any hints? Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.pauahtun.org/ http

Re: Problem with Tkinter scrollbar callback

2008-01-24 Thread Ivan Van Laningham
, Russell E. Owen [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], Ivan Van Laningham [EMAIL PROTECTED] wrote: Hi All-- I'm having two problems with the scrollbar callback on linux systems (Fedora 7, Suse 10.1,2 and 3 all exhibit the issues). Problem one: on Windows, the callback

Re: OT: World's largest Python caught!:)

2005-08-08 Thread Ivan Van Laningham
/mailman/listinfo/python-list -- -- Ivan Van Laningham God N Locomotive Works http://www.pauahtun.org/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http

Re: [path-PEP] Path inherits from basestring again

2005-07-30 Thread Ivan Van Laningham
-- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman/listinfo/python-list

Re: [path-PEP] Path inherits from basestring again

2005-07-29 Thread Ivan Van Laningham
/ away from people who use it and like it. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself

Re: [path-PEP] Path inherits from basestring again

2005-07-24 Thread Ivan Van Laningham
;-) Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org

Re: Image orientation and color information with PIL?

2005-07-18 Thread Ivan Van Laningham
searched the newsgroup then you might have overlooked the docs. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70

Re: Earthquake Forecasting Program July 11, 2005

2005-07-18 Thread Ivan Van Laningham
-- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman/listinfo/python-list

Codecs

2005-07-08 Thread Ivan Van Laningham
that if I want to try to read an unknown file using an exhaustive list of possible encodings, the best place to keep the most current list is the codec registry itself, not in the documentation for the codec module. Metta, Ivan -- Ivan Van Laningham God N

Re: map/filter/reduce/lambda opinions and background unscientificmini-survey

2005-07-05 Thread Ivan Van Laningham
, like giving engineers too much information, is really hard to do. Live by the sword, die by the sword. Metta, int *(*(*foo)())()-ly y'rs, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops

Re: Modules for inclusion in standard library?

2005-07-01 Thread Ivan Van Laningham
the default encoding if you want to use non-ASCII. It might work beautifully, but I won't use it, at least not until it's fixed to understand encodings. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http

Re: map/filter/reduce/lambda opinions and background unscientificmini-survey

2005-07-01 Thread Ivan Van Laningham
won't miss them, but since I don't use them now, that doesn't mean a whole lot. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi

Re: Python for everything?

2005-06-30 Thread Ivan Van Laningham
there, knowing C was pretty much a guarantee of a good job. That changed when C++ compilers became common and good and not merely preprocessors that wrote really, really ugly C. Metta, while(*s++=*p++);-ly y'rs, Ivan;-) -- Ivan Van Laningham God N

Re: Favorite non-python language trick?

2005-06-28 Thread Ivan Van Laningham
Hi All-- Mike Meyer wrote: Since the user is the one bound with BD languages, they are clearly tops. Which makes Python a bottom. Well, we certainly hope Python has a safe word. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http

Re: Thoughts on Guido's ITC audio interview

2005-06-27 Thread Ivan Van Laningham
. f u cn rd ths, u cn gt a gd jb n nx prgrmmng. l tk t. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author

Re: Which kid's beginners programming - Python or Forth?

2005-06-27 Thread Ivan Van Laningham
-- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman/listinfo

Re: PEP ? os.listdir enhancement

2005-06-23 Thread Ivan Van Laningham
],os.path.join)) That way I could def my own join and call it as print list(mylistdir(sys.argv[1],myjoin)) (Note that in your version the join argument isn't used at all.) Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com

Re: pickle broken: can't handle NaN or Infinity under win32

2005-06-23 Thread Ivan Van Laningham
Hi All-- Tim Peters wrote: Fortran is so eager to allow optimizations that failure due to numeric differences in conformance tests rarely withstood challenge. +1 QOTW Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi

Re: key - key pairs

2005-06-23 Thread Ivan Van Laningham
-- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman/listinfo/python-list

Re: A World Beyond Capitalism 2005,

2005-06-23 Thread Ivan Van Laningham
-- Ivan Van Laningham God N Locomotive Works http://www.pauahtun.org/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman/listinfo/python

Re: pickle broken: can't handle NaN or Infinity under win32

2005-06-22 Thread Ivan Van Laningham
, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org

Re: functions with unlimeted variable arguments...

2005-06-18 Thread Ivan Van Laningham
-up-perl-ly y'rs, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http

Re: maybe a bug in python: NOW Pythonic Gotchas

2005-06-05 Thread Ivan Van Laningham
. -- [http://www.flyaflya.com/] -- http://mail.python.org/mailman/listinfo/python-list --- -- http://mail.python.org/mailman/listinfo/python-list -- -- Ivan Van Laningham God N

Re: REQ: Small Perl to Python conversion needed

2005-06-02 Thread Ivan Van Laningham
Hi All-- John Machin wrote: how to duplicate the following bit of code using Python dictionaries. [expletives deleted] +1 QOTW Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python

PySol not working on WinXP, SP2

2005-06-01 Thread Ivan Van Laningham
Python 2.4. My wife's going to be force to upgrade to SP2 some of these days, and she won't be happy if her solitaire doesn't work. Does anyone have a working version? Anyone know what happened to Markus ... Oberhumer? Metta, Ivan -- Ivan Van

Re: PySol not working on WinXP, SP2

2005-06-01 Thread Ivan Van Laningham
. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http

Re: PySol not working on WinXP, SP2

2005-06-01 Thread Ivan Van Laningham
the work already, or at least had pointers to docs on how to get it working. Metta, Ivan -Jim On 6/1/05, Ivan Van Laningham [EMAIL PROTECTED] wrote: Hi All-- I've been using PySol-4.40 for years, because that was the last Windows installer version I could find. My wife's been using

Re: working with pointers

2005-05-31 Thread Ivan Van Laningham
(without attempting to preserve Dave's admirable brevity): a=[3,5,6] b=a b is a reference to a; both b and a are names bound to [3,5,6]. a=[3,5,6] b=a[:] a and b are now bound to different instances of [3,5,6] Metta, Ivan -- Ivan Van Laningham God N

Re: the problem with cgi

2005-05-29 Thread Ivan Van Laningham
hat on? Metta, Ivan PS: Sorry, I meant, Does he have his fucking tinfoil hat on? -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class

Re: Python forum

2005-05-19 Thread Ivan Van Laningham
Hi All-- Peter Hansen wrote: Ivan Van Laningham wrote: Robert Kern wrote: dict.org says _forums_. I used _fora_, but I'm silly. It also says appendixes and indexes are OK. Yahoos. Should that be Yaha? g Nope. I appreciate the sentiment, but Yahoo is neither Latin nor Greek

Re: Python forum

2005-05-18 Thread Ivan Van Laningham
-- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman/listinfo/python-list

Re: Is Python suitable for a huge, enterprise size app?

2005-05-18 Thread Ivan Van Laningham
, there are ways around the second, but you're going to have to talk _very_ fast and have ALL the answers before the management type gets to his/her office and shuts the door in your face and on your idea.) Metta, Ivan -- Ivan Van Laningham God N Locomotive

Re: NaN support etc.

2005-05-18 Thread Ivan Van Laningham
the code to print stuff like that out, I'd think. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach

Re: Is Python suitable for a huge, enterprise size app?

2005-05-18 Thread Ivan Van Laningham
Hi All-- George Sakkis wrote: Ivan Van Laningham wrote: An idea that perhaps takes the best of both worlds is use java for the high level architecture and static type interfaces, and write the bulk of the implementation in jython. PSF has awarded a grant to make jython catch up

Re: Representing ambiguity in datetime?

2005-05-17 Thread Ivan Van Laningham
-- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman/listinfo

Re: Python Documentation (should be better?)

2005-05-11 Thread Ivan Van Laningham
. Or it's what I'm trying to write;-) Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself

Re: Python Documentation (should be better?)

2005-05-11 Thread Ivan Van Laningham
It, except in the Docs, that is. Good as Google is, it is not good for a doc search. We don't have a doc search, we have a doc hurl. BTW, my tortured method is quicker than Bruno's, because to use his method I'd have to start the interactive interpreter. Bruno Desthuilliers wrote: Ivan Van Laningham

Re: Python Documentation (should be better?)

2005-05-11 Thread Ivan Van Laningham
Hi All-- Steven Bethard wrote: Ivan Van Laningham wrote: I should be able to type string methods into the text box, push submit, and IT SHOULD HAND ME THE PAGE. Not Results 1 - 20 of about 9,800 from www.python.org for string methods. (0.78 seconds) Regardless, assuming the right

Re: Python Documentation (should be better?)

2005-05-11 Thread Ivan Van Laningham
Hi All-- Robert Kern wrote: Ivan Van Laningham wrote: http://www.python.org/doc/ Searching on docs.python.org goes through just the stuff that's on docs.python.org, which is pretty much just documentation. Google's magic points to the current documentation. Searching

Re: Python Documentation (should be better?)

2005-05-11 Thread Ivan Van Laningham
Hi All-- John Bokma wrote: Ivan Van Laningham wrote: Python docs are not as good as PHP docs. Oh my. I hope you are just making that up. PHP documentation is guesstimated on how PHP works on average. Add the online comments clutter and you probably are better off reading the source

Re: Advice needed on __del__

2005-05-09 Thread Ivan Van Laningham
-that?-ly y'rs, Ivan;-) -- Ivan Van Laningham God N Locomotive Works http://www.pauahtun.org/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http

Re: Trouble saving unicode text to file

2005-05-07 Thread Ivan Van Laningham
with another Unicode-aware system over an 8-bit wide channel, encode as utf-8, not cp666) +1 QOTW And true, too. i-especially-like-the-cp666-part-ly y'rs, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com

Re: Whats the best Python Book for me

2005-05-01 Thread Ivan Van Laningham
on this list. If I were starting now, in your place, I'd get a copy of the _Python Cookbook_ (2e) and keep that handy. It's a good place to learn idioms, and that's what you're most in need of right now. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works

Re: Fwd: how to find the drive in python/cygwin?

2005-04-30 Thread Ivan Van Laningham
Hi All-- Jason Tishler wrote: Ivan, On Tue, Apr 26, 2005 at 07:02:48PM -0600, Ivan Van Laningham wrote: Use win32api to find drives: cut here #!/usr/bin/python # -*- coding: utf-8 -*- import os import os.path import win32api [snip] AFAICT, the win32api module

Re: Fwd: how to find the drive in python/cygwin?

2005-04-30 Thread Ivan Van Laningham
try to use os.path.sep() and os.path.join(), etc. What else could bite me? ;-) Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi

Re: Python documentation moronicities (continued)

2005-04-26 Thread Ivan Van Laningham
-- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman

Re: Fwd: how to find the drive in python/cygwin?

2005-04-26 Thread Ivan Van Laningham
will be None Drives.append([dr,inf]) return Drives if __name__==__main__: drives=findAllDrives() for i in drives: print i[0],i[1] cut here Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi

Re: Multiple tuples for one for statement

2005-04-25 Thread Ivan Van Laningham
Hi All-- R. C. James Harlow wrote: or just: for a,b,c in (tup1, tup2, tup3): print a print b print c And this works in Python version??? Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http

Re: Multiple tuples for one for statement

2005-04-25 Thread Ivan Van Laningham
Hi All-- R. C. James Harlow wrote: On Monday 25 April 2005 14:34, Ivan Van Laningham wrote: Hi All-- R. C. James Harlow wrote: or just: for a,b,c in (tup1, tup2, tup3): print a print b print c And this works in Python version??? Ah, reading

Re: Multiple tuples for one for statement

2005-04-25 Thread Ivan Van Laningham
-- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman/listinfo/python-list

Re: Multiple tuples for one for statement

2005-04-25 Thread Ivan Van Laningham
Peter Hansen wrote: Ivan Van Laningham wrote: I can see that now. I had three hours sleep last night and my brain hurts, so I don't get it. I seek enlightenment. So do I: did you mean you don't even get what my code is doing...? Yes. I barely remember my own name right now

Re: Rudeness on this list [Re: rudeness was: Python licence again]

2005-04-24 Thread Ivan Van Laningham
with François. Oh, and Gordon. Don't see Gordon around. Where's he? Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class

Re: trying to read from dying disk

2005-04-23 Thread Ivan Van Laningham
that is waiting for a hardware interrupt. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself

Re: goto statement

2005-04-21 Thread Ivan Van Laningham
-- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman

Re: Name/ID of removable Media: how?

2005-04-19 Thread Ivan Van Laningham
-- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman/listinfo

Re: Name/ID of removable Media: how?

2005-04-19 Thread Ivan Van Laningham
win32api is returning an int (type(sn) is type 'int'), converting to hex bears no resemblance to what WMI shows. What am I missing? Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python

Re: Name/ID of removable Media: how?

2005-04-19 Thread Ivan Van Laningham
Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman/listinfo/python-list

Re: Variables variable

2005-04-19 Thread Ivan Van Laningham
a dictionary. I have never seen a case where a dictionary didn't improve the design. +1QOTW. Well. Storing a Mayan number/date as a dictionary turned out to be a Spectacularly Bad Idea(tm);-), so I guess that's one case. Metta, Ivan -- Ivan Van Laningham

Re: Slight discrepancy with filecmp.cmp

2005-04-18 Thread Ivan Van Laningham
Hi All-- John Machin wrote: On Sun, 17 Apr 2005 22:06:04 -0600, Ivan Van Laningham [EMAIL PROTECTED] wrote: [snip] So I wrote a set of programs to both index the disk versions with the cd versions, and to compare, using filecmp.cmp(), the cd and disk version. Works fine. Turned up

Slight discrepancy with filecmp.cmp

2005-04-17 Thread Ivan Van Laningham
going through the picture above which it's normal, and below it either the color has changed (usually to pinkish) or the remaining raster lines are all shifted either right or left? Any ideas? Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http

Re: A little request about spam

2005-04-14 Thread Ivan Van Laningham
suppose there's much we can do about it? -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python

Re: A little request about spam

2005-04-14 Thread Ivan Van Laningham
the message, and for HTML-based mail there's no surer way to let spammers know they've found a live email addres than to open it. You know that. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com

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

2005-04-14 Thread Ivan Van Laningham
more knowledgeable than me will come along and set us straight. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70

Re: Utah Python Users Group

2005-04-13 Thread Ivan Van Laningham
, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org

Re: Compute pi to base 12 using Python?

2005-04-13 Thread Ivan Van Laningham
would an artist want the first 3003 digits of pi to the base 12? 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 Oooh. Wanta hear it. Metta, Ivan -- Ivan Van Laningham God N

Re: [perl-python] Python documentation moronicities (continued)

2005-04-12 Thread Ivan Van Laningham
him $100 to re-write the PERL docs? Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself

Re: curious problem with large numbers

2005-04-08 Thread Ivan Van Laningham
XP box. -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http

Re: Interpreter problem

2005-04-08 Thread Ivan Van Laningham
on your win system, but do have cat, you can use cat -d. #!/bin/sh cat -d $1 snot mv snot $1 (Prone to error, of course.) insert-std-disclaimers-about-vim-vs-classic-vi-behaviours-here-ly y'rs, Ivan -- Ivan Van Laningham God N Locomotive Works http

Re: shebang in cross platform scripts

2005-04-06 Thread Ivan Van Laningham
to work just fine. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours

Re: IronPython 0.7 released!

2005-04-05 Thread Ivan Van Laningham
Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman/listinfo/python-list

Re: Best editor?

2005-04-05 Thread Ivan Van Laningham
-- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman/listinfo/python-list

Re: Lambda: the Ultimate Design Flaw

2005-04-05 Thread Ivan Van Laningham
the environment around it--includes, libs, where things lived, etc. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class

Re: Pseudocode in the wikipedia

2005-04-02 Thread Ivan Van Laningham
. Now that I'm not working I've got time to catch up on what's new in Python. Nice to see a few familiar faces, too. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11

Re: string goes away

2005-04-01 Thread Ivan Van Laningham
-- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman/listinfo/python-list

Re: Pseudocode in the wikipedia

2005-04-01 Thread Ivan Van Laningham
, Ivan PS: I don't think this is an 0401 page; it's been there a while. -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70

Re: string goes away

2005-03-31 Thread Ivan Van Laningham
or not to remove the string module. Maybe you can just direct me to the right place. I think we both missed it. I been off the list for four years. They wouldn'ta listened to me anyhow. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http

Re: Stylistic question about inheritance

2005-03-31 Thread Ivan Van Laningham
thinking making 200 twelve-line ASP classes. Ya think there's a hard-wired limit past which your brain melts? Paraphrasing Occam, I would say don't multiply base classes without necessity ;) +1 QOTW Metta, Ivan -- Ivan Van Laningham God N Locomotive

Re: [ANN]: Last Chance 2005 IORCC Entries

2005-03-30 Thread Ivan Van Laningham
are dissed by being shoehorned into someone else's categories? Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70

Re: Using something other than ';' to separate statements

2005-03-30 Thread Ivan Van Laningham
-- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman/listinfo/python-list

Re: Max files in unix folder from PIL process

2005-03-29 Thread Ivan Van Laningham
-- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman/listinfo/python-list

Re: Grouping code by indentation - feature or ******?

2005-03-25 Thread Ivan Van Laningham
Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman/listinfo/python-list

Re: C type buffer copy

2005-03-22 Thread Ivan Van Laningham
-- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org/mailman

Re: Python scope is too complicated

2005-03-20 Thread Ivan Van Laningham
, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours -- http://mail.python.org

Re: Pre-PEP: Dictionary accumulator methods

2005-03-19 Thread Ivan Van Laningham
seems non-intuitive to me. Just my 2 Eurocents, I raise you by a ruble and a pound ;-) hardly-anything-is-worth-less-than-vietnamese-dong-ly y'rs, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.andi-holmes.com/ http://www.foretec.com

Re: Pre-PEP: Dictionary accumulator methods

2005-03-19 Thread Ivan Van Laningham
={} d.setincrement(-1) for word in text.split(): d.tally(word,1) if word.lower() in [a,an,the]: d.tally(word) Not that there's any real utility in that. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works http://www.pauahtun.org/ http

Re: Pre-PEP: Dictionary accumulator methods

2005-03-18 Thread Ivan Van Laningham
: self[key] += qty except KeyError: self[key] = qty There is no existing add() method for dictionaries. Given the name change, I'd like to see it. Metta, Ivan -- Ivan Van Laningham God N Locomotive Works