Re: Walking through a mysql db

2005-06-08 Thread Ed Leafe
creating custom apps a whole lot easier than if you were to use wxPython by itself. ___/ / __/ / ____/ Ed Leafe http://leafe.com/ http://dabodev.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: PythonCard or Dabo?

2007-06-02 Thread Ed Leafe
ay that you should look at both and see which one feels more comfortable to you, and go with that. -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython / Dabo demo shell ?

2007-06-08 Thread Ed Leafe
e wxPython demo was such a great way to explore wxPython and try out new things that I blatantly copied it. ;-) -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython / Dabo demo shell ?

2007-06-08 Thread Ed Leafe
al.html I may be wrong, but I believe that the OP was interested in the overall frame, contents, and inner workings of the wxPython demo application (and DaboDemo), not the PyShell interpreter. -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython / Dabo demo shell ?

2007-06-08 Thread Ed Leafe
;samples' directory, and each of those files' 'category' attribute. If you have any further questions, it would probably be best to post them to the dabo-users list. You can sign up for it at http:// leafe.com/mailman/listinfo/dabo-users -- Ed Leafe -- http://le

Properties for modules?

2007-06-11 Thread Ed Leafe
int moduleFoo.someSetting Does anyone know any good tricks for getting property-like behavior here? -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Properties for modules?

2007-06-11 Thread Ed Leafe
me__) > > The trick here is basically that we replace the module object in > sys.modules with a class instance that wraps the module with whatever > extra behavior is necessary. OK, I see the trick involved. Yes, that does work for what I need. Thanks! -- Ed Leafe -- http://lea

Re: bool behavior in Python 3000?

2007-07-11 Thread Ed Leafe
(False, False) >>> True == False True >>> (True == False) == True False Yeah, I know: "Doctor, it hurts when I do this". Doc: "So don't do that!". I haven't kept up with all the Python 3000 docs, so does anyone know if True and False will bec

Re: Python and GUI

2007-05-24 Thread Ed Leafe
part of my recent PyCon presentation that discusses exactly this topic. Take a look at http://dabodev.com/pycon2007?3 to see an example of simpler and more Pythonic Dabo code is compared to what you would have to write in either raw wxPython or even Wax. -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and GUI

2007-05-26 Thread Ed Leafe
to wrapping Tkinter, Qt, etc. -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: gui application on cross platform

2007-05-28 Thread Ed Leafe
tion). Post messages to the dabo- users list to get answers to any questions you might have (sign up at http://leafe.com/mailman/listinfo/dabo-users). There are a ton of web frameworks out there. But for Python, there is only one desktop app framework: Dabo. -- Ed Leafe -- h

Re: (no) fast boolean evaluation ?

2007-08-03 Thread Ed Leafe
Usually that's because the language provides a switch/case statement construct. If it does and you try to write the above code, it isn't the language that's brain-dead! ;-) -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Ligmail bug?

2007-08-12 Thread Ed Leafe
ault to a more intelligent one, if for no other reason than to not have to constantly read comments like this chiding someone for acting in a predictable fashion. -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: creating a tar file with python

2007-08-24 Thread Ed Leafe
orrespondence on any python questions from you go to trash. > May your pillow not have pity on your head! What a tool. Add another to the twit filter... -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: creating a tar file with python

2007-08-24 Thread Ed Leafe
as directing those comments, it was *way* out of line. The fact that it was Steve only reinforces the cluelessness of the writer. -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Database Apps

2007-09-11 Thread Ed Leafe
side and sql server side. Are you asking for opinions on what sort of database engine to use? Or are you trying to get a feel for what people use to develop their apps? Are you looking for a web app, or a desktop app, or a non-UI app? -- Ed Leafe -- http://leafe.com -- http://dabodev.com -

Re: Python Database Apps

2007-09-12 Thread Ed Leafe
he stuff that is unique to your app, such as the conflict resolution and business logic. -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Database Apps

2007-09-12 Thread Ed Leafe
asic Installer that will look and work like any other Windows application installer. -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: super() doesn't get superclass

2007-09-19 Thread Ed Leafe
o them. We use mixins extensively throughout Dabo, and they allow us to give several classes the desired behaviors, while only having one mixin class to maintain. -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

[ANN] Dabo 0.8.2 Released

2007-10-26 Thread Ed Leafe
at: http:// svn.dabodev.com/dabo/tags/dabo-0.8.2/ChangeLog -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: [ANN] Dabo 0.8.2 Released

2007-10-26 Thread Ed Leafe
ce the framework, demo and visual tools are all in the same trunk: svn checkout http://svn.dabodev.com/dabo/trunk/dabo svn checkout http://svn.dabodev.com/dabo/trunk/ide svn checkout http://svn.dabodev.com/dabo/trunk/demo -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie Question

2007-02-12 Thread Ed Leafe
bo Class Designer (Parts 1 & 2) http://leafe.com/screencasts/dataenvironment1.html http://leafe.com/screencasts/dataenvironment2.html Populating a Grid Using Business Objects http://leafe.com/screencasts/populategrid.html -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://ma

Re: can i set up a mysql db connection as a class ?

2006-04-29 Thread Ed Leafe
olve a GUI, you really should take a look at Dabo. It's an app framework written by database developers for database developers. -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: 2 books for me

2006-05-11 Thread Ed Leafe
On May 11, 2006, at 3:32 PM, Robert Hicks wrote: > Wouldn't portability go with Tkinter since that is installed with > every > Python? Dunno about other platforms, but it's not on my Mac. -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail

Web frameworks and credit cards

2006-05-24 Thread Ed Leafe
integrating credit card processing with the various Python web frameworks. Until now, my only practical experience is with Zope 2.x, but I'm open to any and all alternatives, so long as it's Python! -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.o

Re: a trick with lists ?

2008-02-07 Thread Ed Leafe
'b' is already a list. A more common and more general usage for making list copies would be: a = [1,2,3] b = a[:] In this usage, 'a' and 'b' are separate lists, but 'b' doesn't need to be defined as a list first. -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: Pycon disappointment

2008-03-20 Thread Ed Leafe
strations. It's not easy to do; certainly much more difficult than creating a slide that sums up what the demo does. But it makes for a much more interesting session! -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: RELEASED Python 3.0 final

2008-12-03 Thread Ed Leafe
On Dec 3, 2008, at 7:51 PM, Barry Warsaw wrote: On behalf of the Python development team and the Python community, I am happy to announce the release of Python 3.0 final. Props to all the folks whose hard work made this possible! You guys rock! -- Ed Leafe -- http://mail.python.org

Dabo 0.9.0 Released

2008-12-10 Thread Ed Leafe
ince the last release can be found at http://svn.dabodev.com/dabo/tags/dabo-0.9.0/ChangeLog And if you want to learn more, join our email list: http://leafe.com/mailman/listinfo/dabo-users -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

compile() and comments

2008-10-13 Thread Ed Leafe
rip() + "\n", "", "exec") >>> compcode at 0x79a40, file "", line 2> Obviously the easy workaround is to add a newline and all is well, so this isn't a show-stopper, but is this a bug? -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: compile() and comments

2008-10-13 Thread Ed Leafe
thrown. -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: compile() and comments

2008-10-13 Thread Ed Leafe
verifying the inconsistency. -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: Porting VB apps to Python for Window / Linux use

2008-10-24 Thread Ed Leafe
llows you to visually create UIs that run unmodified on Windows, Linux and OS X. You can learn about it at http://dabodev.com -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Spawning a new UI process

2008-11-08 Thread Ed Leafe
d, but the GUI app that should be launched by 'main.py' is never run. So what am I missing? How do I launch a python app in a separate process from another Python app? -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: Spawning a new UI process

2008-11-09 Thread Ed Leafe
ensure no console window is created. OK, I didn't see subprocess. I'll give that a whirl. In the meantime, I did find that wxPython has wx.Execute, and it seems to be working, although it prints some odd messages when running under OS X. Thanks! -- Ed Leafe -- http://mai

Dabo 0.9.2 released

2009-06-01 Thread Ed Leafe
http://dabodev.com/download. -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: Making wxPython a standard module?

2008-06-12 Thread Ed Leafe
rticular, but I am curious to know why some people find it "ugly" or "bad" or whatever. It has its own bugs and missing features, of course, but it is one of the major GUI player in the arena, together with PyQt and PyGTK. Perhaps he meant the code, and not t

Re: Using Python and MS-SQL Server

2008-06-24 Thread Ed Leafe
backends. -- Ed Leafe -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: class super method

2008-03-31 Thread Ed Leafe
StuffAfterTheSuperCall() This has worked reliably for us in every place where we have used it. There's nothing dark and mysterious about it at all. -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: class super method

2008-04-01 Thread Ed Leafe
self.super = super(DaboUIClass, self) self.super.__init__(*args, **kwargs) doOurCustomStuffAfterTheSuperCall() def someMethod(self, foo, bar): self.super.someMethod(foo, bar) def someOtherMethod(self): self.super.someOtherMethod() -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: class super method

2008-04-01 Thread Ed Leafe
, it's better than nothing but worse than anything. I guess I must be the world's most amazing Python developer, as I've used super() extensively for years without ever suffering any of the pitfalls you and others describe. -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: class super method

2008-04-01 Thread Ed Leafe
application. In my experience, using either incorrectly can get you in trouble. -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: What motivates all unpaid volunteers at Pycon?

2008-04-01 Thread Ed Leafe
that people get nothing back by participating in a community, yes, it would be curious. My experience, though, is that I get a lot more out of it than I could ever contribute. IOW, it's a great example of synergy. -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: What motivates all unpaid volunteers at Pycon?

2008-04-01 Thread Ed Leafe
s like this, just knowing that I contributed is a great feeling. I also usually end up meeting several people I might not have otherwise met, and invariably that makes the experience much, much richer. -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: class super method

2008-04-01 Thread Ed Leafe
try to create a PotBelliedElephant class by using MI with a PotBelliedPig class and an Elephant class, well, you *should* crash and burn, whether you use super() or not. http://en.wikipedia.org/wiki/An_Elephant_Makes_Love_to_a_Pig -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Looking for Agile Python Consulting

2008-04-03 Thread Ed Leafe
mework; at this point I'm only concerned with Python vs. Ruby. If you are part of such a consulting group, or know of one that fits these requirements, please reply to me off-list. -- Ed Leafe Confidentiality Notice: This e-mail message (including any attached or embedded documents

Re: Does Python 2.5.2's embedded SQLite support full text searching?

2008-04-21 Thread Ed Leafe
include SQLite itself? I installed 2.5.2 on a new WinXP VM, and SQLite is working fine. -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: Cheese Shop: some history for the new-comers

2006-03-12 Thread Ed Leafe
back, but I still cringe at names that sound like they were created at the Ministry of Silly Names. -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Trace dynamically compiled code?

2006-03-14 Thread Ed Leafe
#x27;s source code is not available to pdb, and thus does not display. Does anyone know a way to compile the dynamic code so that pdb can 'see' the source? I suppose I could write it all out to a bunch of temp files, but that would be terribly messy. Are there any neater solutions? -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Trace dynamically compiled code?

2006-03-14 Thread Ed Leafe
onverts the XML to the corresponding Python code for the class, and it's working great, except for the tracing through the debugger issue. Would I be able to apply the py lib stuff to this, too? -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Remote teamwork anecdotes

2006-03-23 Thread Ed Leafe
attered thoughts into a coherent picture, and more often than not, if it's a bug that I've created rather than a gap in my understanding, the process of writing the email is all I need. I guess if there's a point to all of this, it's that good programming is a crea

[ANN] Dabo 0.6 released

2006-03-27 Thread Ed Leafe
having to install Python, wxPython, or any of the other requirements first. Grab the latest from the Dabo Download Page: http://dabodev.com/download And, as always, post feedback/questions to the Dabo users list: http:/leafe.com/mailmain/listinfo/dabo-us

[ANN] Dabo Runtime Engine For Windows 0.6.2 released

2006-03-29 Thread Ed Leafe
all other things Dabo, from: http://dabodev.com/download -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Re: DB Table Processor?

2009-12-28 Thread Ed Leafe
ard that creates a searchable CRUD app in less than a minute. You can view a screencast of the AppWizard in action at http://j.mp/6kRp0u. It works with MySQL, SQLite, PostgreSQL, and MS Sql Server. More information can be found at http://dabodev.com -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: Style question for conditional execution

2010-11-24 Thread Ed Leafe
derstandable; the second only if you are familiar with that particular programming construct. Explicit is better than implicit, so I'd go with the first form. -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: python app development

2010-07-06 Thread Ed Leafe
dev.com/pycon_tutorial If you have any other questions, join our email discussion list and post them there. There are many helpful people there to answer your questions. http://leafe.com/mailman/listinfo/dabo-users -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: combined functionality of ipython's %whos and pdb's next (without a resource heavy IDE)

2010-07-30 Thread Ed Leafe
IDE. > > I am not seeing how this might be done. Many thanks for your help... Check out PuDB - I use it all the time. http://pypi.python.org/pypi/pudb Intro screencast is at http://vimeo.com/5255125 -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

ANN: Dabo 0.9.3 released

2010-09-13 Thread Ed Leafe
Dabo encryption - changed all pathing to be relative to the app's HomeDirectory - full parameterization of SQL calls - addition of the dRichTextBox control - improvement of unicode support with the dabo.lib.ustr() method You can grab the latest version, as always, from http://dabodev.com/do

Re: WMI in Python

2010-09-13 Thread Ed Leafe
We have hundreds of developers around the world using Dabo to build many different kinds of business applications. -- Ed Leafe -- http://mail.python.org/mailman/listinfo/python-list

Re: What user-defined request error levels are recommended?

2020-04-30 Thread Ed Leafe via Python-list
error, you could use a 4xx code. However, I would prefer to use the standard codes, and add a custom header with more information on the issue. -- Ed Leafe -- https://mail.python.org/mailman/listinfo/python-list

<    1   2