into ipython if I need to run some quick code. For
me, this is much faster than trying to write an additional program that is
close enough to the problem code to be useful.
-- Ed Leafe
--
https://mail.python.org/mailman/listinfo/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
Python ... or via a command line option
> when starting a Python session?
>From StackOverflow:
>https://stackoverflow.com/questions/25584276/how-to-disable-site-enable-user-site-for-an-environment
-- Ed Leafe
--
https://mail.python.org/mailman/listinfo/python-list
d back because I found I lost productivity switching from vim to a
graphical text editor.
-- Ed Leafe
--
http://mail.python.org/mailman/listinfo/python-list
aracter limit, and as a result become much less
readable.
-- Ed Leafe
--
http://mail.python.org/mailman/listinfo/python-list
ike so: I want a button, I click and drag it to a window,
> give two clicks and encode their actions, understand?
Check out Dabo: http://dabodev.com
-- Ed Leafe (one of the authors)
--
http://mail.python.org/mailman/listinfo/python-list
ting from paradigms in other languages, I've often been
tempted to follow the accepted pattern for that language, and I've almost
always regretted it.
When in doubt, make it as Pythonic as possible.
-- Ed Leafe
--
http://mail.python.org/mailman/listinfo/python-list
ythonic as
>> possible.
>>
> I disagree. I think that if you can see it should be able to go to it.
The use case was a deleted record with SET DELETED ON, which means you
shouldn't "see" it.
-- Ed Leafe
--
http://mail.python.org/mailman/listinfo/python-list
s that with my dbf module it is
> possible to create an index that does /not/ include certain records:
Deleting a record in VFP doesn't remove it from the index; I believe it
marks that index entry as deleted, too. I think that as long as you treat the
deleted status as th
ired up VFP, but the above doesn't sound
correct. If you have SET DELETED OFF and the GOTO 7, the pointer should move to
the 7th record, whether it is marked deleted or not. With SET DELETED ON, the
pointer should not move, since 7 is not a valid record.
-- Ed Leafe
--
http://mail.python.org/mailman/listinfo/python-list
d toward database applications, although a database connection is
completely optional. We wrap the wxPython GUI toolkit, hiding its C++ roots and
presenting a more Pythonic interface for creating your UI.
See more at http://dabodev.com, and feel free to ask any more
questions.
--
bizobjs for many-to-many relationships
- improved efficiency in detecting changed records
- added the dDatePicker control
- added the option of vertical text for grid headers
- integrated a code editor into the command window
You can grab the latest version, as always, from
http://dabo
On Sep 5, 2011, at 8:33 AM, Simon Cropper wrote:
> Dabo is a great product. Spoke extensively with Ed Leafe and Paul McNett.
> Unfortunately the framework is not 'dynamic'. If you have an fixed database
> and tables it can quite quickly create a basic data entry setup and m
Religious fervor is one thing; freedom of religion is another! ;-)
We strive for readability in our code, yet every printed material designed to
be read, such as books, newspapers, etc., uses a proportional font. I switched
to proportional fonts years ago, and am only reluctantly using fixed wi
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
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
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
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
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
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
http://dabodev.com/download.
-- Ed Leafe
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
verifying the inconsistency.
-- Ed Leafe
--
http://mail.python.org/mailman/listinfo/python-list
thrown.
-- Ed Leafe
--
http://mail.python.org/mailman/listinfo/python-list
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
backends.
-- Ed Leafe
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
application. In my experience, using either incorrectly can get you in
trouble.
-- Ed Leafe
--
http://mail.python.org/mailman/listinfo/python-list
, 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
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
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
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
'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
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
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
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
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
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
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
-
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
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
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
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
(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
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
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
;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
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
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
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
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
to wrapping Tkinter,
Qt, etc.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
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
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
thors and several other helpful folks. You
can sign up for the dabo-users list at http://leafe.com/mailman/
listinfo/dabo-users.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
to get
> the exact
> link).
http://mg.pov.lt/blog/profilehooks-1.0.html
Note that the license has been changed from GPL to MIT, making it
distributable with non-GPL projects.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
ng out your GUI designs, as well as a simplified, more Pythonic
API than wxPython provides.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
cts break our
code. We will be focusing on making Dabo work with these later
wxPython versions in the coming weeks, but for now, you need to stick
with 2.6.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
g with all the relevant settings in one place. As you change
them in the dialog, the design surface updates so that you can see
the effect of your changes before you commit them. If you don't like
your changes, click 'Cancel' and things return to the way they were
before
#x27;s an alias for a list, I first unsub using the old
alias, and then re-sub with the new one.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
ginal object definition. So
you can edit your code in your favorite Python editor, and it all
just works.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
diting. There is nothing
that prevents you from modifying a design in the editor of your
choice; the Dabo visual editing tools simply give you WYSIWYG
feedback as you edit.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
; sessions, thus reducing privacy issues.
Thanks for the suggestions; I'll run them by the client. They don't
want to do it at the individual desktop level; they want a central
location to ensure that someone doesn't have the capability to
disable the logging, so
get a very accurate real-time monitoring system with
> this setup.
They aren't interested in real-time monitoring; their main concern
is Sarb-ox compliance.
Thanks for your help!
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
this
reasonable, or am I being too simplistic in my approach?
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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
#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
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
ign or accident would be a question for the kinterbasdb developers.
OK, I'll ask them.
> One workaround might be to use delegation instead of subclassing...
Yeah, but that would involve a lot more work at this point. The
mixin approach has been working quite well up until this
go about fixing it. Here's my setup:
Windows 2000
Python v. 2.4.1
kinterbasdb 3.2.0a1
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
le is
>
> dataResults
dataList = list(dataResults)
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
ge, as we look to integrate these tools into an IDE.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
foundation for the ActiveStates business.
>
> An Open Source Komodo IDE would allow the several dynamic language
> communities to collaborate on a common goal.
If Komodo were to go open source, I would certainly consider it as
the basis for the Dabo IDE project.
-- Ed Leafe
--
still has a 'magical' feel to it!
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
u're correct - I hadn't noticed that, since all my tests
had single instances.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
namic()
Thanks! I knew I had done this before. My mistake was that I was
setting the exec'd code to the instance, and not to the class. That
works, but makes it a function, which doesn't automatically get sent
the 'self' reference.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
= Test()
# Here's where the magic is needed
# so that the rest of this example works.
testInstance.normal()
-> 'normal', 'sample'
testInstance.dynamic()
-> 'dynamic', 'sample'
So? Am I nuts? Or is this possible?
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 5, 2005, at 3:13 PM, Paul McNett wrote:
> Indeed, there is only one user interface that needs no
> documentation whatsoever.
Yeah, and it sucks! ;-)
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
ype 5. You hit backspace, which deletes 4 spaces, and
you now have to mentally compute the difference in order to keep
things aligned.
See, I can make up bizarre scenarios where spaces cause
problems, too.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.pyth
ence. Just don't make general damning comments without any
specifics to back them up.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
eport Designer continues to improve: it now has an integrated
Property Sheet for altering the appearance of objects, as well as
improved layering. It also supports full 2-way editing: both visual
and XML editing changes are reflected in the other.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.
o the wizard-generated apps, too.
Needless to say, there have also been a few bug fixes. A list of
all the changes follows my sig. You can grab the latest, as always,
from http://dabodev.com/download.
-- Ed Leafe
-- http://leafe.com
-- http://dabode
x27;s parameter handling. It will automatically add quotes to any
string values, and will automatically escape any problematic
characters, such as single quotes, semi-colons, etc.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
ovember, but the exact date will depend on how quickly we can
turn around the production."
So while it's still a little ways off, it's certainly within sight!
--
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
ction) visual design
tools.
As usual, it can be found, along with our other stuff, at
http://dabodev.com/download.
--
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
1 - 100 of 160 matches
Mail list logo