Re: Komodo - Will it Lock Me In?

2006-02-20 Thread Peter Decker
On 2/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Yes, I have Dabo installed on my system. I made a small test app, but was > unable to deploy it. I was getting an error from py2exe, I think, about how my > wxPython installation was not correct. This is the kind of thing I am talking > ab

Re: Komodo - Will it Lock Me In?

2006-02-19 Thread Peter Decker
On 2/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > My goal was to test out Python by writing a simple GUI app and then deploying > it to Mac OS X and Windows XP. Using a product such as RealBasic, a totally > green newbie could accomplish this in a few minutes.. So, I guess my main > quest

Re: Evil, evil wxPython (and a glimmer of hope)

2006-02-17 Thread Peter Decker
On 16 Feb 2006 14:07:36 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > snoe wrote: > > > Take a look at dabo, II think they're doing exactly what you're > > describing. > > http://blog.dabodev.com/ > > Dabo appear to be doing way more than what I want, with database access > etc. That was m

Re: How can I find a freelance programmer?

2006-02-14 Thread Peter Decker
On 2/14/06, Charles <[EMAIL PROTECTED]> wrote: > I am looking for a freelance Python programmer to create a cross-platform > application with wxPython. > Any idea where I could find one? You should check out the Dabo project, which is a very impressive framework that uses wxPython for its UI. The

Re: cyclic data structures

2006-02-13 Thread Peter Decker
On 2/13/06, John Salerno <[EMAIL PROTECTED]> wrote: > I'm having some slight trouble understanding exactly why this creates an > infinite loop: > > L = [1, 2] > L.append(L) 'L' is a pointer to a list. You are now adding that pointer to the very list it points to. What you're looking for is: L =

Re: Python equivilant to msgbox()

2006-02-13 Thread Peter Decker
On 2/13/06, Andre Roberge <[EMAIL PROTECTED]> wrote: > While I agree that dabo's version is more Pythonic than wxPython, my > understanding is that dabo is built on top of wxPython. Yes. You get all the power of wxPython without having to deal with the C++ style of coding. > There are > other fr

Re: Python equivilant to msgbox()

2006-02-13 Thread Peter Decker
On 12 Feb 2006 17:27:56 -0800, André <[EMAIL PROTECTED]> wrote: > It's also possible to something like that with wxPython. Try: > import wx > app = wx.PySimpleApp() > dlg = wx.TextEntryDialog(None, 'Enter value', 'Title', '') > if dlg.ShowModal() == wx.ID_OK: > val = dlg.GetValue() # this li

Re: Yet another GUI toolkit question...

2006-02-11 Thread Peter Decker
On 2/11/06, Kevin Walzer <[EMAIL PROTECTED]> wrote: > Also, it seems > very Windows/Linux-centric. Is anyone using it on OS X? I almost forgot: take a look at this screencast: http://leafe.com/screencasts/sizers2.html It's the second part of a demonstration on using sizers in the Dabo visual de

Re: Yet another GUI toolkit question...

2006-02-11 Thread Peter Decker
On 2/11/06, Kevin Walzer <[EMAIL PROTECTED]> wrote: > Dabo looks interesting, but isn't it mainly for database applications? > Has any other kind of application been developed with it? Also, it seems > very Windows/Linux-centric. Is anyone using it on OS X? The Dabo demo comes with several games

Re: Yet another GUI toolkit question...

2006-02-11 Thread Peter Decker
On 2/10/06, Kevin Walzer <[EMAIL PROTECTED]> wrote: > I'm undertaking my first semi-substantial Python GUI application after a > long time dabbling with the language. > ... > So: my question is, would it be more productive for me to wrestle with > these extensions when there doesn't seem to be muc

Re: XML Writer in wxPython

2006-01-13 Thread Peter Decker
On 1/12/06, Marco Meoni <[EMAIL PROTECTED]> wrote: > I'm building a GUI of a network manager that send its commands in xml files. > I would can write xml files from GUI (that is in wxPython). Have you > understand from my "spaghetti" english? Yes, your English is fine. Much better than my Italian!

Re: Python Desktop Framework?

2006-01-13 Thread Peter Decker
On 13 Jan 2006 10:06:56 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Is there or should there be a Python Desktop Framework? It would be > great to have something like Turbogears for desktop apps. You might want to look at Dabo (http://dabodev.com). They are the far and away the best fra

Re: Why keep identity-based equality comparison?

2006-01-10 Thread Peter Decker
On 10 Jan 2006 13:33:20 GMT, Antoon Pardon <[EMAIL PROTECTED]> wrote: > IMO if they aren't of the same type then the answer to: > > a < b > > is just as obviously False as > > a == b > > Yet how things are proposed now, the first will throw an exception > and the latter will return False. I d

Re: Beautiful Python

2005-12-27 Thread Peter Decker
On 27 Dec 2005 10:02:17 -0800, Gekitsuu <[EMAIL PROTECTED]> wrote: > My > hypothetical situation was as follows. I'm writing a new generic SQL > module and I want to make it so I only call the appropriate module for > the type of SQL server I'm talking to. Then it would make sense to > load, for in

Re: Still Loving Python

2005-12-14 Thread Peter Decker
On 12/14/05, Magnus Lycka <[EMAIL PROTECTED]> wrote: > It's my impression that code generation leads to more duplication > and less code reuse. It's easy to whip up a new class or window > that duplicates a lot of already existing code, with those graphical > tools. Of course, Visual designer !=

Re: Still Loving Python

2005-12-14 Thread Peter Decker
On 14 Dec 2005 13:49:39 -, TwistyCreek <[EMAIL PROTECTED]> wrote: > And by the by... visual tools ARE evil. > > It's like your dad getting his drunken bar buddies to plow your mother > because he's too fat to do it himself. The unfortunate offspring of any > such union is equally the bastard

Re: Still Loving Python

2005-12-14 Thread Peter Decker
On 12/13/05, Mike Meyer <[EMAIL PROTECTED]> wrote: > > Why this need to have everyone do things the way you do? > > Whatever makes you think I have this need? I said I hated them. I'm > pretty sure I didn't say everyone should have to use them. Sorry, but there is a world of difference between sa

Re: Still Loving Python

2005-12-13 Thread Peter Decker
On 12/13/05, Mike Meyer <[EMAIL PROTECTED]> wrote: > > A GUI builder is more pleasant to work with, at least > > with a good one like Delphi or Qt designer. > > That is your opinion, and I'm sure it's true for you. It isn't true > for me. Why, then, do you disparage those who like to do things di

Re: IsString

2005-12-12 Thread Peter Decker
On 12 Dec 2005 08:26:06 -0800, Tuvas <[EMAIL PROTECTED]> wrote: > I need a function that will tell if a given variable is a character or > a number. Is there a way to do this? Thanks! Use isinstance(). e.g.: x = 7 isinstance(x, int) -> True isinstance(x, basestring) -> False x = "Hello" isinstan

Re: ANN: Dao Language v.0.9.6-beta is release!

2005-12-04 Thread Peter Decker
On 12/4/05, Mike Meyer <[EMAIL PROTECTED]> wrote: > >> See, I can make up bizarre scenarios where spaces cause > >> problems, too. > > Only if you don't know how decent editors behave. :) > > But the same is also true of tabs causing problems :-). I'm starting to suspect that the same people

Re: Tabs bad (Was: ANN: Dao Language v.0.9.6-beta is release!)

2005-12-04 Thread Peter Decker
On 12/4/05, Lee Harr <[EMAIL PROTECTED]> wrote: > Everyone agrees that mixing is bad. I might even go so far as to > say that the only real problem is mixing. The question is, if we > are trying to pick only one, which one causes fewer problems. > > For me, it is spaces. Why is it that the only p

Re: How to get started in GUI Programming?

2005-11-25 Thread Peter Decker
On 11/25/05, Sybren Stuvel <[EMAIL PROTECTED]> > I'd go for wxPython ;-) I'd go for Dabo, which is a Pythonic wrapper around wxPython. They are even working on a visual design tool to lay out your UI, much as you would in Visual Basic. -- # p.d. -- http://mail.python.org/mailman/listinfo/pytho

Re: Python gui

2005-11-06 Thread Peter Decker
On 6 Nov 2005 12:08:23 -0800, gsteff <[EMAIL PROTECTED]> wrote: > PyGTK is just easier to code with. The api is much nicer. That's why I think that Dabo's UI module is the best of all worlds. It wraps wxPython, so the controls look great on any platform, but provides a cleaner and more consisten

Re: looking for a good python module for MS SQL server

2005-11-01 Thread Peter Decker
On 11/1/05, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > Things didn't change, as last update to adodbapi was long time ago... I > had no problems with stored procedures accessed using cursor's execute() > method (i.e. execute('exec sp_someproc, param')), but I never tried to > get any results, just c

Re: searching a project to contribute to

2005-10-09 Thread Peter Decker
On 9 Oct 2005 18:16:32 -0700, Clint Norton <[EMAIL PROTECTED]> wrote: > Well, > I though about it but I'm looking for something a little more > interesting then bug fixing... > Anyway, wouldn't it be to difficult to get into a huge project like > python itself? Wouldn't it be a better idea to w

Re: New project coming up...stay with Python, or go with a dot net language??? Your thoughts please!

2005-10-04 Thread Peter Decker
On 10/3/05, spiffo <[EMAIL PROTECTED]> wrote: > I am a corporate developer, working for a single company. Got a new project > coming up and wondering if I should stay with Python for this new, fairly > large project, are jump back on the 'safe' M$ bandwagon using a dot net > language? Cross platfo

Re: Reply-To header

2005-10-03 Thread Peter Decker
On 10/3/05, Roel Schroeven <[EMAIL PROTECTED]> wrote: > The default of this list is not to make conversations private; in fact > the list doesn't have any default. It's you who chooses to send replies > to the original author, to the list, or both, by choosing which button > to press in your mail

Re: Reply-To header

2005-10-03 Thread Peter Decker
On 10/3/05, Roel Schroeven <[EMAIL PROTECTED]> wrote: > Indeed, and that's by design: http://www.unicom.com/pw/reply-to-harmful.html Of course, that's only one side of the argument: http://www.blackgate.net/consulting/reply-to_munging_useful.html On lists like this, where everyone benefits by s

Re: Best Encryption for Python Client/Server

2005-09-19 Thread Peter Decker
On 9/19/05, Ed Hotchkiss <[EMAIL PROTECTED]> wrote: > Perhaps you can > google:asshole and see if your image is present, I would highly doubt that > it is not within the first page of results. Now that's a reply I'm gonna have to copy!!! ;-) -- # p.d. -- http://mail.python.org/mailman/listi

Re: MySQL & Python

2005-09-15 Thread Peter Decker
On 9/15/05, Ed Hotchkiss <[EMAIL PROTECTED]> wrote: > I am trying to create a simple script to access a MySQL DB. > The Module for MySQL looks very easy, however I do not understand one thing > ... > > In ASP, you can just create a new DB with Access. In MySQL, how do I create > a database to

Re: PyGTK or wXPython?

2005-09-13 Thread Peter Decker
On 9/13/05, Grant Edwards <[EMAIL PROTECTED]> wrote: > Anyway, there are some lighter-weight wrappers that make the > API more Pythonic and hide the nasty stuff like the id and flag > parameters. I tried "wax" a while back and it looked > promising. I looked at Wax, too, but as of last spring it

Re: PyGTK or wXPython?

2005-09-13 Thread Peter Decker
On 9/13/05, Rod W <[EMAIL PROTECTED]> wrote: > I'm just starting out on Python but my primary goal is to provide > applications with some user interface (GUI). > > Can someone point me to a good comparison of whether I should use > wxPython (with wxGlade I assume) or PyGTK (with Glade I assume)? >

Re: Python Database Scripts

2005-09-12 Thread Peter Decker
On 12 Sep 2005 08:28:39 -0700, Chuck > Can anyone provide any kind of python database (mysql) code or point me > to a link that has this? Just simple things as maybe using a driver, > opening up a db, an insert and select. Any help would be greatly > appreciated! It might be more than you're l

Re: Python jobs (was Re: Python for Webscripting (like PHP))

2005-08-18 Thread Peter Decker
On 18 Aug 2005 10:58:46 -0700, Aahz <[EMAIL PROTECTED]> wrote: > OTOH, the big sucking sound from Google and Yahoo (plus other places > like Ironport) is making it more difficult to hire Python programmers in > the Bay Area... Then start looking for telecommuting people. There are lots of us who

Re: Testing for presence of arguments

2005-08-17 Thread Peter Decker
On 8/17/05, Madhusudan Singh <[EMAIL PROTECTED]> wrote: > I know how to set optional arguments in the function definition. Is there an > intrinsic function that determines if a certain argument was actually > passed ? Like the fortran 95 present() logical intrinsic ? > > My required functionality

Re: Library vs Framework

2005-08-16 Thread Peter Decker
On 8/16/05, Mike Meyer <[EMAIL PROTECTED]> wrote: > Well, they may have created a library class that does the job for > them. Figuring out which is which seemed to be the point of this > thread. I guess my summary of the thread was that a library is built to do one thing, while a framework is bui

Re: Library vs Framework (was Dr. Dobb's Python-URL!)

2005-08-16 Thread Peter Decker
On 8/16/05, Terry Hancock <[EMAIL PROTECTED]> wrote: > Where a framework shines is when you don't really want to program > it much at all -- you just need a tweak here and there beyond what > it already does. Gimp plugins are a great example of that. I'd put it slightly differently. Where a fram

Re: Standalone applications ?

2005-08-14 Thread Peter Decker
On 14 Aug 2005 03:49:08 -0700, TPJ <[EMAIL PROTECTED]> wrote: > > I should have added that my platform is Linux. > > In this case you shouldn't bother yourself with executables. Python is > available on any major distribution. > > My Python apps are available as pyc files for Linux (and for those

Re: What does the word "quiet" mean in this paragraph?

2005-08-14 Thread Peter Decker
On 8/14/05, could ildg <[EMAIL PROTECTED]> wrote: > The paragraph is as below, I mark the word quiet with *** ***. > ___ > One problem with distributed applications is that if no data arrives > over a long period of time, you need to wonder why. On one hand, it > cou

Re: Python Wireless Extension Module (pyiw)

2005-08-11 Thread Peter Decker
On 8/11/05, Jeremy Moles <[EMAIL PROTECTED]> wrote: > Anyway, I am just curious... we plan on using it, at any rate. It's > already made the code easier to read, faster, and more reliable. Looks pretty useful to me! -- # p.d. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python -- (just) a successful experiment?

2005-08-08 Thread Peter Decker
On 8/8/05, Robert Kern <[EMAIL PROTECTED]> wrote: > What I'm trying to say is that posting to c.l.py is absolutely > ineffective in achieving that goal. Code attracts people that like to > code. Tedious, repetitive c.l.py threads attract people that like to > write tedious, repetitive c.l.py threa

Re: Python -- (just) a successful experiment?

2005-08-07 Thread Peter Decker
On 07 Aug 2005 02:42:43 -0700, Paul Rubin <"http://phr.cx"@nospam.invalid> wrote: > [EMAIL PROTECTED] (Björn Lindström) writes: > > I don't see why the things you talk about would have to be part of the > > main Python distribution. Ruby on Rails seems to do pretty well without > > being included w

Re: Wheel-reinvention with Python

2005-08-01 Thread Peter Decker
On 01 Aug 2005 13:38:21 -0700, Paul Rubin <"http://phr.cx"@nospam.invalid> wrote: > Peter Decker <[EMAIL PROTECTED]> writes: > > We were discussing your 'enormous pain' installing wxPython. I find it > > interesting that you selectively quoted part o

Re: Dabo in 30 seconds?

2005-08-01 Thread Peter Decker
On 01 Aug 2005 12:50:56 -0700, Paul Rubin <"http://phr.cx"@nospam.invalid> wrote: > I seem to be in a minority here Wow, you finally said something that I agree with! > but I vote for avoiding such dependencies as much as possible. This isn't a contest here. Do what you like, and don't expec

Re: Wheel-reinvention with Python

2005-08-01 Thread Peter Decker
On 01 Aug 2005 12:58:57 -0700, Paul Rubin <"http://phr.cx"@nospam.invalid> wrote: > > Geez, can you whine some more? Most people are running wxPython just > > fine, > > Most people? What percentage of actual Python users do you think have > wxPython installed? If you're really claiming it's ove

Re: Wheel-reinvention with Python

2005-08-01 Thread Peter Decker
On 31 Jul 2005 09:03:41 -0700, Paul Rubin <"http://phr.cx"@nospam.invalid> wrote: > How on earth did you decide that, since tkinter actually runs out of > the box when you install Python on most platforms, and wxPython doesn't? > I can't even think about trying out Dabo unless I'm willing to go th

Re: Dabo in 30 seconds?

2005-08-01 Thread Peter Decker
On 8/1/05, Cliff Wells <[EMAIL PROTECTED]> wrote: > Personally, all I expect is an obvious pointer to a mailing list and a > helpful community willing to suffer NB questions (fast bugfixes is a big > plus too). If that's available, I'm happy. But then I'm willing to > actually work a little to g

Re: Dabo in 30 seconds?

2005-08-01 Thread Peter Decker
On 31 Jul 2005 16:22:09 -0700, Paul Rubin <"http://phr.cx"@nospam.invalid> wrote: > I spent several hours trying to install wxPython on Linux without > success (a lot of that was figuring out that some undefined symbol it > was complaining about was some GTK 1.5 function that had didn't exist > in

Re: getting an empty tuple

2005-07-31 Thread Peter Decker
On 31 Jul 2005 08:40:26 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > how do i encorporate that into an equation ? > i have tried all kinds of stuff > > if x == 0L > if x(0) == None > if x == None > > anyway, what shoud i do to test if the result is empty? Just like any other test: if

Re: The state of OO wrappers on top of wxPython (was Re: Wheel-reinvention with Python)

2005-07-30 Thread Peter Decker
On 30 Jul 2005 12:06:43 -0700, Paul Rubin <"http://phr.cx"@nospam.invalid> wrote: > wxPython also depends on wxWidgets which lags behind GTK. Can you elaborate on that? It's been over a year since I last looked at GTK, but I do remember not being very impressed with how it looked on Windows and O

Re: Wheel-reinvention with Python

2005-07-30 Thread Peter Decker
On 7/30/05, Torsten Bronger <[EMAIL PROTECTED]> wrote: > You found a solution for you, which is a good thing. I don't want > to rule out to use Dabo myself. But in my institute I'd like to > present Python as a viable alternative to Delphi. In order to > convince people who are used to a homog

Re: Wheel-reinvention with Python

2005-07-30 Thread Peter Decker
On 7/30/05, Torsten Bronger <[EMAIL PROTECTED]> wrote: > > Well, wxPython itself is largely the work of a single person, but > > I doubt that many consider that a reason to avoid it. > > But the developer and contributor base is much larger, so the > project has reached the critical mass. So unt

Re: Wheel-reinvention with Python

2005-07-30 Thread Peter Decker
On 7/30/05, Torsten Bronger <[EMAIL PROTECTED]> wrote: > I'm aware of it (and there is Wax and maybe a third one). Actually > it illustrates my point quite well: These projects are small and > instable (Dabo has a developer basis of very few people, Wax has > only one); they are even worse docume

Re: Wheel-reinvention with Python

2005-07-30 Thread Peter Decker
On 7/30/05, Torsten Bronger <[EMAIL PROTECTED]> wrote: > I've been having a closer look at wxPython which is not Pythonic at > all and bad documented. Probably I'll use it nevertheless. PyGTK > and PyQt may have their own advantages and disadvantages. > > However, in my opinion we don't need ye

Re: GUI - Windows: Where to get started

2005-07-26 Thread Peter Decker
On 26 Jul 2005 12:44:13 -0700, Ernesto <[EMAIL PROTECTED]> wrote: > Would anyone know a good place to start for learning how to build > simple GUI's in Windows XP? I just want users to be able to select a > few parameters from a pull-down menu, then be able to run some batch > files using the par

Re: PyGTK or wxPython (not a flame war) on Windows

2005-07-24 Thread Peter Decker
On 7/24/05, Torsten Bronger <[EMAIL PROTECTED]> wrote: > Is PyGTK more Pythonic by the way? I had a look at wxPython > yesterday and didn't like that it has been brought into the Python > world nearly unchanged. You can see its non-Python origin clearly. > How does PyGTK feel in this respect? T

Re: wxPython - DB Form generator unit

2005-07-23 Thread Peter Decker
On 7/19/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Is anyone know about a DB form generator unit under wxPython ? > What that's means ? > > I add information about a Query, or a ListOfDict, I set some other infos > (Lookups, others), and it is generate a Form with edit boxes, listboxes, >

Re: re.IGNORECASE and re.VERBOSE

2005-07-18 Thread Peter Decker
On 7/18/05, Jeremy <[EMAIL PROTECTED]> wrote: > I am using regular expressions and I would like to use both > re.IGNORECASE and re.VERBOSE options. I want to do something like the > following (which doesn't work): > > matsearch = r'''^\ {0,4}([mM]\d+) ''' > MatSearch = re.compile(matsearch, re.VE

Re: wxPython date

2005-07-18 Thread Peter Decker
On 18 Jul 2005 07:52:06 -0700, Jason <[EMAIL PROTECTED]> wrote: > How do I form a new wxPython date using day, month and year? > > I've tried the wx.DateTimeFromDMY but it crashes in Pythonwin when I > test it out and I get all manner of complaints when I try it from the > command line. > > Surel

Re: Why does reply to messages on this list put the sender in the To

2005-07-12 Thread Peter Decker
On 7/12/05, Dark Cowherd <[EMAIL PROTECTED]> wrote: > Most lists when i hit reply it puts the list address back in the To > address and some lists allow you to configure this. > > But in this list reply sends the mail back as a private mail and there > seems to be no option to configure this. >

Re: Accepted Summer of Code proposals

2005-07-03 Thread Peter Decker
On 7/3/05, Robert Kern <[EMAIL PROTECTED]> wrote: > I would suggest not speculating on biased or malicious intentions. It is > possible that no one applied with a proposal to work on Dabo, or that > such a proposal was poorly written, or that the author had too little > experience, or any number o

Re: Accepted Summer of Code proposals

2005-07-03 Thread Peter Decker
On 7/2/05, Reinhold Birkenfeld <[EMAIL PROTECTED]> wrote: > A.M. Kuchling wrote: > > For anyone who's interested: the Python wiki now contains a list of the > > PSF-mentored proposals that were accepted for Google's Summer of Code: > > http://wiki.python.org/moin/SummerOfCode > > Is it right

<    1   2