Re: high level, fast XML package for Python?

2006-09-17 Thread Martin v. Löwis
Gleb Rybkin schrieb: > I searched online, but couldn't really find a standard package for > working with Python and XML -- everybody seems to suggest different > ones. > > Is there a standard xml package for Python? Preferably high-level, fast > and that can parse in-file, not in-memory since I h

Re: Finding dynamic libraries

2006-09-17 Thread MonkeeSage
Robert Kern wrote: > No, his extensions link against other shared libraries which are not Python > extensions. Those shared libraries are in nonstandard locations because he is > running his tests before installing the libraries and his Python code. In that case, couldn't it be done by placing a c

Re: Finding dynamic libraries

2006-09-17 Thread Robert Kern
MonkeeSage wrote: > Robert Kern wrote: >> No, his extensions link against other shared libraries which are not Python >> extensions. Those shared libraries are in nonstandard locations because he is >> running his tests before installing the libraries and his Python code. > > In that case, couldn'

Re: XPN 0.6.5 released

2006-09-17 Thread Nemesis
Mentre io pensavo ad una intro simpatica "Franz Steinhäusler" scriveva: >>> For the find, I personally would prefer to jump default to "body", >>> but this is of course a matter of taste. >>Do you mean you would like the focus to be set on the "body" search >>field? > Yes, that I meant. OK .. the

Re: XPN 0.6.5 released

2006-09-17 Thread Nemesis
Mentre io pensavo ad una intro simpatica "Franz Steinhäusler" scriveva: >>> Ah, great. I changed, this was not working immediatly. >>> So I remembered, most often you have to restart the App, and so its is >>> working. >>Here is working fine. > I am on windows, is there maybe a difference (?). I

Re: Help me use my Dual Core CPU!

2006-09-17 Thread Paul Rubin
"Ramon Diaz-Uriarte" <[EMAIL PROTECTED]> writes: > You might also want to check > http://www.lindaspaces.com/products/NWS_overview.html > by the guys who "invented" Linda. Cool, I guess. > (The Oz language/Mozart system is a good example of a different and > very neat approach to concurrency; som

Re: Finding dynamic libraries

2006-09-17 Thread MonkeeSage
Robert Kern wrote: > It depends on the OS. Most Linux systems do not. Hmm. Looks like 'man dlopen' confirms that (on my box anyway). It looks like the working directory is never searched at all (unless it is explicitly listed somewhere). Bummer. What about using ldconfig -l? Regards, Jordan --

Re: EyeDB Object Database (ODBMS) - Python wrapper

2006-09-17 Thread GinTon
I received the following answer of Eric Viara, EyeDB.org: "We planned to introduce soon a plugin mechanism to facilitate the way to write language bindings such as PHP5, Python, PERL and so on. But we do not know yet if the Python binding will be written by the core staff. We do not plan to suppo

xlrd number of rows in worksheet (was: Re: Pre-defining an action to take when an expected error occurs)

2006-09-17 Thread John Machin
On 16/09/2006 2:55 AM, Tempo wrote: > John Machin thanks for all of your help, and I take responsibility for > the way I worded my sentences in my last reply to this topic. So in an > effort to say sorry, I want to make it clear to everybody that it seems > as though errors in my code and use of e

Re: Outbound port on sockets

2006-09-17 Thread Jorgen Grahn
On Thu, 14 Sep 2006 18:21:39 +0200, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > bmearns wrote: ... > (and before you proceed, reading > > http://cr.yp.to/ftp/security.html > > is also a good idea. And RFC1123, and any number of FTP-related RFCs. There's even one fairly early RFC that encourag

Re: Finding dynamic libraries

2006-09-17 Thread Robert Kern
MonkeeSage wrote: > Robert Kern wrote: >> It depends on the OS. Most Linux systems do not. > > Hmm. Looks like 'man dlopen' confirms that (on my box anyway). It looks > like the working directory is never searched at all (unless it is > explicitly listed somewhere). Bummer. What about using ldconf

Python programs always open source?

2006-09-17 Thread Guy Fawkes
Hi, I was wondering if Python programs always need to include the source code with the program itself. I'm asking this because I don't want my program to be open-source and so far all the Python programs I've seen included the source code. Is it possible to make an executable with only bytecod

Re: Looking for a python IDE

2006-09-17 Thread M�ta-MCI
Hi! Perso, I like komodo. But : - littles pb with (very) big scripts - slow to start - no french version... @-salutations Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: Python programs always open source?

2006-09-17 Thread [EMAIL PROTECTED]
Guy Fawkes wrote: > I was wondering if Python programs always need to include the source code > with the program itself. I'm asking this because I don't want my program to > be open-source and so far all the Python programs I've seen included the > source code. You can include the source code but

How would you go about creating a heap of shortcuts to a batch file?

2006-09-17 Thread googleboy
I need to create about 2000 shortcuts to a batch file. The shortcuts need to have: Name: %parameter%.lnk Target: n:\Path\To\batchfile.bat %parameter% Start In: n:\Path\To\ Where the parameter is filled in by reading in a file with all the shortcut names. Extra bonus points for being able to

How to SendMessage to a SysListView32 control for selecting an item?

2006-09-17 Thread 尹祥龙
Hi, all: I am writing a python script, which controls a SysListView32 Control. But I can't select an item by sendMessage using win32gui.    My code as following:     import winGuiAutoimport win32guiimport commctrl wn = win32guiwga = winGuiAutohwnd = wn.FindWindow("#32770", "window tit

Re: Help me use my Dual Core CPU!

2006-09-17 Thread Ramon Diaz-Uriarte
On 17 Sep 2006 00:55:09 -0700, Paul Rubin <"http://phr.cx"@nospam.invalid> wrote: > "Ramon Diaz-Uriarte" <[EMAIL PROTECTED]> writes: > > You might also want to check > > http://www.lindaspaces.com/products/NWS_overview.html52 > > by the guys who "invented" Linda. > > Cool, I guess. I've only play

Re: Looking for a python IDE

2006-09-17 Thread cog109
Ayon kay [EMAIL PROTECTED]: > Hello > > I am looking for a good IDE for Python. Commercial or Open Software. > > If possible with visual GUI designer. > > For the moment I am considering Komodo. > > Any suggestions? > > Thanks in advance I like to use BOA Constructor i think it is the best compar

Re: Help me use my Dual Core CPU!

2006-09-17 Thread Andre Meyer
You may, of course, also have a look at JavaSpaces or TSpaces (both in Java).JavaSpaceshttp://java.sun.com/docs/books/jini/javaspaces/ http://java.sun.com/developer/technicalArticles/tools/JavaSpaces/index.htmlhttp://www.javaworld.com/jw-11-1999/jw-11-jiniology.htmlTSpaces http://www.almaden.ibm.co

Re: Python programs always open source?

2006-09-17 Thread Ben Finney
"Guy Fawkes" <[EMAIL PROTECTED]> writes: > I was wondering if Python programs always need to include the source > code with the program itself. I'm asking this because I don't want > my program to be open-source and so far all the Python programs I've > seen included the source code. You can lice

matplotlib: TypeError: a float is required

2006-09-17 Thread Andi Clemens
Hi, everytime I try to plot a bar with matplotlib I get the following error message: Traceback (most recent call last): File "bar_stacked.py", line 13, in ? p1 = bar(ind, menMeans, width, color='r', yerr=womenStd) File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line 164

Re: matplotlib: TypeError: a float is required

2006-09-17 Thread Andi Clemens
btw, these are the versions I'm using (Archlinux): Python: 2.4.3 (python-2.4.3-3) matplotlib: 0.87.4 (python-matplotlib-0.87.4-1) PyGTK: 2.8.6 (pygtk-2.8.6-3) Andi Andi Clemens wrote: > Hi, > > everytime I try to plot a bar with matplotlib I get the following error > message: > Traceback (mos

Re: Pythondocs.info : collaborative Python documentation project

2006-09-17 Thread Christoph Haas
On Sunday 17 September 2006 04:31, Brad Allen wrote: > Here is an idea for improving Python official documentation: > > Provide a tab-based interface for each entry, with the overview/summary > at the top-level, with a row of tabs underneath: > 1. Official documentation, with commentary pos

Re: RegexBuddy (anyone use this?)

2006-09-17 Thread John J. Lee
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: [...] > kodos does look good but I do not have the pyqt (maybe I am slightly > off) interface to use it on my system.. with another graphic interface [...] So... why not just install pyqt? http://www.diotavelli.net/PyQtWiki/FrequentlyAskedQuestions

Re: matplotlib: TypeError: a float is required

2006-09-17 Thread John Machin
Andi Clemens wrote: > Hi, > > everytime I try to plot a bar with matplotlib I get the following error > message: > Traceback (most recent call last): >File "bar_stacked.py", line 13, in ? > p1 = bar(ind, menMeans, width, color='r', yerr=womenStd) >File "/usr/lib/python2.4/site-packa

Re: RegexBuddy (anyone use this?)

2006-09-17 Thread Bruno Desthuilliers
Thorsten Kampe a écrit : (snip) > PS Actually the author wrote the finest and best Windows Editor and I > also use EditPad Pro under Linux (together with Wine) because of the > lack of usables editors under Linux. I guess we don't have the same definition of a "usable" editor... -- http://mail.py

Re: eval(repr(object)) hardly ever works

2006-09-17 Thread Dustan
Matthew Wilson wrote: > I understand that idea of an object's __repr__ method is to return a > string representation that can then be eval()'d back to life, but it > seems to me that it doesn't always work. > > For example it doesn't work for instances of the object class: > > In [478]: eval(repr(

Re: matplotlib: TypeError: a float is required

2006-09-17 Thread Andi Clemens
Sorry but english isn't my native language so I don't really get what you are trying to tell me, it took me quite a long time to figure out what SFA means (I guess it is Sweet Fanny Adams => nothing at all). All examples were taken from the matplotlib-homepage but they won't work on my installa

Re: How would you go about creating a heap of shortcuts to a batch file?

2006-09-17 Thread Tim Golden
googleboy wrote: > I need to create about 2000 shortcuts to a batch file. > The shortcuts need to have ... You need to use the win32com.shell module from pywin32 extensions. If you search the archives of this group and/or the python-win32 mailing list, you should find several explanations. The bes

multiping + while loop + excel

2006-09-17 Thread Fransiska M Argasetya
dear everyone   please help me with my coding dilemma o_O   i have a python code that can ping several sites as shown below:   = =   import threadingimport osimport Queueimport timefrom

multiping + while loop + excel

2006-09-17 Thread Fransiska M Argasetya
dear everyone   please help me with my coding dilemma o_O   i have a python code that can ping several sites as shown below:   = =   import threadingimport osimport Queueimport timefrom

Re: matplotlib: TypeError: a float is required

2006-09-17 Thread Tim Heaney
Andi Clemens <[EMAIL PROTECTED]> writes: > > everytime I try to plot a bar with matplotlib I get the following > error message: > Traceback (most recent call last): > File "bar_stacked.py", line 13, in ? > p1 = bar(ind, menMeans, width, color='r', yerr=womenStd) > File "/usr/lib/python2.4

Re: matplotlib: TypeError: a float is required

2006-09-17 Thread Andi Clemens
THATS IT! Thanks! But why are all the examples wrong? Maybe they changed the API? Andi Tim Heaney wrote: > Andi Clemens <[EMAIL PROTECTED]> writes: >> everytime I try to plot a bar with matplotlib I get the following >> error message: >> Traceback (most recent call last): >> File "bar_stacked.p

Re: matplotlib: TypeError: a float is required

2006-09-17 Thread John Machin
Andi Clemens wrote: > > All examples were taken from the matplotlib-homepage but they won't work > on my installation and I don't know why. > You point out that "left and height are Numeric arrays", and that is > exactly what they are, so what am I missing? Looks to me like for "height" you are p

Cheese Shop Registration error

2006-09-17 Thread alefnula
I tried to register on the Python Cheese Shop, but I constatnly get a "GPG key ID is invalid" error. I made a new GPG key using kgpg, exported the public key to the key server, and copy/pasted the Key ID into the registration form... But it doesn't work. -- http://mail.python.org/mailman/listinf

Re: matplotlib: TypeError: a float is required

2006-09-17 Thread Andi Clemens
Tim Heaney found out what the problem is, thanks for your help! ;-) Andi John Machin wrote: > Andi Clemens wrote: >> All examples were taken from the matplotlib-homepage but they won't work >> on my installation and I don't know why. >> You point out that "left and height are Numeric arrays", and

Re: matplotlib: TypeError: a float is required

2006-09-17 Thread Tim Heaney
Andi Clemens <[EMAIL PROTECTED]> writes: > > THATS IT! Thanks! > But why are all the examples wrong? Maybe they changed the API? I think it's a bug. You should report it. Looking at http://matplotlib.sourceforge.net/faq.html#BUGREPORT it seems you can use either the mailing list or sourceforge

Re: Help me use my Dual Core CPU!

2006-09-17 Thread Paul Rubin
"mystilleef" <[EMAIL PROTECTED]> writes: > I use D-Bus (Python). I recommend it. I don't know how cross platform > it is. However, it supports message passing of most built-in (strings, > ints, lists, dictionaries etc) Python objects accross processes. You > can mimick clean Erlang-like concurrency

Re: 911 FORGERY bigger than the Protocols of the Learned Elders of Zion

2006-09-17 Thread tadchem
"Protocols of the Elders of Zion" was a fraud http://en.wikipedia.org/wiki/The_Protocols_of_the_Elders_of_Zion http://ddickerson.igc.org/protocols.html http://www.straightdope.com/mailbag/mzionprotocol.html http://www.museumofhoaxes.com/hoaxorum/hoaxorum1869.html The fraud was proven by identifyin

Re: Python blogging software

2006-09-17 Thread Steve Holden
Paul Rubin wrote: > "Eric S. Johansson" <[EMAIL PROTECTED]> writes: > >>a wise person you are. I've often thought that most of the pages >>generated by web frameworks (except for active pages) should be cached >>once rendered. > > > Fancy frameworks do use caching, but I think of that as a klud

Re: Python blogging software

2006-09-17 Thread Paul Rubin
Steve Holden <[EMAIL PROTECTED]> writes: > > Fancy frameworks do use caching, but I think of that as a kludgy > > workaround for lousy performance of the framework itself. A fast > > framework should not need caching, except maybe caching gzip output > > for large blocks of contiguous text. > The

Re: Python programs always open source?

2006-09-17 Thread Jay
Speaking of the bytecode, how does one create it? Ben Finney wrote: > "Guy Fawkes" <[EMAIL PROTECTED]> writes: > > > I was wondering if Python programs always need to include the source > > code with the program itself. I'm asking this because I don't want > > my program to be open-source and so

mp3 file length in time

2006-09-17 Thread Jay
In python, I know there are a couple of modules for getting id3 info, but what about the length of an mp3 file in time? Is there a way to aquire that info? Most of my MP3s don't have id3 tags. I don't care for them. But I need to use python to get their file lengths. How? -- http://mail.pyth

Re: Python programs always open source?

2006-09-17 Thread Fredrik Lundh
"Jay" <[EMAIL PROTECTED]> wrote: > Speaking of the bytecode, how does one create it? http://effbot.org/zone/python-compile.htm#compiling-python-modules -- http://mail.python.org/mailman/listinfo/python-list

Re: mp3 file length in time

2006-09-17 Thread Paul Rubin
"Jay" <[EMAIL PROTECTED]> writes: > In python, I know there are a couple of modules for getting id3 info, > but what about the length of an mp3 file in time? Is there a way to > aquire that info? Most of my MP3s don't have id3 tags. I don't care > for them. But I need to use python to get their

Re: mp3 file length in time

2006-09-17 Thread Jay
Any tips on how to do that? Paul Rubin wrote: > "Jay" <[EMAIL PROTECTED]> writes: > > In python, I know there are a couple of modules for getting id3 info, > > but what about the length of an mp3 file in time? Is there a way to > > aquire that info? Most of my MP3s don't have id3 tags. I don't

Computer Vitals - Your Online Computer Helpline

2006-09-17 Thread my . chat . friends
http://computervitals.com Hey guyz, I welcome you yo Computer Vitals, Your Online Computer Helpline. A new venture to help people with all sides of software and hardware. Pay a visit and experience yourself. Lets get together and help eachother. Post your questions and get answers from some really

Re: Pythondocs.info : collaborative Python documentation project

2006-09-17 Thread Brad Allen
Rakotomandimby (R12y) wrote: > On Sat, 16 Sep 2006 12:30:56 -0700, Robert Hicks wrote: > > > That said...the Python docs are open source. Just start going through > > them and adding examples. > > ASPN (activestate) is a good place for examples... Yes, but that requires a separate search and depe

Re: Limitate speed of a socket-based data transferring

2006-09-17 Thread Tim Williams
On 15/09/06, Grant Edwards <[EMAIL PROTECTED]> wrote: > On 2006-09-15, Steve Holden <[EMAIL PROTECTED]> wrote: > > > > Of course this depends crucially on the window size. Since the > > addition of the window scaling TCP option it's been possible > > to specify very large windows, which are useful

Re: mp3 file length in time

2006-09-17 Thread Paul Rubin
"Jay" <[EMAIL PROTECTED]> writes: > Any tips on how to do that? You might type "python mp3" into google. That's often the fastest way to find answers of this type. -- http://mail.python.org/mailman/listinfo/python-list

Re: mp3 file length in time

2006-09-17 Thread Tim Heaney
"Jay" <[EMAIL PROTECTED]> writes: > Paul Rubin wrote: >> "Jay" <[EMAIL PROTECTED]> writes: >> > In python, I know there are a couple of modules for getting id3 info, >> > but what about the length of an mp3 file in time? Is there a way to >> > aquire that info? Most of my MP3s don't have id3 tags

Re: tcl list to python list?

2006-09-17 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Paul McGuire <[EMAIL PROTECTED]> wrote: ><[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] >> Hi, >> >> I have a file that contains a "tcl" list stored as a string. The list >> members are >> sql commands ex: >> { begin { select * from foo >>

Re: Pythondocs.info : collaborative Python documentation project

2006-09-17 Thread Daniel Nogradi
> > > That said...the Python docs are open source. Just start going through > > > them and adding examples. > > > > ASPN (activestate) is a good place for examples... > > Yes, but that requires a separate search and depends on an external > organization. Wouldn't it be great if relevant examples we

Re: XPN 0.6.5 released

2006-09-17 Thread Franz Steinhaeusler
Nemesis wrote: Hello Nemesis, this I post with XPN! ;) > Mentre io pensavo ad una intro simpatica "Franz Steinhäusler" scriveva: > Ah, great. I changed, this was not working immediatly. So I remembered, most often you have to restart the App, and so its is working. >>>Here is wo

Re: 911 FORGERY bigger than the Protocols of the Learned Elders of Zion

2006-09-17 Thread malibu
tadchem wrote: > "Protocols of the Elders of Zion" was a fraud > http://en.wikipedia.org/wiki/The_Protocols_of_the_Elders_of_Zion > http://ddickerson.igc.org/protocols.html > http://www.straightdope.com/mailbag/mzionprotocol.html > http://www.museumofhoaxes.com/hoaxorum/hoaxorum1869.html > > The f

CONSTRUCT - Adding Functionality to the Overall System

2006-09-17 Thread Ilias Lazaridis
I understand that I can use __metaclass__ to create a class which modifies the behaviour of another class. How can I add this metaclass to *all* classes in the system? (In ruby I would alter the "Class" class) . http://lazaridis.com -- http://mail.python.org/mailman/listinfo/python-list

Re: XPN 0.6.5 released

2006-09-17 Thread Franz Steinhaeusler
Franz Steinhaeusler wrote: > A user defineable Title bar as in Agent would be good. > (Then I could name the first instance "My News" or so, and the > second one "Gmane". So easier navigating in Windows and also > the tips in the task bar could be helpful for that. > Sorry, I repost this, becau

MORE EVIDENCE Re: 911 FORGERY bigger than the Protocols of the Learned Elders of Zion

2006-09-17 Thread pope_ratzinger_benedict
In reply to the ATTACK DOGS OF THE CRIMINAL GOVERNMENT: Evidentiary documents that I forgot to post. The first is a 204 page defense by Dr Steven Jones a pdf file. http://www.journalof911studies.com/JonesAnswersQuestionsWorldTradeCenter.pdf Even FLUORINE in thermate residue and 1,3-DIPHENYL PROP

Python getting some positive attention at digg.com

2006-09-17 Thread Brad Allen
This made it to the front page of digg.com yesterday, and is now up to 597 diggs. It has some discussion among folks who are trying to decide which language to learn next...if any of you Pythonistas have digg accounts, you might want to chime in. http://digg.com/programming/Python_Programming_for_

Re: XPN 0.6.5 released

2006-09-17 Thread Nemesis
Mentre io pensavo ad una intro simpatica "Franz Steinhaeusler" scriveva: > Hello Nemesis, > > > this I post with XPN! ;) Good :-) > My next try was a second newsserver. > (It would be nice to have it in one installation, > but priority is not so high) > > I have XPN in one directorry (for my defa

String Pattern Matching: regex and Python regex documentation

2006-09-17 Thread Xah Lee
the Python regex documentation is available at: http://xahlee.org/perl-python/python_re-write/lib/module-re.html Note that, i've just made the terms of use clear. Also, can anyone answer what is the precise terms of license of the official python documentation? The official python.org doc site is

Re: Pythondocs.info : collaborative Python documentation project

2006-09-17 Thread ernesto . adorio
Somehow all of the above discussions did not mention having examples or demos "built-in" for the language itself: majorfunction.example() demo("package") or package.demo() search engine in local html documentation apropos() The statistical software R is bettter in this respect

Hardlinks on NTFS

2006-09-17 Thread Wildemar Wildenburger
Hi :) I'm thinking of letting my program create hardlinks (or symlinks). I know python allows doing this for ext, reiser and the like, but apparently not for ntfs systems. Is there any package out there that lets me create links in a platform independent way? bye wildemar -- http://mail.pytho

Re: Pythondocs.info : collaborative Python documentation project

2006-09-17 Thread Fuzzyman
[EMAIL PROTECTED] wrote: > Hi, > > I am a bit disapointed with the current Python online documentation. I > have read many messages of people complaining about the documentation, > it's lack of examples and the use of complicated sentences that you > need to read 10 times before understanding what

Re: ANN: pyfuzzylib 0.1.3 Released

2006-09-17 Thread Claudio Grondi
nelson - wrote: > PyFuzzyLib is a library for fuzzy inference engine building. Using > pyfuzzylib you can add fuzzy logic to your programs. > The program is in it early stage of development, > but it is still usable. Curious why after it will become mature it won't be usable any more ;-) ? > Ev

Re: Python blogging software

2006-09-17 Thread Diez B. Roggisch
> Fair enough. I shouldn't have said "lousy performance of the > framework itself" when I should have included the application. If the > application's page computations are so lengthy, then they too need > speeding up. > > We've got a situation where some big sites (Slashdot, Wikipedia) have >

Re: Hardlinks on NTFS

2006-09-17 Thread Calvin Spealman
On 9/17/06, Wildemar Wildenburger <[EMAIL PROTECTED]> wrote: > Hi :) > > I'm thinking of letting my program create hardlinks (or symlinks). I > know python allows doing this for ext, reiser and the like, but > apparently not for ntfs systems. > Is there any package out there that lets me create lin

Re: Is there a way to find IP address?

2006-09-17 Thread Damjan
>> Normaly I can log user's IP address using os.environ["REMOTE_ADDR"] . >> If a user is behind a proxy, I will log proxy's IP address only. >> Is there a way how to find a real IP user's address? > > os.environ["HTTP_X_FORWARDED_FOR"] > > (but that can easily be spoofed, and is mostly meaningl

Re: Is there a way to find IP address?

2006-09-17 Thread Damjan
>> > Normaly I can log user's IP address using os.environ["REMOTE_ADDR"] . >> > If a user is behind a proxy, I will log proxy's IP address only. >> > Is there a way how to find a real IP user's address? >> >> os.environ["HTTP_X_FORWARDED_FOR"] >> >> (but that can easily be spoofed, and is mostly

Re: Hardlinks on NTFS

2006-09-17 Thread M�ta-MCI
Hi! Here, a copy of a message send on anither newsgroup (by me). Summary on hardlink & junction-point. *** Sorry, this text is in french ; but command & links are good. *** Synthèse sur les hardlinks et les points de jonction. - Les hardlinks sont des alias sur des fichiers. - Les p

Re: CONSTRUCT - Adding Functionality to the Overall System

2006-09-17 Thread Calvin Spealman
On 17 Sep 2006 09:22:16 -0700, Ilias Lazaridis <[EMAIL PROTECTED]> wrote: > I understand that I can use __metaclass__ to create a class which > modifies the behaviour of another class. > > How can I add this metaclass to *all* classes in the system? > > (In ruby I would alter the "Class" class) Th

Re: MORE EVIDENCE Re: 911 FORGERY bigger than the Protocols of the Learned Elders of Zion

2006-09-17 Thread T Wake
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > In reply to the ATTACK DOGS OF THE CRIMINAL GOVERNMENT: > Oooh, you used capital letters. You MUST be sane (not to mention your esoteric choice of newsgroups to post to...) Is it time of the year for nutcase-cranks to come out a

Re: Hardlinks on NTFS

2006-09-17 Thread Tim Peters
[Wildemar Wildenburger] >> I'm thinking of letting my program create hardlinks (or symlinks). I >> know python allows doing this for ext, reiser and the like, but >> apparently not for ntfs systems. >> Is there any package out there that lets me create links in a platform >> independent way? [Calv

Re: Hardlinks on NTFS

2006-09-17 Thread Michel Claveau
Hi! NTFS hardlink exists before others filesystem. Please, send question to other FS... -- @-salutations Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: Hardlinks on NTFS

2006-09-17 Thread Martin v. Löwis
Calvin Spealman schrieb: >> I'm thinking of letting my program create hardlinks (or symlinks). I >> know python allows doing this for ext, reiser and the like, but >> apparently not for ntfs systems. >> Is there any package out there that lets me create links in a platform >> independent way? >> >

Webbrowser written totally in Python

2006-09-17 Thread Franz Steinhaeusler
Hello NG, is there any (GUI) webbrowser written completly in Python? in pyGtk, pyQt, wxPython or TkInter? -- Franz Steinhaeusler -- http://mail.python.org/mailman/listinfo/python-list

Re: Hardlinks on NTFS

2006-09-17 Thread Wildemar Wildenburger
Calvin Spealman wrote: > On 9/17/06, Wildemar Wildenburger <[EMAIL PROTECTED]> wrote: >> Hi :) >> >> I'm thinking of letting my program create hardlinks (or symlinks). I >> know python allows doing this for ext, reiser and the like, but >> apparently not for ntfs systems. >> Is there any package ou

Re: Webbrowser written totally in Python

2006-09-17 Thread Lawrence Oluyede
Franz Steinhaeusler <[EMAIL PROTECTED]> wrote: > is there any (GUI) webbrowser written completly in Python? AFAIK Grail is the only attempt but it's _very_ old: http://grail.sourceforge.net/ Made in Python, Tkinter and supports HTML 2.0 (3.2 partially) -- Lawrence - http://www.oluyede.org/blog

Re: Pythondocs.info : collaborative Python documentation project

2006-09-17 Thread Kay Schluehr
[EMAIL PROTECTED] wrote: > Hi, > > I am a bit disapointed with the current Python online documentation. I > have read many messages of people complaining about the documentation, > it's lack of examples and the use of complicated sentences that you > need to read 10 times before understanding what

Re: Hardlinks on NTFS

2006-09-17 Thread Wildemar Wildenburger
Méta-MCI wrote: > Here, a copy of a message send on anither newsgroup (by me). > > Summary on hardlink & junction-point. > [snip] > http://support.microsoft.com/Default.aspx?kbid=205524 Yeah, I know :). Thanks a lot, anyway. There's also fsutils, which I thought about using. Creating the links r

Re: CONSTRUCT - Adding Functionality to the Overall System

2006-09-17 Thread Georg Brandl
Ilias Lazaridis wrote: > I understand that I can use __metaclass__ to create a class which > modifies the behaviour of another class. > > How can I add this metaclass to *all* classes in the system? > > (In ruby I would alter the "Class" class) You'd have to set __metaclass__ = whatever at the

Re: Pythondocs.info : collaborative Python documentation project

2006-09-17 Thread Brad Allen
Kay Schluehr wrote: > Personally, I never found the Python docs particular bad. It is > rewarding to write good documentation because documentation has > different aspects i.e. introductory/tutorial, exhaustive/manual and > design documentation aspects. Not to mention cookbook recipes. > > I also

Re: XPN 0.6.5 released

2006-09-17 Thread Franz Steinhaeusler
Nemesis wrote: > Mentre io pensavo ad una intro simpatica "Franz Steinhaeusler" > scriveva: > >> Hello Nemesis, >> >> >> this I post with XPN! ;) > Good :-) Yes, it is working fine. I also find the different coloring between quoting first and second level very clear-presented. ;) > >> My next tr

[ANN] Movable Python 2.0.0 Beta 1

2006-09-17 Thread Fuzzyman
There is a new version of `Movable Python `_ available. This is available for **Movable Python** for Python 2.2.3, 2.3.5, 2.4.3 and 2.5rc2 from : `The Movable Python Groups Page `_ What is Movable Python =

Re: Webbrowser written totally in Python

2006-09-17 Thread faulkner
this was just on digg: ## import wx from urllib import urlopen import wx.html class Frame(wx.Frame): def userPageButton(self, event): goToPage=self.userPage.GetValue() goToPage='http://www.' + goToPage webpage=urlopen(goT

[ANN] Movable Python Mega-Pack and MovablePython.NET

2006-09-17 Thread Fuzzyman
One of the most important new features of `Movable Python `_ is that it can work with multiple interpreters. That can be other distributions of **Movable Python**, an installed version of Python, IronPython, or in fact any executable (or batch file or a Py

Problem with operator overloading and inheritance in Python

2006-09-17 Thread Edward A. Waugh
Consider the following code:   import sys   class FirstClass:    def __init__(self, value):    self.data = "">    def __add__(self, value):    return FirstClass(self.data + value)    def display(self):    print self.data   class SecondClass(FirstClass):    def __add__(self,

Re: Webbrowser written totally in Python

2006-09-17 Thread Franz Steinhaeusler
faulkner wrote: [source] Hi faulkner, thank you very much, I should have known! ;) It is a beginning after all. > # > there are also python bindings for gtkmozembed in gnome-python-extras > and here: > http://sourceforge.net/projects/pygtkmoz > I will take a look. -- http://ma

Ron Grossi: God is not a man

2006-09-17 Thread OMEGATOBE
Try this website:  HiddenMeanings.com   -- http://mail.python.org/mailman/listinfo/python-list

Re: CONSTRUCT - Adding Functionality to the Overall System

2006-09-17 Thread Damjan
>> I understand that I can use __metaclass__ to create a class which >> modifies the behaviour of another class. >> >> How can I add this metaclass to *all* classes in the system? >> >> (In ruby I would alter the "Class" class) > > You'd have to set > > __metaclass__ = whatever > > at the top

Re: Pythondocs.info : collaborative Python documentation project

2006-09-17 Thread A.M. Kuchling
On Sun, 17 Sep 2006 18:10:51 +0200, Daniel Nogradi <[EMAIL PROTECTED]> wrote: > start a new one. What would be very useful though is more visible > links on the python.org site to the activestate repository where > appropriate. I'm not sure the pyhon.org people would want to promote > acti

Re: Pythondocs.info : collaborative Python documentation project

2006-09-17 Thread Brad Allen
A.M. Kuchling wrote: > However, this code isn't used at the moment because I have no idea > what to do about version controlling the links. Do we just use the > current links whenever the HTML is generated? Make a copy of the list > and commit them into SVN, so the links cease to be updated but

Re: high level, fast XML package for Python?

2006-09-17 Thread Steven Bethard
Martin v. Löwis wrote: > Gleb Rybkin schrieb: >> I searched online, but couldn't really find a standard package for >> working with Python and XML -- everybody seems to suggest different >> ones. >> >> Is there a standard xml package for Python? Preferably high-level, fast >> and that can parse in-

Re: tcl list to python list?

2006-09-17 Thread Paul McGuire
"Cameron Laird" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > In article <[EMAIL PROTECTED]>, > Paul McGuire <[EMAIL PROTECTED]> wrote: > > > Noo! > > I'll be more precise: pyparsing is quite wonderful, and I'm > all in favor of clever demonstrations of its capabi

Re: Hardlinks on NTFS

2006-09-17 Thread Dieter Deyke
Wildemar Wildenburger <[EMAIL PROTECTED]> writes: > Hi :) > > I'm thinking of letting my program create hardlinks (or symlinks). I > know python allows doing this for ext, reiser and the like, but > apparently not for ntfs systems. > Is there any package out there that lets me create links in a pl

Re: Cheese Shop Registration error

2006-09-17 Thread Richard Jones
[EMAIL PROTECTED] wrote: > I tried to register on the Python Cheese Shop, but I constatnly get a > "GPG key ID is invalid" error. > > I made a new GPG key using kgpg, exported the public key to the key > server, and copy/pasted the Key ID into the registration form... But it > doesn't work. And t

Re: Outbound port on sockets

2006-09-17 Thread Bryan Olson
Grant Edwards wrote: > Diez B. Roggisch wrote: [Bryan Olson had written:] >>> It's not the issue here, but to specify the outgoing port >>> call bind(('', portnum)) before connect(). >> I wasn't aware of that. Cool. > > It's an interesting thing to know, but I've been doing TCP > stuff for many ye

Re: tcl list to python list?

2006-09-17 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: >Hi, > >I have a file that contains a "tcl" list stored as a string. The list >members are >sql commands ex: > { begin { select * from foo >where baz='whatever'} > {select * from gooble } end > { insert into bar values('

Re: tcl list to python list?

2006-09-17 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Paul McGuire <[EMAIL PROTECTED]> wrote: . . . >Er? Thanks for the nice comments re: pyparsing, sometimes I feel a little >self-conscious always posting these pyparsing snippets. So I'm glad yo

Re: Outbound port on sockets

2006-09-17 Thread Bryan Olson
Steve Holden wrote: > Grant Edwards wrote: >>> Well, one of ftpd implementations I have here (C code from RTEMS) does >>> this: >>> >>> /* anchor socket to avoid multi-homing problems */ >>> data_source = info->ctrl_addr; >>> data_source.sin_port = htons(20); /* ftp-data port */ >>>

  1   2   >