Re: Eclipse best/good or bad IDE for Python?

2005-12-02 Thread Jean-François Doyon
I'm a big fan of Eclipse and reocmmend it to anyone who asks :) No one can say any one is the *best*, since it's a matter of taste, but it's pretty darn good. The main benefit IMO is it's felibility ... Eclipse is a *framework*, that can handle lots things quite well, like HTML (If you're coding

Re: "no variable or argument declarations are necessary."

2005-10-02 Thread Jean-François Doyon
Wow, never even occured ot me someone would have a problem with this! But, this might help: http://www.logilab.org/projects/pylint In more detail: > Surely that means that if I misspell a variable name, my program will > mysteriously fail to work with no error message. No, the error message

Re: Class Help

2005-10-01 Thread Jean-François Doyon
You have to crate an instanciation of the class before you can use one. So you want to do: instance = Xyz() instance.y() You won't get any output though, might want to do: class Xyz: def y(self): print 'y worked!' it's more satisfying :) Basically, look into the difference betwe

Re: Zope3 Examples?

2005-09-29 Thread Jean-François Doyon
Markus, Zope 3 is mature as a framework, but does not provide much "out of the box". It's a basis upon which to build applications like Plone ... If you are looking for something that provides Plone-like features on top of Zope 3, it doesn't exist (yet). Personally, I'm waiting for this: http

Re: Will Python Be Good For This Type Of Project?

2005-09-29 Thread Jean-François Doyon
> What I'm trying to determine is 1) if it's relatively easy to write a > program to work as an application AND an applet (depending on how it's > called) No. There is no such thing as "Python applets", unless the end user's browser has third-party plug-ins that enable browsers to do so (A Pytho

Re: How to decompile an exe file compiled by py2exe?

2005-09-24 Thread Jean-François Doyon
Last I looked, py2exe only kept the byte-compiiled versions of your files, and not the raw source. py2exe is just an archive, you can open it up in WinZip for example and see your .pyc/pyo files. That gets you part of the way there ... Then you would need to find a way to "disassemble" the byte

Re: String from File -> List without parsing

2005-09-04 Thread Jean-François Doyon
Gregor, You want to use eval(): Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> eval('[3,54,5]') [3, 54, 5] >>> Cheers, J.F. Gregor Horvath wrote: > Hi, > > given the dynamic nature of