Re: Question about idioms for clearing a list

2006-02-07 Thread Ed Singleton
ruggling with a language, it is primarily a problem with the language, and than problem with the documentation, and lastly a problem with the person. Ed -- http://mail.python.org/mailman/listinfo/python-list

Re: Question about idioms for clearing a list

2006-02-07 Thread Ed Singleton
can only assume that it is by people who have forgotten what it is like to be an average programmer. (Paul Graham constantly makes the same mistake when he goes on about how everyone should use lisp). Ed -- http://mail.python.org/mailman/listinfo/python-list

Re: Question about idioms for clearing a list

2006-02-07 Thread Ed Singleton
between mappings and "not-mappings", and is it obvious exactly what is and isn't a mapping? Should it be necessary to "know" python before it becomes easy to use? Ed -- http://mail.python.org/mailman/listinfo/python-list

Re: Question about idioms for clearing a list

2006-02-07 Thread Ed Singleton
(and well below average programmers for that matter) I'm not mud-slinging, I'm just saying that people are very dismissive of making the language easier to use for newbies. Ed -- http://mail.python.org/mailman/listinfo/python-list

Re: Question about idioms for clearing a list

2006-02-07 Thread Ed Singleton
ng) parts of the language. Python is starting to show that one day anything but the most perfunctory documentation may one day become unnecessary. Ed -- http://mail.python.org/mailman/listinfo/python-list

Re: Question about idioms for clearing a list

2006-02-07 Thread Ed Singleton
On 07/02/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Ed Singleton wrote > > > I'm not mud-slinging, I'm just saying that people are very dismissive > > of making the language easier to use for newbies. > > no, you're telling people who have long

Re: Question about idioms for clearing a list

2006-02-08 Thread Ed Singleton
On 08/02/06, Magnus Lycka <[EMAIL PROTECTED]> wrote: > Ed Singleton wrote: > > I'm a fairly average programmer (better than average compared to my > > immediate colleagues). I've read every tutorial I can get my hands > > on, but I have no _memory_ of ev

Re: Question about idioms for clearing a list

2006-02-08 Thread Ed Singleton
On 08/02/06, Magnus Lycka <[EMAIL PROTECTED]> wrote: > Ed Singleton wrote: > > Is it obvious to a newbie what the difference between mappings and > > "not-mappings", and is it obvious exactly what is and isn't a mapping? > > > > Should it be necessar

Re: random playing soundfiles according to rating.

2006-02-10 Thread Ed Singleton
re of an issue, you could give up on trying to use a perfect probability, and just pick 10 (or 50, or 100) files at random, and then play one of those based on the above approach. Ed -- http://mail.python.org/mailman/listinfo/python-list

Re: Rethinking the Python tutorial

2006-02-10 Thread Ed Singleton
xts, I strongly suspect that > there are other tutorials we can replace them with > if noone else steps in to keep them up to date. How about putting the current tutorial into the wiki and seeing if people start updating it? I'm not saying it would work, but it might have interesting effects... Ed -- http://mail.python.org/mailman/listinfo/python-list

Re: Python vs. Lisp -- please explain

2006-02-19 Thread Ed Jensen
Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > It's not a "scripting" language, and it's not interpreted. http://www.python.org/doc/faq/general.html#what-is-python "Python is an interpreted, interactive, object-oriented programming language." -- http://mail.python.org/mailman/listinfo/python-l

Re: Python vs. Lisp -- please explain

2006-02-23 Thread Ed Jensen
Roy Smith <[EMAIL PROTECTED]> wrote: > BTW, if like Python and haven't looked at Ruby, it's worth a glance. If > Python can be called similar to Lisp, then Ruby is even more so. I'm not > fond of Ruby's perlesqe syntax, but I like many of the fundamental ideas. I can't get over Ruby's ugly syn

Re: Write a GUI for a python script?

2006-03-06 Thread Ed Leafe
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

Re: copying a tuple to a list..

2006-03-06 Thread Ed Leafe
le is > > dataResults dataList = list(dataResults) -- Ed Leafe -- http://leafe.com -- http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list

Mixin class error

2006-03-06 Thread Ed Leafe
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

Re: Mixin class error

2006-03-06 Thread Ed Leafe
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

Re: [wxPython] Many wxPanel forms in 1 wxFrame

2005-05-02 Thread Ed Leafe
create something like this. ___/ / __/ / / Ed Leafe http://leafe.com/ http://dabodev.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Comparing 2 similar strings?

2005-05-18 Thread Ed Morton
"However you like" is probably the right answer, but one way might be to compare their soundex encoding (http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?soundex) and figure out percentage difference based on comparing the numeric part. Ed. -- http://mail.python.org/mailman/listinfo/python-list

Re: Comparing 2 similar strings?

2005-05-18 Thread Ed Morton
John Machin wrote: > On Wed, 18 May 2005 15:06:53 -0500, Ed Morton <[EMAIL PROTECTED]> > wrote: > > >> >>William Park wrote: >> >> >>>How do you compare 2 strings, and determine how much they are "close" to >>>each other?

Re: Comparing 2 similar strings?

2005-05-18 Thread Ed Morton
John Machin wrote: > On Wed, 18 May 2005 20:03:53 -0500, Ed Morton <[EMAIL PROTECTED]> > wrote: >>I assume you were actually being facetious >>and trying to make the point >>that names that don't look the same on paper can have the same soundex >>enc

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

try/except/else/finally problem

2007-06-28 Thread Ed Jensen
I'm using: Python 2.3.2 (#1, Oct 17 2003, 19:06:15) [C] on sunos5 And I'm trying to execute: #! /usr/bin/env python try: f = file('test.txt', 'r') except IOError: print 'except' else: print 'else' finally: print 'finally' And the results are: File "./test.py", line 9 f

Re: try/except/else/finally problem

2007-06-28 Thread Ed Jensen
Peter Otten <[EMAIL PROTECTED]> wrote: >> try: >> f = file('test.txt', 'r') >> except IOError: >> print 'except' >> else: >> print 'else' >> finally: >> print 'finally' > You need Python 2.5 for that to work. In older Python versions you have to > nest try...except...else and try.

Re: The best platform and editor for Python

2007-07-06 Thread Ed Jensen
Alex Martelli <[EMAIL PROTECTED]> wrote: > Calling all vi/vim users (and we'll heartily appreciate the support of > TextMate fans, BBEdit ones, etc, etc) -- we're at risk being defined out > of existence, since we're neither happy with Emacs nor wanting anything > like Visual Studio, and yet Kay cl

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
On Sep 12, 2007, at 10:53 AM, [EMAIL PROTECTED] wrote: > Thanks for ideas Ed. I am checking out dabo now. I do have a few > questions about it. Packaging. Is it easy to package into a quick > install for windows. The users are going to want to get too in > depth. py

Problem with global variables

2007-04-02 Thread Ed Jensen
I'm having a vexing problem with global variables in Python. Please consider the following Python code: #! /usr/bin/env python def tiny(): bar = [] for tmp in foo: bar.append(tmp) foo = bar if __name__ == "__main__": foo = ['hello', 'world'] tiny() When I try to run

Re: Problem with global variables

2007-04-02 Thread Ed Jensen
Ed Jensen <[EMAIL PROTECTED]> wrote: > I'm having a vexing problem with global variables in Python. Thanks to everyone who replied. The peculiar way Python handles global variables in functions now makes sense to me. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Java

2007-04-05 Thread Ed Jensen
Steve Holden <[EMAIL PROTECTED]> wrote: > Jython is an implementation of Python that compiles to Java bytecode, > but at the moment there's some version lag so it won't handle the mos > recent language enhancements. Probably worth a look, though. > >http://www.jython.org/ Does Jython compil

Re: Python and Java

2007-04-06 Thread Ed Jensen
Steve Holden <[EMAIL PROTECTED]> wrote: > Ed Jensen wrote: >> Steve Holden <[EMAIL PROTECTED]> wrote: >>> Jython is an implementation of Python that compiles to Java bytecode, >>> but at the moment there's some version lag so it won't handle th

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

How to determine what exceptions a method might raise?

2007-01-16 Thread Ed Jensen
I'm really enjoying using the Python interactive interpreter to learn more about the language. It's fantastic you can get method help right in there as well. It saves a lot of time. With that in mind, is there an easy way in the interactive interpreter to determine which exceptions a method migh

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

Re: Tabs versus Spaces in Source Code

2006-05-16 Thread Ed Singleton
. def foo(): ->query = """SELECT * -> ...FROM sometable -> ...WHERE condition""" That would solve it. Tabs for indentation, spaces for spacing. Ed -- http://mail.python.org/mailman/listinfo/python-list

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: Python too slow?

2008-01-09 Thread Ed Jensen
Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > And the reference implementation of Python (CPython) is not > interpreted, it's compiled to byte-code, which is then executed by a VM > (just like Java). Wow, this is pretty misleading. Java is, indeed, compiled to bytecode; however, modern JVMs

Re: Python too slow?

2008-01-10 Thread Ed Jensen
Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > I fail to see how the existence of JIT compilers in some Java VM changes > anything to the fact that both Java (by language specification) and > CPython use the byte-code/VM scheme. While your answer was technically correct, by omitting pertinent

Re: Python too slow?

2008-01-10 Thread Ed Jensen
Fredrik Lundh <[EMAIL PROTECTED]> wrote: > oh, please. it was perfectly clear for anyone with the slightest clue > what Bruno was talking about (especially if they'd read the post he was > replying to), so the only question that remains is why you didn't > understand it. If you have something

Re: Python too slow?

2008-01-11 Thread Ed Jensen
Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > I don't think you're going to make you some friends here insulting > Fredrik. I don't know who Ed Jensen is, but we are quite a lot here to > know and respect Mr Lundh for his contributions to Python as both a >

Re: Python too slow?

2008-01-11 Thread Ed Jensen
Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > fact 1: CPython compiles source code to byte-code. > fact 2: CPython executes this byte-code. > fact 3: Sun's JDK compiles source code to byte-code. > fact 4: Sun's JDK executes this byte-code. > > Care to prove me wrong on any of these points ? Don

Re: Python too slow?

2008-01-16 Thread Ed Jensen
[EMAIL PROTECTED] wrote: > A lecturer gave me the perfect answer to the question of speed. > > "You have two choices when it comes to programming. Fast code, or fast > coders." "You're either with us, or against us." George W. Bush My understanding is that while CPython performance won't

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
On Nov 9, 2008, at 4:42 PM, Steve Holden wrote: Ed! Good to see you on c.l.py! I usually only get around to reading the list when I'm having a problem I can't figure out. . Simply too busy most of the time. a) Try using the subprocess module b) Use *.pyw programs to

Re: How best to test functions which use date.today

2009-03-03 Thread Ed Singleton
the lines of: class MyDate(object): def __init__(self, today): self.today = today my_date = MyDate(date(2009, 11, 12)) date = my_date This assumes you aren't using anything else from date. If you are you'll either have to add that to MyDate or use a proper Mock Object. Ed -- http://mail.python.org/mailman/listinfo/python-list

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

Programmers needed: open governance project

2008-08-08 Thread Ed Pastore
ontact the lead developer of this branch (he hangs out on #metascore on irc.freenode.net) or to join our startup committee (i.e., mailing list) detailed at: http://www.metagovernment.org/wiki/Startup Thank you for your consideration. Ed Pastore Metagovernment project http://www.metagov

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
On Apr 1, 2008, at 6:10 PM, Steve Holden wrote: > Ed is a good enough designer to avoid the corner cases. Strangely > enough > the one place where I have ended up making significant use of super() > was in providing mixins for wxPython interface classes! Thanks much for th

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: Game design : Making computer play

2008-04-14 Thread Ed Murphy
v4vijayakumar wrote: > On Apr 14, 1:00 pm, v4vijayakumar <[EMAIL PROTECTED]> > wrote: > >> I can post initial version of the game (implemented using html/ >> javascript) in couple of hours here. > > The game is here, > > http://v4vijayakumar.googlepages.com/goats-and-tigers.html The list

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: [CODE] - Python Newcomer Starting with Coding

2006-03-21 Thread Ed Singleton
uch easier: http://www.jorendorff.com/articles/python/path/ Ed -- 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

Re: Doc suggestions (was: Why "class exceptions" are not deprecated?)

2006-03-29 Thread Ed Singleton
If the whole thing descends into chaos, the wiki (pages) could just be deleted and we continue with the current system. As Python has such an excellent community, it would be a shame not to give them more responsibility in this area, and this system seems to be working quite well for many python pr

Re: Doc suggestions (was: Why "class exceptions" are not deprecated?)

2006-03-29 Thread Ed Singleton
m/_special/index I had a nightmare with character encodings (mainly because I'm terrible with them). I have a script written that does it all for me, but it keeps choking on characters. I just tried randomly converting things to Unicode at various points for over an hour until it worked. Ed -- http://mail.python.org/mailman/listinfo/python-list

Re: Doc suggestions (was: Why "class exceptions" are not deprecated?)

2006-03-29 Thread Ed Singleton
On 29/03/06, Ed Singleton <[EMAIL PROTECTED]> wrote: > On 29/03/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > > > btw, one alternative could be to use an infogame site for this purpose: > > > > > >http://infogami.com > > > > > > thi

Re: Doc suggestions (was: Why "class exceptions" are not deprecated?)

2006-03-29 Thread Ed Singleton
On 29/03/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Ed Singleton wrote: > > > > alright, I got bored and uploaded a copy of the current Python tutorial to > > > > > > http://pytut.infogami.com > > > > Damn. You beat me to it by an hou

[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: Doc suggestions (was: Why "class exceptions" are not deprecated?)

2006-03-31 Thread Ed Singleton
e > someone to DO IT. Give me svn access, and I will. But I > guess for you it is more fun to write wikis and things than > actually fixing the doc. (Don't get me wrong, I hope the > wiki thing works and I will contribute but note what I wrote > initially about programming Python being more fun than > dealing with that grungy english *writing* yeck!) In the time he spent posting about this something got done. An entire new process got created, so that anyone can make changes. If the changes really are useful, then either the wiki version will become official, or people will just start pointing newcomers to the wiki version instead. Go to the wiki, make the changes you want, and feel good about yourself for once. Ed -- http://mail.python.org/mailman/listinfo/python-list

binascii.a2b_binary

2006-04-02 Thread Ed Swarthout
Why is there no binascii.a2b_binary(bitstr) which returns the binary data represented by the bit string? Like: >>> binascii.a2b_binary('0011001100110101') '35' perl has pack("B*", "0011001100110101"); What is the python way to do this? Other fun with strings: >>> ''.decode('hex') '33' >>

Re: Doc suggestions

2006-04-05 Thread Ed Singleton
; ...Same as above but would reduce the ability > of experts to make money writing commercial > books. Probably none of the above. It's just not exciting enough for people to go away and do it for you. If you really believe in the idea, do it, prove it and then people will accept it (and you'll probably be in charge of the docs). Ed -- http://mail.python.org/mailman/listinfo/python-list

Re: recursion and linked lists

2006-04-07 Thread Ed Singleton
printBackward.head and so on. It helps to keep it clear that they are entirely different. Ed -- http://mail.python.org/mailman/listinfo/python-list

<    1   2   3   4   >