Re: Why would I use inspect.isclass()?

2004-12-30 Thread it's me
Okay, Nick, I didn't know you can pass a "Class" rather then an instance. I have to chew on what your example does. But no, I want to pass an instance of a Class. But how do I know that the calling routine *did* pass me a class - pardon me: an instance of a Class? -- It's me "Nicolas Fleury"

Re: justifying text...and also...correct use of classes...

2004-12-30 Thread Craig Ringer
On Thu, 2004-12-30 at 10:39, Ross La Haye wrote: [snip code listing] > Is the way I've used the "Combin" class considered correct/appropriate in > the "binprob" method? If not, what is the standard usage? I'm afraid I have no idea what that's about, so I'll have to pass on that. > Also, I'm

Re: portable text user interface

2004-12-30 Thread Miki Tebeka
Hello Fuzzyman, > > > Are there widely used and recommended Python libraries that will > > > let me makes a portable text user interface? > > If you just need a text-like interface you can use Tkinter. > > See (shameless plug) http://developer.berlios.de/projects/bcd/ and > > http://developer.berl

Re: where's "import" in the C sources?

2004-12-30 Thread Torsten Mohr
Hi David, thanks for the explanation. That is very helpful to me. Best regards, Torsten. David Bolen wrote: > Torsten Mohr <[EMAIL PROTECTED]> writes: > >> i tried to find the file and line in the C sources of python >> where the command "import" is implemented. Can anybody give >> me some

GUI with sophisticated Table support

2004-12-30 Thread Torsten Mohr
Hi, i want to write an application where i need a Table to display some values. The table should display a list of objects, so to say, a column for each attribute of the object. I'd also like the user to be able to change the width of each column, like in Excel. I'd prefer to use Tkinter, but i

Re: Updating file objects automatically

2004-12-30 Thread Craig Ringer
On Thu, 2004-12-30 at 11:15, Jorge Luiz Godoy Filho wrote: > Is there something I can do to change all instances of the Search class? > Are there different alternatives for such a "thing"? I couldn't really catch your explanation, but mention of changing all instances of a class suggests that yo

ANN: pyobjc-1.2

2004-12-30 Thread Ronald Oussoren
PyObjC 1.2 is now available for download at http://pyobjc.sourceforge.net/ PyObjC is a bridge between Python and Objective-C. It allows full featured Cocoa applications to be written in pure Python. It is also easy to use other frameworks containing Objective-C class libraries from Python and t

Re: Why would I use inspect.isclass()?

2004-12-30 Thread Nicolas Fleury
it's me wrote: Okay, Nick, I didn't know you can pass a "Class" rather then an instance. I have to chew on what your example does. But no, I want to pass an instance of a Class. But how do I know that the calling routine *did* pass me a class - pardon me: an instance of a Class? You have the buil

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread Dave Cook
On 2004-12-29, Alex Martelli <[EMAIL PROTECTED]> wrote: > the coverage of Twisted and adding just a few things (numarray -- I'd rather have a whole book on Twisted :p. But I'll take a more extensive section in PiaN if I can't have it. Dave Cook -- http://mail.python.org/mailman/listinfo/pytho

Re: Using python to deploy software

2004-12-30 Thread it's me
pyro is most intriguing! Thanks for the information. "Anand" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I haven't but one of my friends have used Pyro (Python Remote Objects) > to do so. > > You basically need to write a custom Pyro server and run it on a > central machine. You

Re: standard IDE in python 3000 (or beyond)? *semi-newbie*

2004-12-30 Thread Brendan Kohler
"mike kreiner" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Are there any plans for developing a standard IDE for python that's > included with the python installation? I found information about other > IDE's elsewhere online, but couldn't even find any mention of this > possibilit

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread Alex Martelli
Dave Cook <[EMAIL PROTECTED]> wrote: > On 2004-12-29, Alex Martelli <[EMAIL PROTECTED]> wrote: > > > the coverage of Twisted and adding just a few things (numarray -- > > I'd rather have a whole book on Twisted :p. But I'll take a more extensive > section in PiaN if I can't have it. I believe

Re: GUI with sophisticated Table support

2004-12-30 Thread F. GEIGER
"Torsten Mohr" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Hi, > > i want to write an application where i need a Table to > display some values. > > The table should display a list of objects, so to say, > a column for each attribute of the object. > I'd also like the user t

Re: Python + Lisp integration?

2004-12-30 Thread Simo Melenius
Arthur <[EMAIL PROTECTED]> writes: > but Lush - Lisp Universal Shell - is mature and has bindings to the > Python C API. Lush looks like a very interesting project on its own, too, and seems to have a load of bindings to other libraries too÷÷. (Even better if it was to support Python 2.3/2.4 once

build a static executable program with python

2004-12-30 Thread Torsten Mohr
Hi, i'd like to build an executable file that is linked with a python library and executes a script via PyRun_SimpleString or similar functions. Is there a static library of python available, so the users don't need to install python? What about DLL modules, do i just need to compile them as a

Re: PyQT installation

2004-12-30 Thread Phil Thompson
On Thursday 30 December 2004 1:27 am, Nanoscalesoft wrote: > hello all, > I am planning to start coding a nanoscale design software in > python with QT interface.I have to do this in windows or linux.Intially > windows would be fine. > I have struggled almost full day today trying to make > from im

Re: GUI with sophisticated Table support

2004-12-30 Thread Torsten Mohr
Hi, > Do a group-google search for *tkinter table*. That shows up quite a few > hits. thanks for that hint, but nearly every hit shows the Table of contents for Tkinter", which is not what i search for. My question here is rather in detail about Tkinters Table and if it can show resizable column

Re: Why would I use inspect.isclass()?

2004-12-30 Thread "Martin v. Löwis"
it's me wrote: Okay, Nick, I didn't know you can pass a "Class" rather then an instance. I have to chew on what your example does. But no, I want to pass an instance of a Class. But how do I know that the calling routine *did* pass me a class - pardon me: an instance of a Class? You really need t

Re: Mutable objects which define __hash__ (was Re: Why are tuples immutable?)

2004-12-30 Thread Bengt Richter
On Thu, 30 Dec 2004 17:36:57 +1000, Nick Coghlan <[EMAIL PROTECTED]> wrote: >Bengt Richter wrote: >> Essentially syntactic sugar to avoid writing id(obj) ? (and to get a little >> performance >> improvement if they're written in C). I can't believe this thread came from >> the >> lack of such su

Odd error by mod_python

2004-12-30 Thread charliek
I have mod_python 2.7.10 running with python 2.3.4 and am getting an odd error. The error is happening on the production machine, and not on my development machine. I am using the publisher handler and am calling the index function with this code: -- from mod_pytho

Is there a better way of listing Windows shares other than using "os.listdir"

2004-12-30 Thread Doran_Dermot
Hi All, I'm currently using "os.listdir" to obtain the contents of some slow Windows shares. I think I've seen another way of doing this using the win32 library but I can't find the example anymore. My main problem with using "os.listdir" is that it hangs my gui application. The tread running th

Re: GUI with sophisticated Table support

2004-12-30 Thread Alex Martelli
Torsten Mohr <[EMAIL PROTECTED]> wrote: > My question here is rather in detail about Tkinters Table and if it can > show resizable columns tho easily display a list of objects. > > I did not find any help searching for this with google, but i'd really > rather like to use Tkinter over wxPython, t

Re: need some help with threading module...

2004-12-30 Thread chahnaz.ourzikene
Hi, I fixed the code, it runs under Linux but not under windows 0_o ??! i guess windows and Linux do not handle threads the same way. However, i don't have the result i excpect. Please have a look here : ## In this little program, i'm trying to find a way to yield data from a thread within anot

Re: Unicode entries on sys.path

2004-12-30 Thread vincent wehren
Thomas Heller wrote: "Martin v. Löwis" <[EMAIL PROTECTED]> writes: Thomas Heller wrote: How should these patches be approached? Please have a look as to how posixmodule.c and fileobject.c deal with this issue. On windows, it would probably be easiest to use the MS generic text routines: _tcslen i

RE: Is there a better way of listing Windows shares other than us ing "os.listdir"

2004-12-30 Thread Tim Golden
[EMAIL PROTECTED] | I'm currently using "os.listdir" to obtain the contents of | some slow Windows shares. I think I've seen another way of | doing this using the win32 library but I can't find the | example anymore. It may be FindFilesIterator, recently added to the win32file module in pywin

Re: help - problem installing pywin32

2004-12-30 Thread Simon Brunning
On 27 Dec 2004 10:18:18 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, > > I was trying to install pywin32 on one computer which has Python 2.4 > installed and it failed. > The error message I got was > > "Can't load Python for pre-install script". I'm not sure what the problem act

RE: Is there a better way of listing Windows shares other than us ing "os.listdir"

2004-12-30 Thread Doran_Dermot
Hi Tim, That does the trick! Now my gui remains responsive during the long search time. Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden Sent: 30 December 2004 10:54 To: python-list@python.org Subject: RE: Is there a better way of lis

Re: portable text user interface

2004-12-30 Thread Maxim Kasimov
Miki Tebeka wrote: Hello Fuzzyman, Are there widely used and recommended Python libraries that will let me makes a portable text user interface? If you just need a text-like interface you can use Tkinter. See (shameless plug) http://developer.berlios.de/projects/bcd/ and http://developer.berlios.d

Re: Updating file objects automatically

2004-12-30 Thread Jorge Luiz Godoy Filho
Craig Ringer, Quinta 30 Dezembro 2004 06:27, wrote: > I couldn't really catch your explanation, but mention of changing all > instances of a class suggests that you may be in a situation where you > need to modify the class, not its instances. There are two methods I use > when I have to change th

Re: GUI with sophisticated Table support

2004-12-30 Thread F. GEIGER
"Torsten Mohr" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Hi, > > > Do a group-google search for *tkinter table*. That shows up quite a few > > hits. > > thanks for that hint, but nearly every hit shows the Table of contents > for Tkinter", which is not what i search for.

Re: Unicode entries on sys.path

2004-12-30 Thread "Martin v. Löwis"
vincent wehren wrote: FindFirstFile does not seem to be one of them - unless the list on htpp://msdn.microsoft.com/library/default.asp?url=/library/en-us/mslu/winprog/other_existing_unicode_support.asp) is bogus (?). It might perhaps be misleading: I think the entry points are there, but calling

Re: build a static executable program with python

2004-12-30 Thread David Fraser
Torsten Mohr wrote: Hi, i'd like to build an executable file that is linked with a python library and executes a script via PyRun_SimpleString or similar functions. Is there a static library of python available, so the users don't need to install python? What about DLL modules, do i just need to co

Re: Updating file objects automatically

2004-12-30 Thread Jorge Luiz Godoy Filho
Jorge Luiz Godoy Filho, Quinta 30 Dezembro 2004 09:20, wrote: > It helps, yes. Putting the object on the class instead of on an instance > of > it might (I'm 99.9% sure) solve the problem. (I have already done that > for other object that is shared, but I didn't remember doing that for > this)

Re: Python + Lisp integration?

2004-12-30 Thread Simo Melenius
Erno Kuusela <[EMAIL PROTECTED]> writes: > you might want to look at . Thanks, this was a good link! Logix looks like an interesting project, really, and I think I'll at least study its internals myself to shed light to how it uses the Python compiler. Looks like som

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread alecwy
Discussion of GIL and (in)ability to control thread priority. Thanks for asking! -- http://mail.python.org/mailman/listinfo/python-list

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

2004-12-30 Thread Cameron Laird
QOTW: "I found the discussion of unicode, in any python book I have, insufficient." -- Thomas Heller "If you develop on a Mac, ... Objective-C could come in handy. . . . PyObjC makes mixing the two languages dead easy and more convenient than indoor plumbing." -- Robert Kern Among other ac

Re: Other notes

2004-12-30 Thread Steve Holden
Bengt Richter wrote: On Wed, 29 Dec 2004 13:11:43 -0500, Steve Holden <[EMAIL PROTECTED]> wrote: [...] Well, perhaps you can explain how a change that's made at run time (calling the decorator) can affect the parser's compile time behavior, then. At the moment, IIRC, the only way Python code can

Re: Problem in threading

2004-12-30 Thread Steve Holden
Gurpreet Sachdeva wrote: So That means blindly using threads on any process won't help! It depends on what "help" means to you. Help means to improve processing speed in achieving a particular task... *Help* here also means that I have a processor farm, how do I best use them to get maximum proces

Re: Why tuples use parentheses ()'s instead of something else like <>'s?

2004-12-30 Thread Ed Leafe
On Dec 29, 2004, at 3:38 PM, Rocco Moretti wrote: So to summarize: Commas define tuples, except when they don't, and parentheses are only required when they are necessary. Exactly! Now can we clear anything else up for you? ;-) ___/ / __/ / / Ed Leafe http://leafe.com/ ht

Securing a future for anonymous functions in Python

2004-12-30 Thread Nick Coghlan
GvR has commented that he want to get rid of the lambda keyword for Python 3.0. Getting rid of lambda seems like a worthy goal, but I'd prefer to see it dropped in favour of a different syntax, rather than completely losing the ability to have anonymous functions. Anyway, I'm looking for feedba

Computer text recognition (was. Re: Why tuples use parentheses ()'s instead of something else like <>'s?)

2004-12-30 Thread Nick Coghlan
Ed Leafe wrote: Exactly! Now can we clear anything else up for you? ;-) How about a computer program than can correctly count the number of letter E's in your signature? :) Cheers, Nick. I like the sig, if you hadn't guessed. . . -- Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Austral

Re: Confusion About Classes

2004-12-30 Thread Steve Holden
Steven Bethard wrote: M.E.Farmer wrote: there are no variables in python [...] As M.E.Farmer mentioned, you can't remove underscores on special method names like __init__. However, when you're declaring an instance variable, e.g.: self.__xyz = True then you're choosing the name here, so you

Re: Tkinter vs wxPython

2004-12-30 Thread Steve Holden
Bernd Schmidt wrote: Thomas Bartkus schrieb: When run under Linux, my wxPython programs follow the look and feel of my Gnome desktop. When the same program is run on Windows, it follows that desktop theme. Both Gnome and Windows XP alter the the controls design according to user preferences. wxPy

Re: Securing a future for anonymous functions in Python

2004-12-30 Thread Paul Rubin
Nick Coghlan <[EMAIL PROTECTED]> writes: > Anyway, I'm looking for feedback on a def-based syntax that came up in > a recent c.l.p discussion: Looks like just an even more contorted version of lambda. It doesn't fix lambda's main deficiency which is inability to have several statements in the ano

Re: standard IDE in python 3000 (or beyond)? *semi-newbie*

2004-12-30 Thread Steve Holden
Brendan Kohler wrote: "mike kreiner" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Are there any plans for developing a standard IDE for python that's included with the python installation? I found information about other IDE's elsewhere online, but couldn't even find any mention of t

Re: Why would I use inspect.isclass()?

2004-12-30 Thread Steve Holden
it's me wrote: Okay, Nick, I didn't know you can pass a "Class" rather then an instance. I have to chew on what your example does. But no, I want to pass an instance of a Class. But how do I know that the calling routine *did* pass me a class - pardon me: an instance of a Class? You should Google

Re: Why would I use inspect.isclass()?

2004-12-30 Thread Steve Holden
Martin v. Löwis wrote: it's me wrote: Okay, Nick, I didn't know you can pass a "Class" rather then an instance. I have to chew on what your example does. But no, I want to pass an instance of a Class. But how do I know that the calling routine *did* pass me a class - pardon me: an instance of

Re: portable text user interface

2004-12-30 Thread Steve Holden
Maxim Kasimov wrote: Miki Tebeka wrote: Hello Fuzzyman, Are there widely used and recommended Python libraries that will let me makes a portable text user interface? If you just need a text-like interface you can use Tkinter. See (shameless plug) http://developer.berlios.de/projects/bcd/ and http

Re: Tkinter vs wxPython

2004-12-30 Thread Nick Coghlan
Steve Holden wrote: Bernd Schmidt wrote: Sure, but on my Linux, I use KDE, never Gnome, other people use Windowmaker or something else. wxPython with KDE-Look? What is the native look with wxPython and KDE? I don't think there is something like this, and the problem is that there isn't a free QT

Re: Securing a future for anonymous functions in Python

2004-12-30 Thread Nick Coghlan
Paul Rubin wrote: Nick Coghlan <[EMAIL PROTECTED]> writes: Anyway, I'm looking for feedback on a def-based syntax that came up in a recent c.l.p discussion: Looks like just an even more contorted version of lambda. It doesn't fix lambda's main deficiency which is inability to have several stateme

Re: portable text user interface

2004-12-30 Thread Maxim Kasimov
Steve Holden wrote: Maxim Kasimov wrote: Miki Tebeka wrote: Hello Fuzzyman, Are there widely used and recommended Python libraries that will let me makes a portable text user interface? If you just need a text-like interface you can use Tkinter. See (shameless plug) http://developer.berlios.de/pr

Re: Securing a future for anonymous functions in Python

2004-12-30 Thread Jp Calderone
On Fri, 31 Dec 2004 00:00:31 +1000, Nick Coghlan <[EMAIL PROTECTED]> wrote: >Paul Rubin wrote: > > Nick Coghlan <[EMAIL PROTECTED]> writes: > > > >>Anyway, I'm looking for feedback on a def-based syntax that came up in > >>a recent c.l.p discussion: > > > > > > Looks like just an even more conto

Re: build a static executable program with python

2004-12-30 Thread Adal Chiriliuc
My app uses Python 2.4 and the Pythonwin GUI (Python MFC wrapper). I build it as a single exe file with everything linked in it. It's a lot smaller than all the DLL's put together. The Python modules are also put into the file as a Win32 resource which contains all the modules bz2 compressed. I ga

Re: Mixing metaclasses and exceptions

2004-12-30 Thread Jp Calderone
On Mon, 27 Dec 2004 21:44:23 -0500, Steve Menard <[EMAIL PROTECTED]> wrote: >In writing the next version of Jpype (Python to Java bridge), I have hot > a rather unpleasant wall ... Hopefully it is I who is doing something > wrong and i can be fixed ... > > Since I am bridging Java classes and pr

Re: Securing a future for anonymous functions in Python

2004-12-30 Thread Nick Coghlan
Jp Calderone wrote: On Fri, 31 Dec 2004 00:00:31 +1000, Nick Coghlan <[EMAIL PROTECTED]> wrote: Paul Rubin wrote: Nick Coghlan <[EMAIL PROTECTED]> writes: Anyway, I'm looking for feedback on a def-based syntax that came up in a recent c.l.p discussion: Looks like just an even more contorted versi

Re: Securing a future for anonymous functions in Python

2004-12-30 Thread Jp Calderone
On Fri, 31 Dec 2004 00:19:29 +1000, Nick Coghlan <[EMAIL PROTECTED]> wrote: >Jp Calderone wrote: > > On Fri, 31 Dec 2004 00:00:31 +1000, Nick Coghlan <[EMAIL PROTECTED]> wrote: > > > >>Paul Rubin wrote: > >> > >>>Nick Coghlan <[EMAIL PROTECTED]> writes: > >>> > >>> > Anyway, I'm looking for fe

RE: Securing a future for anonymous functions in Python

2004-12-30 Thread Batista, Facundo
Title: RE: Securing a future for anonymous functions in Python [Nick Coghlan] #- I just don't understand why people complain so much about #- the restriction to a #- single _expression_ in lambdas, yet there is nary a peep about #- the same #- restriction for generator expressions and li

Re: PyQT installation

2004-12-30 Thread Nanoscalesoft
hi phil... py-->2.4 pyqt-->3.3 qt-->2.3.0 -- http://mail.python.org/mailman/listinfo/python-list

Re: Securing a future for anonymous functions in Python

2004-12-30 Thread John Roth
"Nick Coghlan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] GvR has commented that he want to get rid of the lambda keyword for Python 3.0. Getting rid of lambda seems like a worthy goal, but I'd prefer to see it dropped in favour of a different syntax, rather than completely losi

Re: portable text user interface

2004-12-30 Thread Grant Edwards
On 2004-12-30, Maxim Kasimov <[EMAIL PROTECTED]> wrote: > yes i'm telneting (sshing), that is the reason why i'm looking > for libs for making text interfaces. i know there is a project > named "anakonda" - red hat linux installer, but it is uses > specific C libs. i can use only python libs. By

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread Alex Martelli
<[EMAIL PROTECTED]> wrote: > Discussion of GIL and (in)ability to control thread priority. > Thanks for asking! Thanks for answering, but I'm not sure I understand your advice. What "discussion" of the GIL is needed beyond the 3 lines currently on top of p. 277? What "discussion" of what _isn't

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread yaipa
Alex Martelli wrote: > I'm considering proposing to O'Reilly a 2nd edition of "Python in a > Nutshell", that I'd write in 2005, essentially to cover Python 2.3 and > 2.4 (the current 1st edition only covers Python up to 2.2). > > What I have in mind is not as complete a rewrite as for the 2nd vs 1

Want some extra cash, try this

2004-12-30 Thread adamhum
want some extra cash, try this THIS REALLY CAN MAKE YOU EASY MONEY!! A little while back, I was on my computer having a grand old time, just like you are now and came across an article similar to this that said you could make thousands dollars within weeks with only an initial investment of $

Probleme mit der Installation der openSource Bittorrent.... python vs JAVA

2004-12-30 Thread xunling
Hallo, ich hätte da mal eine Frage zum Azureus bttrn client. Ich habe über die homepage eine jar datei runtergeldan, in der steht aber nicht viel drin, vielleicht nimmt sich jemand die Zeit und schaut sie sich mal an / und oder klärt mich auf?... Kann ich die Jardatei nicht verwenden (was ich wil

Re: PyQT installation

2004-12-30 Thread Phil Thompson
On Thursday 30 December 2004 2:34 pm, Nanoscalesoft wrote: > hi phil... > py-->2.4 > pyqt-->3.3 I assume you mean PyQt-win-nc-msvc-3.13.exe > qt-->2.3.0 I assume you mean the non-commercial edition. The binaries are built against Python 2.3.3 - Python 2.4 won't work. Python 2.4 (and later) wil

Re: Probleme mit der Installation der openSource Bittorrent.... python vs JAVA

2004-12-30 Thread JZ
Dnia 30 Dec 2004 07:24:45 -0800, xunling napisał(a): > ich hätte da mal eine Frage zum Azureus bttrn client. This is not German newsgroup! Write English or none. -- JZ -- http://mail.python.org/mailman/listinfo/python-list

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

2004-12-30 Thread Cameron Laird
QOTW: "I found the discussion of unicode, in any python book I have, insufficient." -- Thomas Heller "If you develop on a Mac, ... Objective-C could come in handy. . . . PyObjC makes mixing the two languages dead easy and more convenient than indoor plumbing." -- Robert Kern Among other ac

import with "python -O"

2004-12-30 Thread Sylvain Thenault
Hi there ! I'm usually relying on the fact that pyc file are autogenerated when necessary (ie usually when the py file has been modified since the pyc creation). However, it doesn't seems to work correctly when the -O option is given to the interpreter : [EMAIL PROTECTED]:test$ python Python 2.3.

Re: Why tuples use parentheses ()'s instead of something else like <>'s?

2004-12-30 Thread Roel Schroeven
Rocco Moretti wrote: So to summarize: Commas define tuples, except when they don't, and parentheses are only required when they are necessary. I hope that clears up any confusion. You have my vote for QOTW. -- "Codito ergo sum" Roel Schroeven -- http://mail.python.org/mailman/listinfo/python-list

Re: Probleme mit der Installation der openSource Bittorrent.... python vs JAVA

2004-12-30 Thread Craig Ringer
On Thu, 2004-12-30 at 23:31, JZ wrote: > Dnia 30 Dec 2004 07:24:45 -0800, xunling napisał(a): > > > ich hätte da mal eine Frage zum Azureus bttrn client. > > This is not German newsgroup! Write English or none. While that may be true, there are nicer ways to express the sentiment. I don't know a

[OT] Azureus Java BitTorrent client - was: Re: Probleme mit der Installation der openSource Bittorrent.... python vs JAVA

2004-12-30 Thread Gerhard Haering
On Thu, Dec 30, 2004 at 07:24:45AM -0800, xunling wrote: > Hallo, > > ich hätte da mal eine Frage zum Azureus bttrn client. [...] [I'd have a question about the Azureus BitTorrent client.] While the original BitTorrent is implemented in Python, this is not the right mailing list/newsgruop for Ja

Re: standard IDE in python 3000 (or beyond)? *semi-newbie*

2004-12-30 Thread Aahz
In article <[EMAIL PROTECTED]>, Steve Holden <[EMAIL PROTECTED]> wrote: > >With respect it wouldn't, since IDLE doesn;t include a GUI builder. I >think Mike's cri-de-couer is for a tool that makes it as easy as Visual >Studio to put a GUI-based application together. Should the Python community

Re: Probleme mit der Installation der openSource Bittorrent.... python vs JAVA

2004-12-30 Thread Gerhard Haering
On Fri, Dec 31, 2004 at 12:02:24AM +0800, Craig Ringer wrote: > On Thu, 2004-12-30 at 23:31, JZ wrote: > > Dnia 30 Dec 2004 07:24:45 -0800, xunling napisa??(a): > > > > > ich hätte da mal eine Frage zum Azureus bttrn client. > > > > This is not German newsgroup! Write English or none. > > While

Re: standard IDE in python 3000 (or beyond)? *semi-newbie*

2004-12-30 Thread Steve Holden
Aahz wrote: In article <[EMAIL PROTECTED]>, Steve Holden <[EMAIL PROTECTED]> wrote: With respect it wouldn't, since IDLE doesn;t include a GUI builder. I think Mike's cri-de-couer is for a tool that makes it as easy as Visual Studio to put a GUI-based application together. Should the Python com

Re: PyQT installation

2004-12-30 Thread Steve Holden
Phil Thompson wrote: On Thursday 30 December 2004 2:34 pm, Nanoscalesoft wrote: hi phil... py-->2.4 pyqt-->3.3 I assume you mean PyQt-win-nc-msvc-3.13.exe qt-->2.3.0 I assume you mean the non-commercial edition. The binaries are built against Python 2.3.3 - Python 2.4 won't work. Python 2.4 (an

UK Python Conference - 20-23 April 2005 - Last Call for talks

2004-12-30 Thread pyuk2005
The UK Python Conference for 2005 will take place at the Randolph Hotel, Oxford on 20-23 April 2005. This is the FINAL CALL for talks. The original deadline of 26th December has been extended to 6 January, to help all those folks who were concentrating on the PyCon deadline of 30th December. Rec

Re: import with "python -O"

2004-12-30 Thread Sylvain Thenault
On Thu, 30 Dec 2004 16:56:17 +0100, Sylvain Thenault wrote: > Hi there ! > > I'm usually relying on the fact that pyc file are autogenerated when > necessary (ie usually when the py file has been modified since the pyc > creation). However, it doesn't seems to work correctly when the -O option >

Re: Probleme mit der Installation der openSource Bittorrent.... python vs JAVA

2004-12-30 Thread Steve Holden
JZ wrote: Dnia 30 Dec 2004 07:24:45 -0800, xunling napisał(a): ich hätte da mal eine Frage zum Azureus bttrn client. This is not German newsgroup! Write English or none. Perhaps not, but can we say "International"? There is no rule requiring the use of any particular language on c.l.py, and I ca

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread JoeG
I use your book a lot so another version would be helpful. I know I'll buy a copy. Heck, I'd pay you money just to have access to the draft while you write it. One suggestion I have is to include chapters that expand on test based development and lazy functions. Maybe you could go into some of

Re: Why would I use inspect.isclass()?

2004-12-30 Thread It's me
Steve, You are correct that I worry too much about types. It's *really* hard not to - having so many years of C in my head (and I am not exactly a programmer). I realize that "if you don't understand duck typing, you don't really understand Python" - and that's why I am struggling to learn abou

Re: standard IDE in python 3000 (or beyond)? *semi-newbie*

2004-12-30 Thread mrkurt
Steve Holden wrote: Aahz wrote: In article <[EMAIL PROTECTED]>, Steve Holden <[EMAIL PROTECTED]> wrote: With respect it wouldn't, since IDLE doesn;t include a GUI builder. I think Mike's cri-de-couer is for a tool that makes it as easy as Visual Studio to put a GUI-based application together. S

Re: PyQT installation

2004-12-30 Thread Phil Thompson
On Thursday 30 December 2004 4:13 pm, Steve Holden wrote: > Phil Thompson wrote: > > On Thursday 30 December 2004 2:34 pm, Nanoscalesoft wrote: > >>hi phil... > >>py-->2.4 > >>pyqt-->3.3 > > > > I assume you mean PyQt-win-nc-msvc-3.13.exe > > > >>qt-->2.3.0 > > > > I assume you mean the non-commerc

Re: PyQT installation

2004-12-30 Thread Jorge Luiz Godoy Filho
Steve Holden, Quinta 30 Dezembro 2004 14:13, wrote: > If that is a real *never* then Qt just fell behind in the "what's the > best GUI platform" stakes. It'd be a shame to lose PyQT, but if there's > no way to migrate it forwards it will atrophy and die. Have TrollTech > said they will never issue

Re: portable text user interface

2004-12-30 Thread Maxim Kasimov
Grant Edwards wrote: On 2004-12-30, Maxim Kasimov <[EMAIL PROTECTED]> wrote: yes i'm telneting (sshing), that is the reason why i'm looking for libs for making text interfaces. i know there is a project named "anakonda" - red hat linux installer, but it is uses specific C libs. i can use only pyth

Re: standard IDE in python 3000 (or beyond)? *semi-newbie*

2004-12-30 Thread mrkurt
mrkurt wrote: Steve Holden wrote: Aahz wrote: In article <[EMAIL PROTECTED]>, Steve Holden <[EMAIL PROTECTED]> wrote: With respect it wouldn't, since IDLE doesn;t include a GUI builder. I think Mike's cri-de-couer is for a tool that makes it as easy as Visual Studio to put a GUI-based applicatio

The Industry choice

2004-12-30 Thread Sridhar R
>From technical point of view, I could not understand the the reasoning behind using Java in major companies. Sure that Python, is used in some, but still Java is considered as a sure-job language. After being a python programmer for long time, I consider it painful to learn/use Java now (well, l

Re: standard IDE in python 3000 (or beyond)? *semi-newbie*

2004-12-30 Thread Jorge Luiz Godoy Filho
mrkurt, Quinta 30 Dezembro 2004 14:39, wrote: > About the closest thing to what Mike might want is Boa Constructor, > which does have a GUI building tool. It is not as polished as the > Visual Studio GUI builder, but there are a lot of controls there that > can be used. It requires the wxWindows

Re: Why tuples use parentheses ()'s instead of something else like <>'s?

2004-12-30 Thread Alex Martelli
John Roth <[EMAIL PROTECTED]> wrote: ... > and division. We've allowed ourselves to be limited by the > ASCII character set for so long that improving that seems to be > outside of most people's boxes. APL didn't allow itself to be limited that way. Anybody who's used it can hardly be accused

Re: PyQT installation

2004-12-30 Thread Nanoscalesoft
does that mean PyQT is not forward What a bad thing is this... -- http://mail.python.org/mailman/listinfo/python-list

Re: The Industry choice

2004-12-30 Thread Thomas Bartkus
"Sridhar R" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >From technical point of view, I could not understand the the reasoning > behind using Java in major companies. Sure that Python, is used in > some, but still Java is considered as a sure-job language. > > After being a pyth

Re: build a static executable program with python

2004-12-30 Thread Torsten Mohr
Hi, thank you very much for that detailled description. I will try to get as far as i can with this information and get back to you if i have any questions. Thanks a lot, Torsten. -- http://mail.python.org/mailman/listinfo/python-list

Re: build a static executable program with python

2004-12-30 Thread Torsten Mohr
Hi Adal, can you send me your mail address? I think the one in your posting is a spam stopper. Cheers, Torsten. -- http://mail.python.org/mailman/listinfo/python-list

Re: Why tuples use parentheses ()'s instead of something else like <>'s?

2004-12-30 Thread Alex Martelli
Dan Sommers <[EMAIL PROTECTED]> wrote: ... > > I was pretty sure that « and » were guillmots, but google sure > > preferred the sea bird when I asked it. > > They're guillemets (with an "e"); this is a [relatively] well-known > Adobe SNAFU. (A quick google search or two failed to find an > aut

Re: Why tuples use parentheses ()'s instead of something else like <>'s?

2004-12-30 Thread Alex Martelli
Jeff Shannon <[EMAIL PROTECTED]> wrote: ... > to remember and type some arcane alt-keycode formula to be able to do > basic scripting would be obnoxious, to say the least. Most keyboards > worldwide provide decent support for the ASCII character set (though > some add a few extra national char

OT: novice regular expression question

2004-12-30 Thread It's me
I am never very good with regular expressions. My head always hurts whenever I need to use it. I need to read a data file and parse each data record. Each item on the data record begins with either a string, or a list of strings. I searched around and didn't see any existing Python packages tha

Re: Problem in threading

2004-12-30 Thread David Bolen
"It's me" <[EMAIL PROTECTED]> writes: > It depends on what "help" means to you. Both Windows and Unix (and it's > variances) are considered "thread-weak" OSes. So, using thread will come > with some cost. The long gone IBM OS/2 is a classic example of a > "thread-strong" OS. (...) Interestin

Re: Problem in threading

2004-12-30 Thread It's me
That's an OT topic. :=) There were lots of discussions about this topic in the old days. No need to dive into it again. Windows context switching overhead is very high. You would be lucky to get it down to the mid-30ms. OS/2 can get it down to less then 10. And for OS/2, thread swithing

Using pyclbr

2004-12-30 Thread Ed Leafe
I've been playing around with pyclbr today, and it does what I need it to do. The only problem is that it seems r-e-e-e-a-a-a-a-l-l-l-l-y-y-y slow! I called pyclbr.readmodule() with a file that was about 2K in size, and which contained only two classes. That call took over 12 seconds to comple

Re: The Industry choice

2004-12-30 Thread Premshree Pillai
On 30 Dec 2004 08:58:36 -0800, Sridhar R <[EMAIL PROTECTED]> wrote: > >From technical point of view, I could not understand the the reasoning > behind using Java in major companies. Sure that Python, is used in > some, but still Java is considered as a sure-job language. It certainly is not beca

Re: Is there a better way of listing Windows shares other than using "os.listdir"

2004-12-30 Thread David Bolen
[EMAIL PROTECTED] writes: > I'm currently using "os.listdir" to obtain the contents of some slow Windows > shares. I think I've seen another way of doing this using the win32 library > but I can't find the example anymore. Do you want the list of files on the shares or the list of shares itself?

  1   2   3   >