Re: pyvm -- faster python

2005-05-11 Thread Bengt Richter
On 11 May 2005 19:48:42 -0700, Paul Rubin wrote: >Stelios Xanthakis <[EMAIL PROTECTED]> writes: >> I didn't know much about PyPy. It seems that pyvm is *exactly* what >> pypy needs to boost its performance. Does pypy has the vm in python >> as well? Does pypy have a c

Re: Python Documentation (should be better?)

2005-05-11 Thread John Bokma
Ivan Van Laningham wrote: > 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

urllib download insanity

2005-05-11 Thread Timothy Smith
ok what i am seeing is impossible. i DELETED the file from my webserver, uploaded the new one. when my app logs in it checks the file, if it's changed it downloads it. the impossible part, is that on my pc is downloading the OLD file i've deleted! if i download it via IE, i get the new file. SO,

Re: pyvm -- faster python

2005-05-11 Thread Kay Schluehr
Paul Rubin wrote: > "Kay Schluehr" <[EMAIL PROTECTED]> writes: > > Delete the "standard" and You still obtain huge librarys for .Net, Java > > and Python. I also regret that Prothon starved in infancy but it might > > be exeggerated to demand that each language designer or one of his > > apostels

regarding php equivalent Mail::Factory Module

2005-05-11 Thread praba kar
Dear All, In Php we can send mail by Mail::Factory's send method. Here php using send method instead of using any smtp module like that I want to know that kind of python module Yahoo! India Matrimony: Find your lif

Re: Finding startup files

2005-05-11 Thread Mike Meyer
jeff elkins <[EMAIL PROTECTED]> writes: > On Wednesday 11 May 2005 04:44 pm, Grant Edwards wrote: >> On 2005-05-11, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> > The following script demonstrates a method that should work for you. I >> > believe it is entirely cross-platform. >> > >> > #! /usr

Re: Proxy Design Advice Needed

2005-05-11 Thread vincent wehren
<[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Hello, > > I need a way to get a notification whenever a variable of an object > changes. The approach should be non-intrusive so that I can use > existing objects without modifying them. > I want to be notified no matter who or

Re: Importing modules

2005-05-11 Thread Mike Meyer
[EMAIL PROTECTED] writes: > A part the fact that I have not understood the "real" difference > between import and from ... import (or also from... import *), is it > possible to re-build the application in only one chunck? > This is only to better understand the application's structure, in order >

Re: Python Documentation (should be better?)

2005-05-11 Thread Robert Kern
Aahz wrote: > In article <[EMAIL PROTECTED]>, > Robert Kern <[EMAIL PROTECTED]> wrote: > >>I believe that docs.python.org was added mostly to aid Google searches. >>I *do* think that the Documentation link should go to docs.python.org. I >>believe there is a mailing list somewhere that discusse

Re: HELP Printing with wxPython

2005-05-11 Thread Mike Meyer
James Carroll <[EMAIL PROTECTED]> writes: > If you are doing this just for yourself, and you know you have a > printer that will really print just the plain text when you send it > plain text (like a dot matrix printer from the early 90s) then you can > probably open the printer device and send it

Re: Python Documentation (should be better?)

2005-05-11 Thread Terry Hancock
On Wednesday 11 May 2005 03:42 pm, flamesrock wrote: > I don't know what you guys are talking about!! > In idle: > help(module) > > I love the way python handles documentation. Its not invansive Yeah, and if you write your docstrings with reasonable care it works for your own modules, too! I lov

Re: Problems with csv module

2005-05-11 Thread Mike Meyer
John Machin <[EMAIL PROTECTED]> writes: > The CSV format is not defined at all, AFAIK. Just for the record, http://www.ietf.org/internet-drafts/draft-shafranovich-mime-csv-05.txt >. You'll also see application that deal with the application/csv MIME type. http://www.mire

Re: Python Documentation (should be better?)

2005-05-11 Thread Terry Hancock
On Wednesday 11 May 2005 02:54 pm, Christopher J. Bottaro wrote: > I guess what I'm trying to say is that there is no manual (for the language > itself, not the modules). There is just the tutorial that serves as the > manual. I think it should evolve into a manual that is more comprehensive > an

Re: reg mail sending without smtp module

2005-05-11 Thread praba kar
--- Tim Williams <[EMAIL PROTECTED]> wrote: > - Original Message - > From: "John Abel" <[EMAIL PROTECTED]> > > > > praba kar wrote: > > > > >Dear All, > > > > > > Is it possible to send a message as a > mail > > >with out smtplib module? If you find out any > module > > >for mai

Re: Python Documentation (should be better?)

2005-05-11 Thread Steven Bethard
Ivan Van Laningham wrote: > I get that. My question, cleverly concealed in a rant, was, "Why does > clicking on the Documentation link at python.org NOT take me to > docs.python.org?" I believe the issue here is that docs.python.org is only the *current* documentation. www.python.org/doc lists

Re: Python Documentation (should be better?)

2005-05-11 Thread Aahz
In article <[EMAIL PROTECTED]>, Robert Kern <[EMAIL PROTECTED]> wrote: > >I believe that docs.python.org was added mostly to aid Google searches. >I *do* think that the Documentation link should go to docs.python.org. I >believe there is a mailing list somewhere that discusses improvements to >

Re: Importing modules

2005-05-11 Thread Steve Holden
[EMAIL PROTECTED] wrote: > Fredrik Lundh ha scritto: > >>[EMAIL PROTECTED] wrote: >> >> >>>To understand a program, however, you need also a flow chart... >> >>so understand a carefully designed modular component structure, you >>have to remove the structure so you can create a flow chart? > > >

Re: optparse

2005-05-11 Thread Steven Bethard
Andrew Dalke wrote: > Steven Bethard wrote: > >>Well one reason might be that it's easy to convert from an object's >>attributes to a dict, while it's hard to go the other direction: > > ... > >>py> options['x'], options['y'] >>('spam', 42) >>py> o = ??? # convert to object??? >>... >>py> o.x

Re: Defunct Processes With subprocess.Popen

2005-05-11 Thread Mike Meyer
John Abel <[EMAIL PROTECTED]> writes: > Hi! > > I'm currently writing a script which launches external programs, but > it keeps leaving zombie/defunct processes behind, until I kill the > launching script, which is a bit of a pain, as it's supposed to be a > daemon. The code I'm using is: > > new

Re: Python Args By Reference

2005-05-11 Thread Steve Holden
Fredrik Lundh wrote: > Grant Edwards wrote: > > >>Yes. All arguments are passed by reference. This must be in >>the FAQ somewhere... > > > hopefully not, because that saying that "all arguments are passed > by reference" is extremely confusing for people who've learned about > "call by refere

Re: pyvm -- faster python

2005-05-11 Thread Paul Rubin
Greg Ewing <[EMAIL PROTECTED]> writes: > > PyPy looks like the best vehicle for that so far. See > >http://catb.org/~esr/jargon/html/M/MFTL.html > > for the canonical remark about languages that can't be used to > > implement their own compilers. > > Which makes it clear that the remark is on

Re: pyvm -- faster python

2005-05-11 Thread Greg Ewing
Paul Rubin wrote: > PyPy looks like the best vehicle for that so far. See > >http://catb.org/~esr/jargon/html/M/MFTL.html > > for the canonical remark about languages that can't be used to > implement their own compilers. Which makes it clear that the remark is only intended to apply to *co

Re: Python Documentation (vs PHP stuff)

2005-05-11 Thread Ivan Van Laningham
Hi All-- Terry Reedy wrote: > > Conclusion 3: some people would apparently be happier with the Python docs > if they were combined into one Python Manual. This could be done as a > virtual anthology by writing a combined Table of Contents (with links) and > an Introduction discussing the various

Re: Python Documentation (should be better?)

2005-05-11 Thread Robert Kern
Ivan Van Laningham wrote: > 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 curr

Re: pyvm -- faster python

2005-05-11 Thread Mike Meyer
Stelios Xanthakis <[EMAIL PROTECTED]> writes: > - hacking SWIG. Shouldn't be too hard and will instantly give > us access to wx, qt, etc. You can't assume that because some package is a C/C++ library wrapped for Python that it uses SWIG. pyqt, for example, doesn't use SWIG at all. It

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

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 on

Re: Interactive shell for demonstration purposes

2005-05-11 Thread Steve Holden
Tim Golden wrote: > [Brian Quinlan] > | > | Can anyone recommend a Python interactive shell for use in > | presentations? > | > | Ideal characteristics (priority order): > | o configurable font size > | o full screen mode > | o readline support > | o syntax coloring > | > | I've tried ipython b

Re: Python Documentation (should be better?)

2005-05-11 Thread Paul Rubin
[EMAIL PROTECTED] writes: > I think Python's doc really rock. It's odd, why do you refer to the > tutorial when the lib API is what I'd consider "the docs". Some parts of the lib doc are better than others. The only way to understand SocketServer, for example, is to read the long comment at the b

Re: Python Documentation (should be better?)

2005-05-11 Thread Paul Rubin
"Sébastien Boisgérault" <[EMAIL PROTECTED]> writes: > "Manual" == scope of the *Lib Reference* + informal style of the > *Tutorial*, I don't care whether the style is formal or informal, the manual should document the complete interface of the language and library and right now it doesn't do anyth

Re: pyvm -- faster python

2005-05-11 Thread Paul Rubin
Stelios Xanthakis <[EMAIL PROTECTED]> writes: > I didn't know much about PyPy. It seems that pyvm is *exactly* what > pypy needs to boost its performance. Does pypy has the vm in python > as well? Does pypy have a compiler that produces 2.4 bytecodes? Pypy makes native machine code, not bytecod

Re: Solipsis: Python-powered Metaverse

2005-05-11 Thread Terry Reedy
"Paul McNett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sure, that's how it is here in the US too. You have a modem/router > supplied by the cable or DSL company that provides DHCP and NAT for > outbound traffic. Comcast supplied me with a DHCP cable modem that comverts whate

Re: HELP Printing with wxPython

2005-05-11 Thread Mario
"James Carroll" <[EMAIL PROTECTED]> wrote: >I especially like the HtmlEasyPrinting write-up here: > http://wiki.wxpython.org/index.cgi/Printing Thank you for your suggestion but I'm just not able to make it work, as i said on the original post, I do exactly what is wrote there, but it gives err

Re: HELP Printing with wxPython

2005-05-11 Thread Mario
"Larry Bates" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > Mario, > > Here is a function stripped from a working program that uses printpreview > from wxWindows to print out cells from a grid that the user is working > on. Hopefully this can point you in the proper direct

Re: Python Documentation (vs PHP stuff)

2005-05-11 Thread Terry Reedy
"Christopher J. Bottaro" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > rbt wrote: >> Because PHP is such a 'thrown together' and 'bolted-on' language. If it >> didn't have *outstanding* documentation (which it does BTW), no one >> could even begin to understand how they got from a

Re: Python Documentation (should be better?)

2005-05-11 Thread Skip Montanaro
Steve> [AMK's] wiki side-by-side with the Python docs: Steve> http://pydoc.amk.ca/frame.html There's also wikalong, though that's firefox-specific. Skip -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Documentation (should be better?)

2005-05-11 Thread Skip Montanaro
Ivan> I can never remember ...where to find string methods dir('') Bruno> ['__add__', '__class__', ... Also: >>> help(str) Help on class str in module __builtin__: class str(basestring) | str(object) -> string | | Return a nice string representati

Re: Python Documentation (should be better?)

2005-05-11 Thread Skip Montanaro
Christopher> Exactly!! See thats what I'm saying. I _think_ its widely Christopher> accepted that PHP has awesome documentation. And like rbt Christopher> said, that makes it extremely useful. Why can't Python Christopher> have documentation like that? It's just a simple matte

Re: Problems with csv module

2005-05-11 Thread John Machin
On Wed, 11 May 2005 20:02:25 +0200, "Fredrik Lundh" <[EMAIL PROTECTED]> wrote: >Skip Montanaro wrote: > >> Fredrik> does the CSV format even support Unicode-encoded data streams? >> >> Based on the requests I've seen here and on the [EMAIL PROTECTED] mailing >> list, >> it appears people are

Ron Grossi The Troll Is Back

2005-05-11 Thread Chuck
Abuse reports to [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

win32com Dispatch() and SetPriorityClass()

2005-05-11 Thread Chris Curvey
if I'm using Dispatch() to manage a COM object (IE), is there a way to get ahold of the process handle so that I can bump it's priority? -- http://mail.python.org/mailman/listinfo/python-list

Re: win32com and ADO

2005-05-11 Thread Chris Curvey
it was working fine before running makepy, once I ran makepy, I had to add the array index to make it work. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Documentation (should be better?)

2005-05-11 Thread John Bokma
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. -- John

Re: Python Documentation (should be better?)

2005-05-11 Thread Robert Kern
Ivan Van Laningham wrote: > http://www.python.org/doc/ > > Type string methods into the box; push submit. Result: > > "Results 1 - 20 of about 9,800 from www.python.org for string methods. > (0.14 seconds)" > > I did not go to docs.python.org, I went to www.python.org and clicked on > the doc

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

Re: Problems with csv module

2005-05-11 Thread John Machin
On Wed, 11 May 2005 14:08:08 -0500, Skip Montanaro <[EMAIL PROTECTED]> wrote: > >>> Based on the requests I've seen here and on the [EMAIL PROTECTED] > mailing >>> list, it appears people are certainly generating CSV files which >>> contain Unicode- encoded data. > >Fredrik> in wh

Re: Python Documentation (should be better?)

2005-05-11 Thread James Stroud
Ivan and Company: Keep this in your favorites bar: http://rgruet.free.fr/PQR24/PQR2.4.html Under "Contents", click on "Basic types and their operations:...string" But I think this could have an expanded "idioms" section. I.E. for index,element in enumarate(alist): or for atup in z

Re: Python Documentation (should be better?)

2005-05-11 Thread Terry Reedy
"Sébastien Boisgérault" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Manual" == scope of the *Lib Reference* + informal style of the > *Tutorial*, You, as well as the OP, left out the Language Reference, which is the manual (by me definition) for the language itself. Chapte

Re: optparse

2005-05-11 Thread Andrew Dalke
Steven Bethard wrote: > Well one reason might be that it's easy to convert from an object's > attributes to a dict, while it's hard to go the other direction: ... > py> options['x'], options['y'] > ('spam', 42) > py> o = ??? # convert to object??? > ... > py> o.x, o.y > ('spam', 42) "hard" == "

Re: Python Documentation (should be better?)

2005-05-11 Thread Steven Bethard
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)" Hmm... I typed in "string methods" at http://docs.python.org/ and g

Re: BluWater: God is not a man

2005-05-11 Thread flamesrock
I'm curious, why is everyone talking about jesus on comp.lang.python? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Args By Reference

2005-05-11 Thread Terry Reedy
"ncf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Example C Code: > #define P(a,b,c,d,e,f,g,h,x,K) \ > { \ > temp1 = h + S3(e) + F1(e,f,g) + K + x; \ > temp2 = S2(a) + F0(a,b,c); \ > d += temp1; h = temp1 + temp2; \ > } > Python Code: > def P(a,b,c,d,e,f,g,h,x,K): >temp1 =

Re: Python Documentation (should be better?)

2005-05-11 Thread Peter Hansen
Christopher J. Bottaro wrote: > Why can't Python have documentation like that? The language is > awesome, it just needs documentation of the same quality. The canonical answer is, roughly, 'it can'. A standard addendum is to say that contributions are always welcome. A common clarification of

Re: Python Documentation (should be better?)

2005-05-11 Thread Ivan Van Laningham
Hi All-- Yes. There are multiple ways I can correct myself, some, I'm sure, involving chains and whips. But you're all missing the point: Christopher is right! Python docs are not as good as PHP docs. Why not? Why do I have to be told "Hey, there are fifty ways to get what you want!" when I s

Re: win32com and ADO

2005-05-11 Thread Peter Hansen
Chris Curvey wrote: > Achim, > > Bingo. The recordset is in item 0. And that appears to work even on > systems where makepy has not been run. > > Thanks so much. So was this not really something that was working *before* you ran makepy, or is there still an unsolved mystery there? -- http://

Re: windows directories for curr user

2005-05-11 Thread Peter Hansen
flamesrock wrote: > Thanks for the code Tom. > > Unforunately, I get the following error message when trying to import > win32com in idle: Have you installed the pywin32 package? If not, see Google... -- http://mail.python.org/mailman/listinfo/python-list

Re: unstatisfied symbols building Python 2.4.1 on HP-UX 10.20

2005-05-11 Thread [EMAIL PROTECTED]
Scott Leerssen wrote: > I'm trying to build Python 2.4.1 on HP-UX 10.20 and get the following > during linking: > > /usr/ccs/bin/ld: Unsatisfied symbols: > PyThread_acquire_lock (code) > PyThread_exit_thread (code) > PyThread_allocate_lock (code) > PyThread_free_lock (code) >

Re: Python Documentation (should be better?)

2005-05-11 Thread Steven Bethard
Shi, Jue wrote: > I agree. The PHP manual is really good, especially the examples and user > contributed notes. Dunno if anyone's spent much time editing this, but a while a go AMK posted: http://www.amk.ca/diary/archives/cat_python.html#003336 which puts a wiki side-by-side with the Python docs

Re: Finding startup files

2005-05-11 Thread jeff elkins
On Wednesday 11 May 2005 10:18 pm, Robert Kern wrote: > jeff elkins wrote: > > On Wednesday 11 May 2005 04:44 pm, Grant Edwards wrote: > >>On 2005-05-11, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >>>The following script demonstrates a method that should work for you. I > >>>believe it is entir

Read tab delimited ascii file

2005-05-11 Thread Irvine, Wayne D
Title: Read tab delimited ascii file I have a tab delimited ascii/excel file formated like LineNum  Data1    Data2…  Data423 Line001    Val1_1  Val2_1… Val423_1 Line002    Val1_2  Val2_2… Val423_2 … Linennn... I want to read the headers/column names in the first line of the file and l

Re: Python 2.4 & BLT ?

2005-05-11 Thread Ron Adam
StepH wrote: > Ron Adam a écrit : > >>StepH wrote: >> >> >>>Hi, >>> >>>I'm not able to install BLT on my Python 2.4 (upgraded to 2.4.1) >>>distibution... >>> >>>I'v try to download btlz-for-8.3.exe, but when i try to install it, >>>i've a msgbox saying to the file is corrupt... >>> >>>Any idea ?

Re: Python Documentation (should be better?)

2005-05-11 Thread Steven Bethard
Bruno Desthuilliers wrote: > Ivan Van Laningham a écrit : > >> Hi All-- >> The Python docs are not ideal. I can never remember, for instance, >> where to find string methods (not methods in the string module, but >> methods with ''), > > > >>> dir('') > ['__add__', '__class__', '__contains__',

Re: BluWater: God is not a man

2005-05-11 Thread Fletch
Obaid R. wrote: > For a detailed response to the claims of the poster please refer to the > following. > > [1] "Ron Grossi: God is not a man" an essay: > http://groups-beta.google.com/group/microsoft.public.windowsxp.networ... > > [2] "Ron Grossi: God is not a man" an entire thread: > http://gro

Re: Jesus said, "I am the way, the truth and the life: no one can come to the Father(God)(in Heaven), but by me." (John 14:6) This means that if you die without trusting in Jesus Christ as your Lord and Saviour you will die in your sins and be forever sepa

2005-05-11 Thread David Kilpatrick
MC05 wrote: > "Matt Hayden" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >>MC05 wrote: >> >>>"don freeman" <[EMAIL PROTECTED]> wrote in message >>>news:[EMAIL PROTECTED] >>> The truth is, Jesus should never have torn down the fig tree. He >> >>got so >> pissed off at

Re: Finding startup files

2005-05-11 Thread Robert Kern
jeff elkins wrote: > On Wednesday 11 May 2005 04:44 pm, Grant Edwards wrote: > >>On 2005-05-11, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >>>The following script demonstrates a method that should work for you. I >>>believe it is entirely cross-platform. >>> >>>#! /usr/bin/python >>> >>>impor

Re: Jesus said, "I am the way, the truth and the life: no one can come to the Father(God)(in Heaven), but by me." (John 14:6) This means that if you die without trusting in Jesus Christ as your Lord and Saviour you will die in your sins and be forever separated from the love of God in a place called Hell. The Holy Bible descibes Hell as a place of eternal torment, suffering, pain and agony for all those who have rejected Jesus Christ. The good news is that you can avoid Hell by allowing Jesus Christ to save you today. Only then will you have true peace in your life knowing that no matter what happens you are on your way to Heaven. by BluWater0523@yahoo.com

2005-05-11 Thread don freeman
>> > > Who is this Jesus you are talking about? Does he know Python or > something? What do fig trees have to do with Python and/or Jesus? Bertand Russell said it best: Then there is the curious story of the fig tree, which always rather puzzled me. You remember what happened about the fig

New Web technology

2005-05-11 Thread 1comunicato
Information XHTML1.1: http://www.1info.com/1computer/1work_e.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Finding startup files

2005-05-11 Thread jeff elkins
On Wednesday 11 May 2005 04:44 pm, Grant Edwards wrote: > On 2005-05-11, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > The following script demonstrates a method that should work for you. I > > believe it is entirely cross-platform. > > > > #! /usr/bin/python > > > > import sys > > import os > >

Proxy Design Advice Needed

2005-05-11 Thread nitrogenycs
Hello, I need a way to get a notification whenever a variable of an object changes. The approach should be non-intrusive so that I can use existing objects without modifying them. I want to be notified no matter who or what did change the wrapped object - even whenever an object internal methods c

Re: Python Graphing Utilities.

2005-05-11 Thread Fernando Perez
Torsten Bronger wrote: > HallÃchen! > > Fernando Perez <[EMAIL PROTECTED]> writes: > >> [...] >> >> Well, it's true that the latex-type (called mathtext) support in >> matplotlib is not really up to par with true latex (kerning is off >> in places, mixed text/math doesn't work well, etc). I've

Re: HELP Printing with wxPython

2005-05-11 Thread Mario
"Tim G" <[EMAIL PROTECTED]> wrote: > Essentially, if you're on Windows (and have no need > to run on anything else) then consider some of the > solutions here: > > http://tgolden.sc.sabren.com/python/win32_how_do_i/print.html That was exactly what I needed! Thanks SO MUCH! :) I tested all the dif

urllib open error

2005-05-11 Thread Thomas
Hi All,   Just an update on my urllib open error..  It’s the proxy setup on my machine which was causing the problem.   Note: soappy doesn’t use the proxy by default while the urllib do..     Cheers Thomas -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Documentation (should be better?)

2005-05-11 Thread Bruno Desthuilliers
Ivan Van Laningham a écrit : > Hi All-- > The Python docs are not ideal. I can never remember, for instance, > where to find string methods (not methods in the string module, but > methods with ''), >>> dir('') ['__add__', '__class__', '__contains__', '__delattr__', '__doc__', '__eq__', '__ge__

RE: Need a little parse help

2005-05-11 Thread Delaney, Timothy C (Timothy)
Fredrik Lundh wrote: > that's probably because finalizers *are* called when Python exits. D'oh! Old semantics? I'm sure I remember this used to not work at some point, and not just in Jython. My apologies to anyone who I led astray. Still ... better to be too careful ;) I've been trying to find

Re: Python Documentation (should be better?)

2005-05-11 Thread Steven Bethard
Christopher J. Bottaro wrote: > Contrast that with Python. First off there is no "search" mechanism built > into the documentation page (yes I know you can google it, but that just > doesn't feel right). Um, are you looking at the current documentation page? http://docs.python.org/ In the upper

Re: Python Documentation (should be better?)

2005-05-11 Thread Christopher J. Bottaro
rbt wrote: > Christopher J. Bottaro wrote: >> Christopher J. Bottaro wrote: >> >> >>>...blah blah blah... >> >> >> Heh, silly me...there is already a huge thread about this...kinda. >> >> The intricacies of the computing term "greedy" aside, yes I think the >> Python >> documentation should g

Re: Python Graphing Utilities.

2005-05-11 Thread Robert Kern
Torsten Bronger wrote: > HallÃchen! > > Fernando Perez <[EMAIL PROTECTED]> writes: >>I've yet to experiment with it, but it might (with some additional >>handywork) give final results identical to those of the pslatex >>backend in gnuplot. > > What do you mean with this? Do you want to mimic Te

Re: Python Documentation (should be better?)

2005-05-11 Thread Steven Bethard
Ivan Van Laningham wrote: > The Python docs are not ideal. I can never remember, for instance, > where to find string methods (not methods in the string module, but > methods with '') Hmmm... Well going to http://docs.python.org/ and typing "string methods" into the search box gives, as the firs

Re: Jesus said, "I am the way, the truth and the life: no one can come to the Father(God)(in Heaven), but by me." (John 14:6) This means that if you die without trusting in Jesus Christ as your Lord and Saviour you will die in your sins and be forever sepa

2005-05-11 Thread mark
I,too,gave semen from the mount. mark "don freeman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> >> I suppose he could point at what he saw and wither it. >> > > Jesus would then give a sermon from the mount: > > Let the Puritans wear fig leaves over their eyes! > -- http://m

Re: optparse

2005-05-11 Thread Steven Bethard
Sébastien Boisgérault wrote: > Steven Bethard wrote: > >>Sébastien Boisgérault wrote: >> >>>Any idea why the 'options' object in >>> >>># optparse stuff >>>(options, args) = parser.parse_args() >>> >>>is not/couldn't be a real dict ? Or why at least it >>>does not support dict's usual methods ? >>

Re: Python Documentation (should be better?)

2005-05-11 Thread George Sakkis
> Cuz I think the Language Reference is really more of a grammer reference and > far too technical to look up simple things like "how to declare a > function". > > I guess what I'm trying to say is that there is no manual (for the language > itself, not the modules). There is just the tutorial tha

Re: pyvm -- faster python

2005-05-11 Thread Robert Kern
Stelios Xanthakis wrote: > There are two kinds of C modules: those that do have a knowledge > of the C API (like sre, tkinter, etc) and those that are just C/C++ > libraries which are simply wrapped as modules. For the latter there > are two solutions besides adding a wrapper which makes pyvm app

Re: Python Documentation (should be better?)

2005-05-11 Thread flamesrock
I don't know what you guys are talking about!! In idle: help(module) I love the way python handles documentation. Its not invansive -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Documentation (should be better?)

2005-05-11 Thread Sébastien Boisgérault
> I can usually end up where I want to be by picking up my copy of _Python > in a Nutshell_. 95% of the time I can find what I want in there or from > there. This book is really great. Could anybody convince Alex Martelli to basically make it freely available to the world ? <0.9 wink>. I would

Re: Jesus said, "I am the way, the truth and the life: no one can come to the Father(God)(in Heaven), but by me." (John 14:6) This means that if you die without trusting in Jesus Christ as your Lord and Saviour you will die in your sins and be

2005-05-11 Thread Pokerface
rbt Wrote: > don freeman wrote: > > The truth is, Jesus should never have torn down the fig tree. He got > so > > pissed off at the fig tree for not having figs, even though it wasn't > > fig season. This was not the action of someone who has even a little > > truth and light. > > > > Imagine if

Re: Python Documentation (should be better?)

2005-05-11 Thread Christopher J. Bottaro
SÃbastien BoisgÃrault wrote: > > "Manual" == scope of the *Lib Reference* + informal style of the > *Tutorial*, > > Right ? Yes! That sounds good. "Informal style" yes, but "tutorial style" no. I shouldn't be there to teach like the tutorial, but for reference. And of course, the manual sho

Re: optparse

2005-05-11 Thread Sébastien Boisgérault
Steven Bethard wrote: > Sébastien Boisgérault wrote: > > Any idea why the 'options' object in > > > > # optparse stuff > > (options, args) = parser.parse_args() > > > > is not/couldn't be a real dict ? Or why at least it > > does not support dict's usual methods ? > > Well, it's not a real dict be

Re: Python Documentation (should be better?)

2005-05-11 Thread Sébastien Boisgérault
Christopher J. Bottaro wrote: > [...] > Cuz I think the Language Reference is really more of a grammer reference and > far too technical to look up simple things like "how to declare a > function". > > I guess what I'm trying to say is that there is no manual (for the language > itself, not the

Re: Python Documentation (should be better?)

2005-05-11 Thread Ivan Van Laningham
Hi All-- The Python docs are not ideal. I can never remember, for instance, where to find string methods (not methods in the string module, but methods with ''), but I can remember a tortured path to get me there (yes, I know, fix my brain; easier said than done). The module index is good, if wha

Re: Python Documentation (should be better?)

2005-05-11 Thread F. Petitjean
Le Wed, 11 May 2005 15:58:04 -0400, rbt a écrit : > Christopher J. Bottaro wrote: > Because PHP is such a 'thrown together' and 'bolted-on' language. If it > didn't have *outstanding* documentation (which it does BTW), no one > could even begin to understand how they got from a little HTML langua

Re: optparse

2005-05-11 Thread Steven Bethard
Sébastien Boisgérault wrote: > Any idea why the 'options' object in > > # optparse stuff > (options, args) = parser.parse_args() > > is not/couldn't be a real dict ? Or why at least it > does not support dict's usual methods ? Well, it's not a real dict because the original API intends it to be

Re: Python Documentation (should be better?)

2005-05-11 Thread Steven Bethard
Christopher J. Bottaro wrote: > I think it should evolve into a manual that is more comprehensive > and organized more like other programming manuals (chapter on control > structures, http://docs.python.org/tut/node6.html or http://docs.python.org/ref/compound.html > functions, http://docs.pyt

Re: windows directories for curr user

2005-05-11 Thread flamesrock
Thanks for the code Tom. Unforunately, I get the following error message when trying to import win32com in idle: >>> from win32com.shell import shell, shellcon Traceback (most recent call last): File "", line 1, in -toplevel- from win32com.shell import shell, shellcon ImportError: No modul

RE: Python Documentation (should be better?)

2005-05-11 Thread Skip Montanaro
Jue> Maybe a mailing list or forum people can contribute example and Jue> notes? Contributions can be made at the SourceForge patch tracker: http://sourceforge.net/tracker/?group_id=5470&atid=305470 Plain text is fine. Skip -- http://mail.python.org/mailman/listinfo/python-list

Re: BluWater: God is not a man

2005-05-11 Thread America's Best Christian
Jesus has a deplorable blind spot when it came to the nuances of marketing a new religion. Fortunately, since the apostle Paul was completely oblivious to any of Jesus' teachings, he was unfettered by this myopic shortcoming on the part of our Lord. So Close to Jesus, He's Seen Me Without Make-up

Re: Python Documentation (should be better?)

2005-05-11 Thread Sébastien Boisgérault
"Manual" == scope of the *Lib Reference* + informal style of the *Tutorial*, Right ? Consider non-official manuals such as: + http://diveintopython.org/toc/index.html (free) + python in a nutshell + python cookbook + etc. Cheers, SB -- http://mail.python.org/mailman/listinfo

RE: Python Documentation (should be better?)

2005-05-11 Thread Shi, Jue
I agree. The PHP manual is really good, especially the examples and user contributed notes. I think that's why we need the reference manual most time. It help you to get started on that particular function as well as hint you the trick and trap. I really wish Python manual gets better on these tw

Re: Python Documentation (should be better?)

2005-05-11 Thread rbt
Christopher J. Bottaro wrote: > Christopher J. Bottaro wrote: > > >>...blah blah blah... > > > Heh, silly me...there is already a huge thread about this...kinda. > > The intricacies of the computing term "greedy" aside, yes I think the Python > documentation should generally be better. What t

optparse

2005-05-11 Thread Sébastien Boisgérault
Any idea why the 'options' object in # optparse stuff (options, args) = parser.parse_args() is not/couldn't be a real dict ? Or why at least it does not support dict's usual methods ? The next move after a parse_args is often to call a method 'do_stuff' with the args and options and I'd like to

Re: Python Documentation (should be better?)

2005-05-11 Thread Christopher J. Bottaro
Steven Bethard wrote: > Christopher J. Bottaro wrote: >> After we were done, we talked about the pros and cons of the languages. >> Funny, the con of Python (documentation) is PHP's strong point. The PHP >> manual is extremely easy to navigate and its search feature works great. >> Contrast that

  1   2   3   >