Re: PyDev 1.3.9 code compleition trouble

2007-10-11 Thread Don Taylor
Vyacheslav Maslov wrote: I use Pydev 1.3.9 and notice issue related to code completion. I give an ...stuff deleted... proposed also as well. Why this doesn't work? You will have better luck asking this question on the Pydev forum: http://sourceforge.net/forum/forum.php?forum_id=293649 The

How to do transparent (opaque) windows from Python

2007-10-06 Thread Don Taylor
I want to build an application in Python that can show an opaque window so that you can still see and type into any window that it covers. Sort of like a software mylar transparency sheet placed over the screen. I need to be able to type 'through' the transparency into the underlying

Re: Found a product for running Python-based websites off CDROM -have anybody tried it?

2007-02-20 Thread Don Taylor
David Wishnie wrote: Hello, Recently I've found a product that allows to create CDs or DVDs with mod_python -based websites (and CGI python of course) so that apache-based webserver, python and mod_python are run directly off CD on Windows, MacOS X and Linux at the same time (also it

Re: Help Required for Choosing Programming Language

2007-02-17 Thread Don Taylor
[EMAIL PROTECTED] wrote: I am VB6 programmer and wants to start new programming language but i am unable to deciced. i have read about Python, Ruby and Visual C++. but i want to go through with GUI based programming language like VB.net By 'GUI based programming language' I think that you

Re: Testers please

2007-02-14 Thread Don Taylor
martien friedeman wrote: I have written this tool that allows you to look at runtime data and code at the same time. And now I need people to test it. The easiest way to see what I mean is to look at some videos: http://codeinvestigator.googlepages.com/codeinvestigator_videos It

Re: Generating pdf files in epydoc on Windows

2007-02-12 Thread Don Taylor
Duncan Smith wrote: As I remember, LaTeX and ghostscript. Thanks. OK, I have these installed now, but apparently epydoc can't find them and I don't know how to teach it to find them. Error: latex failed: [Errno 2] The system cannot find the file specified epydoc does creates

Generating pdf files in epydoc on Windows

2007-02-11 Thread Don Taylor
Does anyone know what is needed to install to get epydoc to generate pdf files on Windows. Besides epydoc itself of course. Maybe there is a more appropriate forum to ask newbie questions about epydoc? Thanks, Don. -- http://mail.python.org/mailman/listinfo/python-list

Re: help a newbie with a IDE/book combination

2006-07-10 Thread Don Taylor
kilnhead wrote: I have used spe and pyscripter on windows. I currently use Eclipse and this it is the best of the lot in terms of functionality. However, it does take some effort to get comfortable with. I only wish it had a GUI builder for python. I have found that wxGlade plays nicely with

Re: OT: wxPython GUI designer

2006-06-21 Thread Don Taylor
Frithiof Andreas Jensen wrote: Just gave is a spin yesterday: How does on fix the size of layout; I can only manage to get sizers to distribute space evently amongst the fields, which is *not* what I want. Use spacers. Don. -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython GUI designer

2006-06-19 Thread Don Taylor
aum wrote: On Sun, 18 Jun 2006 13:09:08 -0700, diffuser78 wrote: I am newbie learning wxPython. I tried using GUI designer called wxGlade. When it generated code I couldnt get the same level of flexibility as writing the code by oneself. Any view on what you think about using GUI designer

Re: which windows python to use?

2006-05-12 Thread Don Taylor
Robert Kern wrote: In what way? Does the mingw gcc that we distribute interfere with Cygwin's gcc? Robert: Which C compiler will you be using for the Enthought 2.4 Windows release? Don. -- http://mail.python.org/mailman/listinfo/python-list

Re: which windows python to use?

2006-05-12 Thread Don Taylor
Robert Kern wrote: Which C compiler will you be using for the Enthought 2.4 Windows release? Define using. We build Python with whatever compiler the official build is compiled with. In this case, MSVC 7.mumble, I think . For this release, we will ship the latest available gcc available

Re: Using a browser as a GUI: which Python package

2006-04-30 Thread Don Taylor
John J. Lee wrote: André [EMAIL PROTECTED] writes: [...] I would like to use a browser (e.g. Firefox) as a simple GUI framework. Note that this is to be done on a single user machine, so the question of sandboxing is not really relevant here. [...] My ultimate goal would be to port the

A defense for bracket-less code

2006-04-26 Thread Don Taylor
Found in a style guide (http://www.artlogic.com/careers/styleguide.html) --- Another case where unnecessary braces should be used is when writing an empty while loop: while (*p++ = *q++) { // this loop intentionally left

Re: MVC in Python for web app dev

2006-03-27 Thread Don Taylor
[EMAIL PROTECTED] wrote: I'm aware that Pylons is trying to compete with Rails in the near future but I'm just not clear on how directly they are trying to compete...will Pylons have the same generation functions and other time saving goodies that RoR has or am I barking up the wrong tree?

Re: Python 2.5 Schedule

2006-03-20 Thread Don Taylor
Ravi Teja wrote: http://msdn.microsoft.com/visualc/vctoolkit2003/ Free. True, but 'The Microsoft Toolkit Compiler doesn't come out-of-the-box with everything you need to compile extensions.' see: http://www.vrplumber.com/programming/mstoolkit/ If you are going ahead with the VC 7.1 Toolkit

Re: Python 2.5 Schedule

2006-03-19 Thread Don Taylor
Scott David Daniels wrote: I think there will be no compiler switching for a while. The previous switch from VC 6 was in part because there was no longer any legal way to get a VC 6.0 compiler. This round at least is sticking with the same compiler as Python 2.4 (VC 7.0). Scott:

Re: Python 2.5 Schedule

2006-03-18 Thread Don Taylor
[EMAIL PROTECTED] wrote: For more details about the plan for Python 2.5, see: http://www.python.org/doc/peps/pep-0356/ I hope that this is not considered too off topic, but what compiler is going to be used for the MSW version of 2.5? If it is going to the MS Visual Studio 2005

Re: Python Debugger / IDE ??

2006-03-16 Thread Don Taylor
Christoph Zwerschke wrote: [EMAIL PROTECTED] wrote: I like the Pyscripter, is there any Linux version or something of it. Sorry, I forgot to mention that there is a snag in it. Since PyScripter is based on Python for Delphi, it is available for Windows only. Is there a free or low-cost

Re: Printable string for 'self'

2006-03-15 Thread Don Taylor
Fredrik Lundh wrote: objects don't have names in Python, and the source is not part of the running program. have you read this ? http://effbot.org/zone/python-objects.htm I have now. Thank you very much. objects don't have names in Python: It appears from the code that Michael

Re: Printable string for 'self'

2006-03-15 Thread Don Taylor
Fredrik Lundh wrote: Q. How can my code discover the name of an object? A. The same way as you get the name of that cat you found on your porch: the cat itself cannot tell you its name, and it doesn't really care -- so the only way to find out what it's called is to ask all

Printable string for 'self'

2006-03-14 Thread Don Taylor
Is there a way to discover the original string form of the instance that is represented by self in a method? For example, if I have: fred = C() fred.meth(27) then I would like meth to be able to print something like: about to call meth(fred, 27) or about to

Re: Printable string for 'self'

2006-03-14 Thread Don Taylor
Michael Spencer wrote: In general, this requires exhaustive search of name bindings e.g.,: def get_names_of(obj, ns): ... return [name for name, value in ns.iteritems() if value is obj] ... class A(object): ... def global_names_bound_to_me(self): ... return

Re: Python IDE: great headache....

2006-03-13 Thread Don Taylor
Joel Hedlund wrote: If you install Eclipse and try to use it without reading the Workbench User Guide then you are not going to get anywhere. Woah, easy now! I never read any Workbench User Guide and I'm doing just fine with PyDev. Fabio Zadrozny (PyDev developer) wrote an excellent

Re: Python IDE: great headache....

2006-03-11 Thread Don Taylor
Sullivan WxPyQtKinter wrote: IDLE is no longer satisfactory for me. Other IDEs make me very confused. Really do not know which one to use. I use WinXP sp2 for current development. So far as I know, Eclipse + PyDev + PyDev Extension is perfect for source code editing. Since I am really not

Re: Use of __slots__

2006-02-27 Thread Don Taylor
Steve Juranich wrote: I might be a little confused about a couple of things (I'm sure many will correct me if I'm not), but as I understand it the __slots__ attribute is a class-attribute, which means it cannot be modified by an instance of the class (think of a static class member, if you

Re: Use of __slots__

2006-02-27 Thread Don Taylor
Alex Martelli wrote: meant for extremely RARE use, and only by very advanced programmers who fully know what they're doing Yea, from the table of my memory I ’ll wipe away all trivial fond records of __slots__ (Bet you wish Mark Lutz had not mentioned it in Learning Python ...) Don. --

Use of __slots__

2006-02-26 Thread Don Taylor
Hi: I am puzzled about the following piece of code which attempts to create a class that can be used as record or struct with a limited set of allowed attributes that can be set into an instance of the class. class RecordClass(object): __slots__ = [foo] def __init__(self, args):

Re: PyDev/Eclipse Help

2006-02-23 Thread Don Taylor
Greg Lindstrom wrote: I am running Python 2.4 on Windows XP Professional and Eclipse 3.1. I would like to take a look at PyDev on Eclipse and downloaded the PyDev (1.0.2?) via the Help-SotwareUpdates-FindAndInstall wizard. Then then go to create a Python Project with File-New-Project and

Re: Newbie question: Multiple installations of Python on Windows machines

2006-02-22 Thread Don Taylor
Fuzzyman wrote: A lot of 'exe' installers are special types of zip archvies. You might be able to open it using winzip or winrar and do a manual install. Interesting suggestion that would never have occured to me. One of the unzippers I tried (IZArc) did show me a directory of the contents,

Re: Newbie question: Multiple installations of Python on Windows machines

2006-02-22 Thread Don Taylor
Fuzzyman wrote: It means installing a compiler (but I don't see a way around that) - but this worked for me : http://www.vrplumber.com/programming/mstoolkit/index.html So long as the module can be installed with distutils, the instuctions there will work for you. Hefty download

Newbie question: Multiple installations of Python on Windows machines

2006-02-20 Thread Don Taylor
I have Python 2.4.2 installed on a Windows XP machine. There is an application that I want to use that refuses to install unless I have Python 2.3.x installed. (The only way that I can install this is to use it's .exe installer) Can I install two versions of Python on Windows, and if so is