Spread Module 1.5 alpha 1 released

2005-01-05 Thread Tim Peters
Release 1.5a1 of the Spread Module for Python is available from a new home: http://zope.org/Members/tim_one/spread About the Spread Module --- This package contains a simple Python wrapper module for the Spread toolkit (see below). It wraps Spread mailboxes and messages

Re: Cookbook 2nd ed Credits

2005-01-05 Thread Alex Martelli
Premshree Pillai [EMAIL PROTECTED] wrote: Do contributors of less than 5 recipes get a copy too? :-? Of course! Btw, is there a comprehensive list of ALL contributors put up anywhere? Not yet -- do you think I should put it up on my website? Alex --

Re: The Industry choice

2005-01-05 Thread EP
Bulba! [EMAIL PROTECTED] wrote: Frankly, I find such models to be built on over-stretched analogies to physics - how _exactly_ is gravity supposed to be an analogy equivalent to economic forces? Sure such model can be built - but is it adequate in explaining real-world phenomenons? Analogy

Concepts RE: Python evolution: Unease

2005-01-05 Thread Roman Suzi
On Wed, 5 Jan 2005, EP wrote: Roman wrote: Maybe OP doesn't yet fully comprehend the ways of Python universe? snip Don't misinterpret this response. I know it was a rambling. But *maybe* you have something to contribute to Python development, even good ideas only and no work. .

Re: Python evolution: Unease

2005-01-05 Thread Carlos Ribeiro
On Tue, 4 Jan 2005 19:19:32 -0600, Skip Montanaro [EMAIL PROTECTED] wrote: Terry Numarray has a record array type. If there is not one publicly Terry available, perhaps you could write a CSV file to record-array Terry slurper and contribute it to the Recipes site or maybe even

Re: Keyword arguments - strange behaviour?

2005-01-05 Thread brian . bird
Thanks. In case anyone else is looking, the recipe is at: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303440 (which also shows how to make it work with python2.3 and below since they don't support decorators) Brian -- http://mail.python.org/mailman/listinfo/python-list

Re: Python! Is! Truly! Amazing!

2005-01-05 Thread Richie Hindle
[Erik] I am now a super gushing fan-boy. +1 Quote of the Week! -- Richie Hindle [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Cookbook 2nd ed Credits (was Re: The Industry choice)

2005-01-05 Thread Jacek Generowicz
[EMAIL PROTECTED] (Alex Martelli) writes: ...but each still gets ONE free copy...!-) Who gets Luther Blissett's copy ? :-) And are all the Luther Blissetts the same Luther Blisset ? -- http://mail.python.org/mailman/listinfo/python-list

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

2005-01-05 Thread Max M
Carl Banks wrote: Also, note that there are some encodings unrelated to Unicode. For example, try this: . abcd.encode(base64) This is an encoding between two byte strings. Yes. This can be especially nice when you need to use restricted charsets. I needed to use unicode objects as Zope ids. But

Re: The Industry choice

2005-01-05 Thread Alex Martelli
Bulba! [EMAIL PROTECTED] wrote: ... First, even though I disagree with you in places, thanks for this reply - it enhanced my knowledge of the topic in some You're welcome! What you wrote regards especially strong the industries you pointed at: fashion, jewellery, esp. I think in those

Re: Embedding a restricted python interpreter

2005-01-05 Thread Fuzzyman
Fredrick Lundh (at www.effbot.org ) was working on a 'cut down python' that only implements the bits of python he likes !! It would be great if the core of that interpreter could be used as a 'restricted interpreter'. If you could externally disable os, sys, os.path modules etc and limit the set

Re: Cookbook 2nd ed Credits (was Re: The Industry choice)

2005-01-05 Thread gabriele renzi
Jacek Generowicz ha scritto: [EMAIL PROTECTED] (Alex Martelli) writes: ...but each still gets ONE free copy...!-) Who gets Luther Blissett's copy ? :-) And are all the Luther Blissetts the same Luther Blisset ? no, some of them are Wu Ming http://www.wumingfoundation.com/ (from

Re: Python evolution: Unease

2005-01-05 Thread Paul Rubin
Ville Vainio [EMAIL PROTECTED] writes: To me, this seems to be the job for the Fedora maintainers, not Python maintainers. If something essential is not in the distro the distro maintainers have screwed up. I can't parse that. It says two contradictory things. Sentence 2 says that if

Re: Python evolution: Unease

2005-01-05 Thread Paul Rubin
[EMAIL PROTECTED] writes: Dunno about Fedora, I stopped using Red Hat just because they were *not* using the standard Python distribution, and the version they shipped was cripped in various ways. Eh? I used Red Hat for a long while and don't remember their crippling the Python distribution.

Re: Python evolution: Unease

2005-01-05 Thread Paul Rubin
EP [EMAIL PROTECTED] writes: Python: it tastes so good it makes you hungrier. QOTW -- http://mail.python.org/mailman/listinfo/python-list

Re: Concepts RE: Python evolution: Unease

2005-01-05 Thread Paul Rubin
Roman Suzi [EMAIL PROTECTED] writes: As for concepts, they are from Generic Programming (by Musser and Stepanov) and I feel that Python is in position to implement them to the fullest extent. And IMHO it will be nicer than just Java-like interfaces or Eiffel's contract approach. I keep

Re: Cookbook 2nd ed Credits

2005-01-05 Thread Fuzzyman
Hmm... I'd love to see a list... just to know if I'm on it. Permission was sought for several of my recipes, but I don't know if any were actually used. I'm very curious... Regards, Fuzzy http://www.voidspace.org.uk/python/index.shtml -- http://mail.python.org/mailman/listinfo/python-list

is python more popular than coldfusion?

2005-01-05 Thread worzel
is python more popular than coldfusion? I realsie that is a very general question as one thing does not directly relate to the other. My issue is that I am ditching coldfusion due to there being next to no work for it, and I am thinking of taking on python as a second language to java in

Re: Concepts RE: Python evolution: Unease

2005-01-05 Thread Paul Rubin
Paul Rubin http://[EMAIL PROTECTED] writes: There is nothing in Wikipedia about [Generic programming]. Oops: http://en.wikipedia.org/wiki/Generic_programming This helps. But I don't see how it's different from what used to be called polymorphism. --

Re: is python more popular than coldfusion?

2005-01-05 Thread Fuzzyman
Definitely ! Fuzzy http://www.voidspace.org.uk/python/index.shtml -- http://mail.python.org/mailman/listinfo/python-list

Re: is python more popular than coldfusion?

2005-01-05 Thread Premshree Pillai
On Wed, 5 Jan 2005 19:59:21 +0800, worzel [EMAIL PROTECTED] wrote: is python more popular than coldfusion? I don't know if Coldfusion _was_ ever more popular than Python, but Python is definitely more popular _now_. This might be of some help: http://www.tiobe.com/tpci.htm I

Re: Python evolution: Unease

2005-01-05 Thread huy
The Python advocates who claim that Python is well-documented and take exception to when someone say it isn't. Their idea of it's well-documented seems to be if there's parts that you think are poorly documented, feel free to document it. What kind of nonsense is that? I'm not sure which

Re: How do I make Windows Application with Python ?

2005-01-05 Thread Fuzzyman
Couple of corrections - neither pypy nor starkiller are compilers. Starkiller isn't available yet and *may* be helpful in building compilers. Pyrex is an alternative language - a python/C hybrid that can be compiled. If you want to release an application then innosetup, starkit, and upx might

Re: why does UserDict.DictMixin use keys instead of __iter__?

2005-01-05 Thread Nick Coghlan
Steven Bethard wrote: Nick Coghlan wrote: .keys() is definitely part of the standard dictionary interface, and not something the mixin can derive from the generic container methods. Why is that? Isn't keys derivable as: def keys(self): return list(self) if __iter__ is defined? As you may

Re: python 3000 and removal of builtin callable

2005-01-05 Thread Nick Coghlan
Nicolas Fleury wrote: Mirko Zeibig wrote: This is not an option for e.g. IDEs as some functions might actually do something when called ;-) and I like `callable` for introspection. Other ways would be to check for the `__call__` attribute or use several methods of the `inspect`-Module, both of

Re: is python more popular than coldfusion?

2005-01-05 Thread worzel
How seriuosly do folk take the TIOBE index? Is it a good way to ague what you should be keeping up to speed with or just a 'vague' guide? Premshree Pillai [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wed, 5 Jan 2005 19:59:21 +0800, worzel [EMAIL PROTECTED] wrote: is

Re: Using python to deploy software

2005-01-05 Thread Anand
Hmm... did not watch this thread. Regarding sharing code, well I am sure you will be able to quickly produce some working client/server using Pyro for doing your task. Pyro makes it very easy to do RMI due to its network broadcast way of querying the name server. If you are not able to make any

Re: is python more popular than coldfusion?

2005-01-05 Thread Premshree Pillai
On Wed, 5 Jan 2005 21:09:54 +0800, worzel [EMAIL PROTECTED] wrote: How seriuosly do folk take the TIOBE index? Is it a good way to ague what you should be keeping up to speed with or just a 'vague' guide? I use the TIOBE index -- sometimes -- when I give presentations on Python (and Ruby) to

Re: Python evolution: Unease

2005-01-05 Thread Alex Martelli
Dave Brueck [EMAIL PROTECTED] wrote: ... No, not at all - I'm just trying to better understand what you mean. Words like generic and concepts don't yet have a widely recognized, strict definition in the context of programming. If somebody has assigned some specific definition to them,

Re: is python more popular than coldfusion?

2005-01-05 Thread worzel
Wth respect to coldfusion, is there much doubt about the fact that Python is a more prominent and important technology? How is colfusion percieved by the Python community? Many people belive coldfusion is becomeing irrelavant and is on its death bed - do Python folk generally feel this way

Re: Cookbook 2nd ed Credits

2005-01-05 Thread Alex Martelli
Premshree Pillai [EMAIL PROTECTED] wrote: On Wed, 5 Jan 2005 08:55:39 +0100, Alex Martelli [EMAIL PROTECTED] wrote: Premshree Pillai [EMAIL PROTECTED] wrote: Do contributors of less than 5 recipes get a copy too? :-? Of course! Btw, is there a comprehensive list of ALL contributors put

Re: Concepts RE: Python evolution: Unease

2005-01-05 Thread Skip Montanaro
Paul Oops: http://en.wikipedia.org/wiki/Generic_programming Paul This helps. But I don't see how it's different from what used to Paul be called polymorphism. I think of generic programming as polymorphism for statically typed languages. Using the example from the Wikipedia

Re: is python more popular than coldfusion?

2005-01-05 Thread Premshree Pillai
On Wed, 5 Jan 2005 21:30:40 +0800, worzel [EMAIL PROTECTED] wrote: Wth respect to coldfusion, is there much doubt about the fact that Python is a more prominent and important technology? No doubt in my mind at least. How is colfusion percieved by the Python community? Many people belive

Re: Reaching the real world

2005-01-05 Thread Fuzzyman
Thank you very much (to all who replied). There;'s more than enough here to make very good further enquiries. Much appreciated. Fuzzyman http://www.voidspace.org.uk/python/index.shtml -- http://mail.python.org/mailman/listinfo/python-list

Re: project

2005-01-05 Thread Arich Chanachai
jerry wise wrote: Please help me out! Your solution seems doable pretty easily, but I have very little experience in this so I need some help. At the very least respond, because I'm getting kind of desperate. Thank you so much. I'm getting kind of desperate, no kidding. Firstly, did you ask

Re: is python more popular than coldfusion?

2005-01-05 Thread beliavsky
is python more popular than coldfusion? I realsie that is a very general question as one thing does not directly relate to the other. My issue is that I am ditching coldfusion due to there being next to no work for it, and I am thinking of taking on python as a second language to java in the hope

date/time

2005-01-05 Thread Nader Emami
L.S., Could somebody help me how I can get the next format of date from the time module? example: I have to have this time 20050105. It is the next attributes of format %Y%m%d. with regards, Nader -- http://mail.python.org/mailman/listinfo/python-list

Re: date/time

2005-01-05 Thread Binu K S
import time time.strftime('%Y%m%d',time.localtime()) '20050105' On Wed, 05 Jan 2005 15:08:37 +0100, Nader Emami [EMAIL PROTECTED] wrote: L.S., Could somebody help me how I can get the next format of date from the time module? example: I have to have this time 20050105. It is the next

Re: is python more popular than coldfusion?

2005-01-05 Thread worzel
thanks, thats pretty much what I expected to hear. Premshree Pillai [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wed, 5 Jan 2005 21:30:40 +0800, worzel [EMAIL PROTECTED] wrote: Wth respect to coldfusion, is there much doubt about the fact that Python is a more prominent and

Re: Python evolution: Unease

2005-01-05 Thread Roman Suzi
On Wed, 5 Jan 2005, Alex Martelli wrote: Dave Brueck [EMAIL PROTECTED] wrote: ... No, not at all - I'm just trying to better understand what you mean. Words like generic and concepts don't yet have a widely recognized, strict definition in the context of programming. If somebody has

Re: Python evolution: Unease

2005-01-05 Thread Ville Vainio
Paul == Paul Rubin http://[EMAIL PROTECTED] writes: Paul Ville Vainio [EMAIL PROTECTED] writes: To me, this seems to be the job for the Fedora maintainers, not Python maintainers. If something essential is not in the distro the distro maintainers have screwed up. Paul I

Re: Python evolution: Unease

2005-01-05 Thread Paul Rubin
Ville Vainio [EMAIL PROTECTED] writes: Paul I can't parse that. It says two contradictory things. Paul Sentence 2 says that if something essential is not in the Paul (Python) distro then the (Python) distro maintainers have Paul screwed up. Sentence 1 says it's the Fedora

Image capture

2005-01-05 Thread Catalin Lungu
Hi, Can anybody help me to implement the following VB code in Python. Thanks in advance. Private Declare Function SendMessage Lib user32.dll Alias _ SendMessageA (ByVal hwnd As Long, ByVal wMsg As Long, _ ByVal wParam As Long, ByVal lParam As Long) As Long Private Const WM_PAINT = HF

Re: Image capture

2005-01-05 Thread Kartic
Catalin, Some explanation about what you are tring to do will be of immense help. Did you want to capture some other Windows object from Python or do you want to capture a Python GUI application from Python? I might be able to help out, but please send more details. Thank you, --Kartic --

Re: % operation

2005-01-05 Thread Rick Holbert
It also looks like you are using an old version of Python running on an old version of Linux. Time to upgrade? Christopher Koppler wrote: On Wed, 05 Jan 2005 15:36:30 +0900, Daewon YOON wrote: Python 1.5.2 (#1, Jul 5 2001, 03:02:19) [GCC 2.96 2731 (Red Hat Linux 7.1 2 on

Re: is python more popular than coldfusion?

2005-01-05 Thread Paul Rubin
[EMAIL PROTECTED] writes: But Python IS tied for first. This may indicate that the relatively small number of jobs listing Python as a requirement is due in part to a relatively small supply of Python programmers, not lack of demand for such programmers. I think it mostly means Python

Re: Image capture

2005-01-05 Thread Catalin Lungu
Hi, I want to capture a no visible area of a wxFrame of Python. This area contain a wxGrid object. In VB6 this code work very good. Thanks. Kartic [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Catalin, Some explanation about what you are tring to do will be of immense

Re: date/time

2005-01-05 Thread Thomas Guettler
Am Wed, 05 Jan 2005 15:08:37 +0100 schrieb Nader Emami: L.S., Could somebody help me how I can get the next format of date from the time module? I don't understand your question. Do you want to have the next day? 20041231 -- 20050101 ? You can do it like this: - parse the string with

get the IP address of a host

2005-01-05 Thread none
I want to determine the outside (non local, a.k.a. 127.0.0.x) ip addresses of my host. It seems that the socket module provides me with some nifty tools for that but I cannot get it to work correctly it seems. Can someone enlightened show a light on this: import socket def

Re: screen clear question

2005-01-05 Thread Andrew Robert
Nick Coghlan wrote: Alan Gauld wrote: But the bottom line is that there is no builtin command because the mechanism is different on each platform. I'd have said it was because the inpreter is line-oriented rather than screen-oriented, but YMMV. Cheers, Nick. I would try doing a test against

Re: How to make executable file ?

2005-01-05 Thread Andrew Robert
BOOGIEMAN wrote: Just how to make *.exe file from python code ?? I typed this : a, b = 0, 1 while b 1000: print b, a, b = b, a+b and saved it as pyt.txt Now, how do I make pyt.exe file ??? I want to run it on windows where isn't installed python. You may want to try cx_freeze.

Re: get the IP address of a host

2005-01-05 Thread Kartic
socket.gethostbyaddr(socket.gethostname()) will return a tuple containing fully qualified hostname, alternative hostnames, ip addresses (1 if multihomed). Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

tk the python way

2005-01-05 Thread Gabriel Cosentino de Barros
Title: tk the python way I'm strugling a little with TK, and the docs on the web aren't helping much. I've already rewritten about twelve times a basic class that was supposed to simply draw a window. It's not even close the final draft, but i tought well, let's start with something easy

Re: How to make executable file ?

2005-01-05 Thread Catalin Lungu
Also, you can try with py2exe. It's very easy. Catalin. Andrew Robert [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] BOOGIEMAN wrote: Just how to make *.exe file from python code ?? I typed this : a, b = 0, 1 while b 1000: print b, a, b = b, a+b and saved it as

Re: How to make executable file ?

2005-01-05 Thread Fuzzyman
An alternative way is to use Movable Python. It's a frozen distribution of python that can run without being 'installed'. See http://sourceforge.net/projects/movpy To display things in a 'window' you'll need to use a GUI toolkit like Tkinter or wxPython. Regards, Fuzzy

Re: get the IP address of a host

2005-01-05 Thread Kartic
or socket.gethostbyname(socket.gethostname()) -- http://mail.python.org/mailman/listinfo/python-list

RE: How to make executable file ?

2005-01-05 Thread Gabriel Cosentino de Barros
Title: RE: How to make executable file ? Also, you can try with py2exe. It's very easy. Catalin. You may want to try cx_freeze. I brief experience with both. may be helpful 1. I did a little program on python/TK. Some 100 lines or less 2. executed cx_freeze 3. executed py2exe In the

Re: Cookbook 2nd ed Credits (was Re: The Industry choice)

2005-01-05 Thread pyguy2
Wow I didn't realize that I made that significant of a contribution :-) 3: 9 u'John Nielsen' Well, I guess I did and I didn't. I worked hard to put postings up before I started taking classes again at a university last fall (with little kids and working full time, classes are a frustrating

Re: Image capture

2005-01-05 Thread Kartic
Hi Catalin, Here are the modifications to your code. I am emailing you the complete file back to your email address. Please note that you need PIL (Python Imaging Library) to grab the window. I included a step to save the image, but you can do whatever you want with it. Thanks, --Kartic

Re: is python more popular than coldfusion?

2005-01-05 Thread Luis M. Gonzalez
worzel wrote: Wth respect to coldfusion, is there much doubt about the fact that Python is a more prominent and important technology? How is colfusion percieved by the Python community? Many people belive coldfusion is becomeing irrelavant and is on its death bed - do Python folk generally

Re: Pythonic search of list of dictionaries

2005-01-05 Thread Bulba!
On Tue, 04 Jan 2005 21:57:46 +0100, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote: In [EMAIL PROTECTED], Bulba! wrote: I put those dictionaries into the list: oldl=[x for x in orig] # where orig=csv.DictReader(ofile ... If you don't do anything with each `x` you can write this as:

Re: How do I make Windows Application with Python ?

2005-01-05 Thread Doug Holton
BOOGIEMAN wrote: Thanks all for very detailed answers. BTW I tried this one but it seems that it doesn't use VS'es visual designer. Also it doesn't have build option so it is basicly only usefull to higlight Python syntax. Active Sate Komodo looks like much better choice I don't know of any python

smtp question

2005-01-05 Thread Philippe C. Martin
Hi, I am testing the smtp module and have the following question: in the code below (taken from net sample) prior to adding the Subject: field, the email client found the From and the To. Without the Subject: field on I get this: Email client = Evolution: the From field is blank Email client =

Re: Cookbook 2nd ed Credits

2005-01-05 Thread Dan Perl
Alex Martelli [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Premshree Pillai [EMAIL PROTECTED] wrote: Btw, is there a comprehensive list of ALL contributors put up anywhere? Not yet -- do you think I should put it up on my website? Updating the status of the recipes on the web

Re: Python evolution: Unease

2005-01-05 Thread Alex Martelli
Roman Suzi [EMAIL PROTECTED] wrote: Alex, I think you are +10 for adding interfaces into Python. Concept is more compact word and I am sure it is not used as a name in existing projects, unlike other words. Actually, I want protocols -- semantics (and pragmatics), too, not just syntax (method

Re: Cookbook 2nd ed Credits

2005-01-05 Thread Alex Martelli
Dan Perl [EMAIL PROTECTED] wrote: Alex Martelli [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Premshree Pillai [EMAIL PROTECTED] wrote: Btw, is there a comprehensive list of ALL contributors put up anywhere? Not yet -- do you think I should put it up on my website?

RE: Python 2.4 on Windows XP

2005-01-05 Thread Batista, Facundo
Title: RE: Python 2.4 on Windows XP [DavidHolt] #- I have a problem that I see on two different machines, one running XP #- SP1 and one XP SP 2. #- #- On both I installed Python 2.4. #- #- I can't seem to start IDLE. When I try to start it, I get an IDLE uses sockets to communicate its

Re: Is there any way/where to subscribe for automated PEP status emails?

2005-01-05 Thread Thomas Heller
[EMAIL PROTECTED] (Bengt Richter) writes: I find that threads sometimes mention PEPs that I wasn't aware of, or that an interesting one has been updated without my noticing. I should perhaps check the PEP site more regularly, but ISTM it shouldn't be that hard to implement an automated

Re: Python 2.4 on Windows XP

2005-01-05 Thread It's me
I am running 2.3 and it's doing the same thing on my computer - except that I can't even get it to start from the command prompt. It used to work but after I switched back and forth between 2.3, and 2.4 and somewhere in between, it stopped working. I hope somebody on the list would have a clue

Re: Python evolution: Unease

2005-01-05 Thread Alex Martelli
Carlos Ribeiro [EMAIL PROTECTED] wrote: ... - IDE: Better than what? Than IDLE? Than Eclipse? Than SPE? Than Pythonwin? I would like to seee Eric3, with some polish opensourced on Win (which means solving the Qt licensing problem). Perhaps someone could convince Trolltech to release a

Re: Python evolution: Unease

2005-01-05 Thread John Roth
Paul Rubin http://[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] alex23 [EMAIL PROTECTED] writes: It's called having an opinion. Good documentation does its job, if noone else thought it was poorly documented then to them it wasn't. ... In short: grow up and just write the damn

Re: Python evolution: Unease

2005-01-05 Thread Paul Rubin
Skip Montanaro [EMAIL PROTECTED] writes: Okay, then start doing the work necessary to incorporate that stuff into the core. Get Fredrik to say okay to including his Tkinter docs, then do what it takes to incorporate it. The fact that Fredrik can check those docs in himself but hasn't after

smtp: one more question

2005-01-05 Thread Philippe C. Martin
Email client = Evolution: the From field is blank Email client = KMail: the To field is blank I also notice that emails sent to myself get trashed by my provider - could that be related ? -- *** Philippe C. Martin SnakeCard LLC www.snakecard.com

Write some docs already! (was Re: Python evolution: Unease)

2005-01-05 Thread Aahz
In article [EMAIL PROTECTED], John Roth [EMAIL PROTECTED] wrote: I would like to contribute some documentation to Python. I've got the time, I write quite a bit, etc. I've got fairly strong opinions about some things that need to be documented, (such as all the new style class descriptor stuff

Re: Securing a future for anonymous functions in Python

2005-01-05 Thread Paul Rubin
Nick Coghlan [EMAIL PROTECTED] writes: Do you consider generator expressions or list comprehensions deficient because they don't allow several statements in the body of the for loop? I don't see what it would mean to do otherwise. -- http://mail.python.org/mailman/listinfo/python-list

Re: Cookbook 2nd ed Credits

2005-01-05 Thread Dan Perl
Alex Martelli [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dan Perl [EMAIL PROTECTED] wrote: Alex Martelli [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Premshree Pillai [EMAIL PROTECTED] wrote: Btw, is there a comprehensive list of ALL contributors put up

Re: Cookbook 2nd ed Credits

2005-01-05 Thread Premshree Pillai
On Wed, 5 Jan 2005 13:52:06 -0500, Dan Perl [EMAIL PROTECTED] wrote: Alex Martelli [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dan Perl [EMAIL PROTECTED] wrote: Alex Martelli [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Premshree Pillai [EMAIL PROTECTED]

Re: Python evolution: Unease

2005-01-05 Thread Bulba!
On Wed, 5 Jan 2005 07:37:25 -0600, Skip Montanaro [EMAIL PROTECTED] wrote: Terry Numarray has a record array type. If there is not one publicly Terry available, perhaps you could write a CSV file to record-array Terry slurper and contribute it to the Recipes site or maybe even the

Is there any way/where to subscribe for automated PEP status emails?

2005-01-05 Thread Bengt Richter
I find that threads sometimes mention PEPs that I wasn't aware of, or that an interesting one has been updated without my noticing. I should perhaps check the PEP site more regularly, but ISTM it shouldn't be that hard to implement an automated notification of PEP status changes by email. A cron

Re: Restore a unified diff

2005-01-05 Thread Mike Meyer
Tim Peters [EMAIL PROTECTED] writes: [Nick Allen] Unfortunately, restore does not do the same for unified_diff. I do not see any similar function that is intended for unified_diff. Does anyone know how to restore from a unified diff generated delta? That's in general impossible, since

RE: Python evolution: Unease

2005-01-05 Thread Batista, Facundo
Title: RE: Python evolution: Unease [John Roth] #- I would like to contribute some documentation to Python. #- I've got the time, I write quite a bit, etc. I've got fairly #- strong opinions about some things that need to be documented, #- (such as all the new style class descriptor stuff

Re: Python evolution: Unease

2005-01-05 Thread Daniel Bowett
Batista, Facundo wrote: [John Roth] #- I would like to contribute some documentation to Python. #- I've got the time, I write quite a bit, etc. I've got fairly #- strong opinions about some things that need to be documented, #- (such as all the new style class descriptor stuff from 2.2) #- and I

Re: Restore a unified diff

2005-01-05 Thread Tim Peters
[Nick Allen] Unfortunately, restore does not do the same for unified_diff. I do not see any similar function that is intended for unified_diff. Does anyone know how to restore from a unified diff generated delta? [Tim Peters] That's in general impossible, since unified diffs generally omit

RE: Python evolution: Unease

2005-01-05 Thread Batista, Facundo
Title: RE: Python evolution: Unease [Daniel Bowett] #- Contribute to where on Sourceforge??? Which domentation are #- we talking #- about in general? Suppose you're reading Python documentation. Don't know, for example, os.remove(). There you find that a particular parragraph is

Re: is python more popular than coldfusion?

2005-01-05 Thread Mike Meyer
[EMAIL PROTECTED] writes: is python more popular than coldfusion? For your specific purpose of learning a language to get a job, I suggest visiting the site http://mshiltonj.com/sm/categories/languages/ , where it appears that Python is mentioned about as often as Fortran or Ada in job

Re: is python more popular than coldfusion?

2005-01-05 Thread Premshree Pillai
On Wed, 05 Jan 2005 13:54:53 -0600, Mike Meyer [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] writes: is python more popular than coldfusion? For your specific purpose of learning a language to get a job, I suggest visiting the site http://mshiltonj.com/sm/categories/languages/ , where it

Re: smtp question

2005-01-05 Thread Mike Meyer
Philippe C. Martin [EMAIL PROTECTED] writes: Hi, I am testing the smtp module and have the following question: in the code below (taken from net sample) prior to adding the Subject: field, the email client found the From and the To. Without the Subject: field on I get this: Email client

Re: modpython, apache and windows

2005-01-05 Thread Steve Holden
Sam wrote: Hi All, I am interested in learning python since I am hearing more and more about python for use in web development I am starting out on python, with knowledge of PHP some perl my current hurdle is setting up either apache 1 or 2 with python 2.3.3 I have installed modpython fine

Re: win32com.client problem

2005-01-05 Thread Kartic
Hi, 1. Put your COM invokations in a try/except loop. From my experience, that helped me prevent, in most cases, Excel from hanging and having to restart the PC too. In the except part, release the Excel (or other COM resource) (e.g.calling workbook.Close() or excelobj.Quit(), depending on the

Re: OT: spacing of code in Google Groups

2005-01-05 Thread Peter Hansen
Jacek Generowicz wrote: Peter Hansen [EMAIL PROTECTED] writes: Grant Edwards wrote: I always rather liked line numbers (a-la 'can -n'). That also makes discussion of the code easier: That, unfortunately, is somewhat harder to remove without using a regular expression... You mean to say that your

Re: Python evolution: Unease

2005-01-05 Thread Daniel Bowett
Batista, Facundo wrote: [Daniel Bowett] #- Contribute to where on Sourceforge??? Which domentation are #- we talking #- about in general? Suppose you're reading Python documentation. Don't know, for example, os.remove(). There you find that a particular parragraph is difficult to understand. You

Re: Working with flat files [LDIF].

2005-01-05 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : Scott A. McIntyre wrote: I looked around but didn't see any LDIF tools for perl or python... Any assistance or advice is appreciated!! Scott Hello Scott, Did you ever get this issue resolved? I have a similar need to merge two LDIF files. I did find a program called

Re: Python 2.4 on Windows XP

2005-01-05 Thread Jeff Shannon
DavidHolt wrote: I have a problem that I see on two different machines, one running XP SP1 and one XP SP 2. On both I installed Python 2.4. I can't seem to start IDLE. When I try to start it, I get an hourglass cursor for a short time then nothing more happens. This happens whether I click the

RE: Python evolution: Unease

2005-01-05 Thread Batista, Facundo
Title: RE: Python evolution: Unease [Daniel Bowett] #- Thanks, typically how long does it take for any documentation to be #- considered and implemented? That depends. If you know that some module is supported by someone in particular, you can asign the bug to him, so it should be

Re: win32com.client problem

2005-01-05 Thread It's me
Thanks for the reply. I will chew on this a bit. Kartic [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, 1. Put your COM invokations in a try/except loop. From my experience, that helped me prevent, in most cases, Excel from hanging and having to restart the PC too. In the

Re: Python 2.4 on Windows XP

2005-01-05 Thread It's me
In my case, there is *no* error message of any kind. When I run pythonw.exe from the python23 directory, the screen blinked slightly and goes back to the command prompt. Jeff Shannon [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] DavidHolt wrote: I have a problem that I see on two

Re: Embedding a restricted python interpreter

2005-01-05 Thread Andy Gross
Check out http://mail.python.org/pipermail/python-dev/2003-January/031851.html for a historical thread on rexec.py's vulnerabilities. Right now, the answer for people who want restricted execution is usually wait for pypy, due to the number of tricks that can subvert the rexec model. There

Re: smtp question - using email module

2005-01-05 Thread Philippe C. Martin
Thank you all for your help - an yes! the email module is _very_ nice. Regards, Philippe -- *** Philippe C. Martin SnakeCard LLC www.snakecard.com *** -- http://mail.python.org/mailman/listinfo/python-list

What could 'f(this:that=other):' mean?

2005-01-05 Thread Jonathan Fine
Giudo has suggested adding optional static typing to Python. (I hope suggested is the correct word.) http://www.artima.com/weblogs/viewpost.jsp?thread=85551 An example of the syntax he proposes is: def f(this:that=other): print this This means that f() has a 'this' parameter, of type

Re: Python 2.4 on Windows XP

2005-01-05 Thread Scott David Daniels
Jeff Shannon wrote: DavidHolt wrote: I have a problem that I see on two different machines, one running XP SP1 and one XP SP 2 On both I installed Python 2.4. I can't seem to start IDLE. When I try to start it, I get an hourglass cursor for a short time then nothing more happens. This happens

  1   2   >