Re: Numeric literal syntax

2008-09-03 Thread Cliff
On Sep 2, 12:34 am, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Ben Finney wrote: > > I would argue that the precedent, already within Python, for using a > > space to separate pieces of a string literal, is more important than > > precedents from other programming languages. > > that precedent also

SCM

2011-03-08 Thread Cliff Scherer
Hi, I am looking for a Python library, which can handle the modelling of material flows in Supply Chains. Any idea ? Thx -- http://mail.python.org/mailman/listinfo/python-list

Re: rfc822 module bug?

2005-07-30 Thread Cliff Wells
2005 13:14:27 GMT +0200 My preferred date/time module is Gustavo Niemeyer's DateUtil module: https://moin.conectiva.com.br/DateUtil It parses an astounding number of date formats (I used it to parse the mess of dates and times provided by RSS feeds without a hitch). Regards, Cl

Re: [path-PEP] Path inherits from basestring again

2005-07-30 Thread Cliff Wells
an path concatenation is no worse than > using __add__ to mean string concatenation, and it is both easy to > remember (once the manual is read) and easy to type. I agree. I like overloading as long as it makes sense when I read it. Python's use of "+" to mean concatenation do

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

2005-07-30 Thread Cliff Wells
;ve used on Windows (including the venerable GIMP) are nowhere near as stable as their Linux counterparts (although this may not be entirely the fault of GTK). Also, GTK on OS/X requires Fink, which is a pretty hefty requirement to place on an end user. Regards, Cliff -- [EMAIL PROTECTED] ht

Re: python SMTP server

2005-07-30 Thread Cliff Wells
you should note that if you are running the server at home, chances are that most mail servers will reject mail from your system. It's best to use the server your ISP provides. You can have your local SMTP server forward through your ISP's server, but this is, in most cases, unneeded

Re: Dabo in 30 seconds?

2005-07-30 Thread Cliff Wells
On Sat, 2005-07-30 at 20:29 -0700, James Stroud wrote: > I am going to go ahead and throw out Dabo with all of the others that claim > quick development of an application. You try them and then you get bugs, > bugs, bugs. Or they don't compile without 16000 dependencies. Forget it. My > advice i

Re: Wheel-reinvention with Python

2005-07-30 Thread Cliff Wells
y packages (or even Python for that matter). Tools such as py2exe and Inno installer make this pretty simple on Windows, and py2app on OS/X accomplishes the same. It should be irrelevant to end users what libraries or tools you use to develop the app. Regards, Cliff -- [EMAIL PROTECTED] http://

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

2005-07-30 Thread Cliff Wells
On Sat, 2005-07-30 at 16:52 -0700, Bugs wrote: > Cliff Wells wrote: > > > > But how stable is GTK on systems such as Windows and OS/X? That has > > been what has kept me from using it. Most GTK apps I've used on Windows > > (including the venerable GIMP) are

Re: Wheel-reinvention with Python

2005-07-31 Thread Cliff Wells
On Sun, 2005-07-31 at 10:01 +0200, Torsten Bronger wrote: > Hallöchen! > > Cliff Wells <[EMAIL PROTECTED]> writes: > > > [...] > > > > The least headache for end users comes from properly packaging your > > application. End users shouldn't need to

Re: Wheel-reinvention with Python

2005-07-31 Thread Cliff Wells
> possibilities. > > I'm not sure what you mean. Whatever GUI library the Mac uses, py2exe > doesn't work with it, since py2exe doesn't work for Macs. py2app is the py2exe equivalent for OS/X. And it works fine with wxPython as well. Regards, Cliff -- [EMAI

Re: Wheel-reinvention with Python

2005-07-31 Thread Cliff Wells
On Sun, 2005-07-31 at 01:08 -0700, Paul Rubin wrote: > Cliff Wells <[EMAIL PROTECTED]> writes: > > application. End users shouldn't need to worry about installing third > > party packages (or even Python for that matter). Tools such as py2exe > > and Inno inst

Re: Wheel-reinvention with Python

2005-07-31 Thread Cliff Wells
e Tkinter despite its flaws. Am I to assume that you don't use *any* third party libraries? As far as the "use the included batteries" tenet... has Python changed from a programming language to a cult in the few months I've been off the list? Where are these "tenets&qu

Re: Wheel-reinvention with Python

2005-07-31 Thread Cliff Wells
a standalone library (quite some time ago, actually) and Python uses it pretty much the same way Tk does. Regards, Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, PostgreSQL and Python specialists :: -- http://mail.python.org/mailman/listinfo/python-list

Re: Wheel-reinvention with Python

2005-07-31 Thread Cliff Wells
say "OS" as this term has little meaning. Linux (which flavor)? BSD? SCO? HPUX? OS/X? Minix? Whichever way, I suspect that a bit of distutils hacking would solve your problem. Regards, Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Lin

Re: python SMTP server

2005-07-31 Thread Cliff Wells
the mail to be accepted. So there is perhaps one useful (beyond learning and fun) application for using a local SMTP server. Regards, Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, PostgreSQL and Python specialists :: -- http://mail.python.org/mailman/listinfo/python-list

Re: Dabo in 30 seconds?

2005-07-31 Thread Cliff Wells
de/down.html It sounded interesting until you said "Java Applet". Talk about causing deployment issues... Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, PostgreSQL and Python specialists :: -- http://mail.python.org/mailman/listinfo/python-list

Re: Dabo in 30 seconds?

2005-07-31 Thread Cliff Wells
On Sun, 2005-07-31 at 01:03 -0700, Paul Rubin wrote: > Cliff Wells <[EMAIL PROTECTED]> writes: > > Then why are you using Python at all? Shouldn't you be in the "safe > > home" of Java or Visual Basic, where "standards" are all you have? > > I

Re: Dabo in 30 seconds?

2005-07-31 Thread Cliff Wells
others? Twisted, for one, can't be used without knowing Python. In fact, without knowing Python quite well. For that matter, it can't easily be used . Cliff (who has a love/hate relationship with Twisted) -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting

Re: Wheel-reinvention with Python

2005-07-31 Thread Cliff Wells
On Sun, 2005-07-31 at 12:48 -0700, Kay Schluehr wrote: > Cliff Wells wrote: > > > > My objection with wrappers around wrappers around wrappers is that I > > > have no hope ever watching the ground. If some error occurs, which > > > layer has to be addressed? Whi

Re: Wheel-reinvention with Python

2005-07-31 Thread Cliff Wells
reduced duplication of effort), but quite frankly, it ain't gonna happen, and quite probably there would be a lot of downsides to such an event as well. Regards, Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, PostgreSQL and Python specialists :: -- http://mail.python.org/mailman/listinfo/python-list

Re: Wheel-reinvention with Python

2005-07-31 Thread Cliff Wells
On Sun, 2005-07-31 at 23:46 +0200, Torsten Bronger wrote: > Hallöchen! > > Cliff Wells <[EMAIL PROTECTED]> writes: > > > [...] > > > > Well, I think this exposes one of the more interesting sides of > > open source software in general. For better or

Re: Wheel-reinvention with Python

2005-07-31 Thread Cliff Wells
ecided to use Ximian desktop around 7.3). Also the Windows and Mac installers there seem to work just fine as well. Regards, Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, PostgreSQL and Python specialists :: -- http://mail.python.org/mailman/listinfo/python-list

Re: Dabo in 30 seconds?

2005-07-31 Thread Cliff Wells
On Sun, 2005-07-31 at 16:22 -0700, Paul Rubin wrote: > Cliff Wells <[EMAIL PROTECTED]> writes: > > wxWidgets/wxPython hasn't required GTK 1.x in quite a long time. Please > > get your facts straight. > > It did last time I tried installing it, which was maybe

Re: Wheel-reinvention with Python

2005-07-31 Thread Cliff Wells
On Sun, 2005-07-31 at 16:57 -0700, Paul Rubin wrote: > Cliff Wells <[EMAIL PROTECTED]> writes: > > > And what do I use to bundle my application for Unix? Most of the > > > things I build get installed on Unix servers. > > > > You install GUI apps on Unix *se

Re: Dabo in 30 seconds?

2005-07-31 Thread Cliff Wells
On Sun, 2005-07-31 at 17:16 -0700, Paul Rubin wrote: > Cliff Wells <[EMAIL PROTECTED]> writes: > > > It did last time I tried installing it, which was maybe 3-6 months ago. > > > Someone posted that it had been updated recently. > > > > Looking on SourceFo

Re: Wheel-reinvention with Python

2005-07-31 Thread Cliff Wells
On Sun, 2005-07-31 at 16:38 -0700, Paul Rubin wrote: > Cliff Wells <[EMAIL PROTECTED]> writes: > > The bottom line is this: some people like Tk, some wxPython. Each has > > advantages and disadvantages. But to claim that you *can only* do > > something in one or the o

Re: Wheel-reinvention with Python

2005-07-31 Thread Cliff Wells
On Sun, 2005-07-31 at 17:45 -0700, Paul Rubin wrote: > Cliff Wells <[EMAIL PROTECTED]> writes: > > > The usual way to do that is with a web GUI, but nothing stops you from > > > running Tkinter on a Unix server through a remote X connection. > > > > Of cour

Re: Wheel-reinvention with Python

2005-08-01 Thread Cliff Wells
of people) are to be taken with an extremely large grain of salt. Nothing wrong with being unique, but you just need to realize that no one else in their right mind wants to do things your way and any attempts you make to get them to do so are doomed to failure at best and ridicule at worst.

Re: Wheel-reinvention with Python

2005-08-01 Thread Cliff Wells
its own widgets based on drawing primitives, but I have no idea how far along that is nor how long until wxPython supports it as another target. Regards, Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, PostgreSQL and Python specialists :: -- http://mail.python.org/mailman/listinfo/python-list

Re: python SMTP server

2005-08-01 Thread Cliff Wells
On Mon, 2005-08-01 at 12:28 +0200, Benjamin Niemann wrote: > Cliff Wells wrote: > > As an aside, I will say that many SMTP servers that service home users > > (i.e. Comcast, et al) limit the amount of mail that you can send within > > a defined period. > > Or completel

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

2005-08-01 Thread Cliff Wells
ws apps and websites under Exploder. However my girlfriend, while hating the Gimp (she prefers Photoshop, to put it mildly), loves Inkscape and claims it is better in many ways than Illustrator. Regards, Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, Pos

Re: Dabo in 30 seconds?

2005-08-01 Thread Cliff Wells
it and washing a few dishes while you're at it? Can't *quite* get this spoon to my mouth'ly yours, Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, PostgreSQL and Python specialists :: -- http://mail.python.org/mailman/listinfo/python-list

Re: Majordomo results: [UBCCS:VIRUS] Was: Returned mail: Data f

2005-08-01 Thread Cliff Wells
On Mon, 2005-08-01 at 06:04 -0700, [EMAIL PROTECTED] wrote: > Command 'nuisance' not recognized. Hm, seemed to work anyway. -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, PostgreSQL and Python specialists :: -- http://mail.python.org/mailman/listi

Re: Dabo in 30 seconds?

2005-08-01 Thread Cliff Wells
On Mon, 2005-08-01 at 16:21 +0200, Daniel Dittmar wrote: > Cliff Wells wrote: > > But then I'm willing to > > actually work a little to get what I want. For other it seems they > > won't be happy unless you drive to their house and install it for them > >

Re: namespaces

2005-08-01 Thread Cliff Wells
On Tue, 2005-08-02 at 02:37 +1000, Steven D'Aprano wrote: > there is a reason why Lisp is a niche language, with very little if any use > in the commercial world. Eric Naggum? Regards, Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, Pos

Re: Dabo in 30 seconds?

2005-08-01 Thread Cliff Wells
named creativity >>> Nope. Not included with Python. Can't be used. Regards, Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, PostgreSQL and Python specialists :: -- http://mail.python.org/mailman/listinfo/python-list

Re: Dabo in 30 seconds?

2005-08-01 Thread Cliff Wells
tance, it may be clear from the traceback *what* the error is, but unless you RTFM or are intimately familiar with wx, you may not immediately know how to solve it. Even if the traceback ended with an appropriate link to the FAQ, that would be outstanding. BTW, I'm with Terry: these discuss

Re: Wheel-reinvention with Python

2005-08-01 Thread Cliff Wells
to almost nil since the switch so I'm willing to stand corrected or at least leave the point open to debate). The native look-and-feel across all platforms was another big motivation, but no the primary one. Mostly I found that the steeper learning curve paid off quite well in the long run. R

Re: Wheel-reinvention with Python

2005-08-01 Thread Cliff Wells
eople" he was not referring to the set of "most Python users", but rather the set of "most people who have tried wxPython". Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, PostgreSQL and Python specialists :: -- http://mail.python.org/mailman/listinfo/python-list

Re: Wheel-reinvention with Python

2005-08-01 Thread Cliff Wells
On Mon, 2005-08-01 at 14:13 -0700, Paul Rubin wrote: > Cliff Wells <[EMAIL PROTECTED]> writes: > > Still, that leaves Linux and Mac out in the cold. But I'll admit you > > met my challenge. Most likely you can actually do most of the things > > with Tk you can

Re: Wheel-reinvention with Python

2005-08-01 Thread Cliff Wells
On Mon, 2005-08-01 at 14:16 -0700, Paul Rubin wrote: > Cliff Wells <[EMAIL PROTECTED]> writes: > > It was quite clear that by saying "most people" he was not referring to > > the set of "most Python users", but rather the set of "most people who >

Re: Wheel-reinvention with Python

2005-08-01 Thread Cliff Wells
quot;wxPython" and "Tk" around in the above argument and I think the > statements equally hold of course. Agreed. Regards, Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, PostgreSQL and Python specialists :: -- http://mail.python.org/mailman/listinfo/python-list

Re: Wheel-reinvention with Python

2005-08-01 Thread Cliff Wells
On Mon, 2005-08-01 at 23:49 -0400, Mike Meyer wrote: > Cliff Wells <[EMAIL PROTECTED]> writes: > > > On Sun, 2005-07-31 at 14:58 -0400, Mike Meyer wrote: > >> And what do I use to bundle my application for Unix? Most of the > >> things I build get installed

Re: Wheel-reinvention with Python

2005-08-01 Thread Cliff Wells
27;s for Linux, the > answer is plwm. Technically, a toolkit for building a window manager, not a GUI. But funny anyway ;) Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, PostgreSQL and Python specialists :: -- http://mail.python.org/mailman/listinfo/python-list

Re: Wheel-reinvention with Python

2005-08-01 Thread Cliff Wells
On Tue, 2005-08-02 at 00:18 -0400, Mike Meyer wrote: > Or maybe you could switch to Jython, and just use swing? Man, c.l.py is getting *mean* ;) -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, PostgreSQL and Python specialists :: -- http://mail.python.

Re: Wheel-reinvention with Python

2005-08-02 Thread Cliff Wells
disagree with what I think is your main point: higher-level abstractions make more advanced ideas feasible. You simply state it far too strongly. Regards, Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, PostgreSQL and Python specialists :: --

Re: Wheel-reinvention with Python

2005-08-02 Thread Cliff Wells
ls: http://www.python.org/doc/current/dist/ http://www.python.org/doc/current/dist/built-dist.html distutils can go so far as to build an rpm for you, but you'll need to package things like .debs yourself. Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: L

Re: Wheel-reinvention with Python

2005-08-03 Thread Cliff Wells
On Wed, 2005-08-03 at 09:47 -0400, Mike Meyer wrote: > Cliff Wells <[EMAIL PROTECTED]> writes: > > > On Tue, 2005-08-02 at 20:17 -0400, Mike Meyer wrote: > > > >> Um - you're not answering the question I asked. I asked "What app do I > >> us

Re: Wheel-reinvention with Python

2005-08-04 Thread Cliff Wells
On Thu, 2005-08-04 at 01:04 -0400, Mike Meyer wrote: > Right. Let's go back to the original question: What's the app I use on > Unix that acts like py2exe on Windows and py2app on Unix? > > Any archiving system can be coerced into collecting all the parts > together. None of them do it automatica

Re: Decline and fall of scripting languages ?

2005-08-06 Thread Cliff Wells
ndicative of a change in clientelle than anything else. Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, PostgreSQL and Python specialists :: -- http://mail.python.org/mailman/listinfo/python-list

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

2005-08-08 Thread Cliff Wells
had they been written in Python. This is undoubtedly the reason why Rails is apparently completely usable even if one knows very little Ruby. Regards, Cliff -- [EMAIL PROTECTED] http://www.develix.com :: Web applications and hosting :: Linux, PostgreSQL and Python specialists :: -- http:

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

2005-08-08 Thread Cliff Wells
On Mon, 2005-08-08 at 10:10 -0700, Paul Rubin wrote: > Cliff Wells <[EMAIL PROTECTED]> writes: > > The second presentation (I don't recall the speaker's name) specifically > > covered metaprogramming (writing DSLs) and one of the things I found > > interesting

Re: HTML library

2006-01-17 Thread Cliff Wells
dNevow http://www.livinglogic.de/Python/xist/ Regards, Cliff -- http://mail.python.org/mailman/listinfo/python-list

Re: Using Python for my web site

2006-07-31 Thread Cliff Wells
greSQL). Also, saying "a few years ago I did some research" in software terms is pretty much equivalent to saying "I don't know". Regards, Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Static Variables in Python?

2006-07-31 Thread Cliff Wells
ecorate @attrs ( bits = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ) def set_bit ( idx, val ): set_bit.bits [ idx ] = int ( bool ( val ) ) print "Bit Array:" for i in set_bit.bits: print i, print >>> set_bit ( 4, 1 ) Bit Array: 0 0 0 0

Re: Static Variables in Python?

2006-07-31 Thread Cliff Wells
On Mon, 2006-07-31 at 13:02 -0700, Cliff Wells wrote: > @attrs ( bits = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ) Also, IMO, it's a bit more readable to write: bits = [ 0 for i in range ( 16 ) ] which avoids the necessity of counting the zeros to know how many there are.

Re: Static Variables in Python?

2006-07-31 Thread Cliff Wells
On Mon, 2006-07-31 at 13:37 -0700, Cliff Wells wrote: > On Mon, 2006-07-31 at 13:02 -0700, Cliff Wells wrote: > > > > @attrs ( bits = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ) > > Also, IMO, it's a bit more readable to write: > > bits = [ 0 for i i

Re: Static Variables in Python?

2006-07-31 Thread Cliff Wells
want to use anything besides: bits = [ 0 ] * 16 bits [ 4 ] = 1 print "Bit Array:" print ' '.join ( bits ) Having a "set_bit" function seems redundant when the language syntax directly supports what you are trying to do. Regards, Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Using Python for my web site

2006-07-31 Thread Cliff Wells
On Mon, 2006-07-31 at 17:58 -0300, Gerhard Fiedler wrote: > On 2006-07-31 17:28:00, Cliff Wells wrote: > > >> I assume you don't agree... :) > > > > I certainly don't. [...] > > > Also, saying "a few years ago I did some research" in s

Re: Using Python for my web site

2006-07-31 Thread Cliff Wells
won't have to make architectural compromises. Regards, Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Using Python for my web site

2006-07-31 Thread Cliff Wells
#Pound while working for a university. I currently use Pound, mostly for proxying to virtual hosts on my shared hosting systems, but for heavy page hits and dynamic content, Squid is probably of more interest since Pound doesn't do caching. Regards, Cliff -- http://mail.python.org/mailman/listinfo/python-list

Re: Nuther problem with 'dive into Python'

2006-07-31 Thread Cliff Wells
ecommend an alternative page to > use? Perhaps any one of the approximately 100 million pages with Atom feeds? Google is your friend: http://www.google.com/search?hl=en&lr=lang_en&safe=off&q=blog +atom&btnG=Search Results 1 - 10 of about 105,000,000 English pages for blog

Re: Using Python for my web site

2006-07-31 Thread Cliff Wells
On Mon, 2006-07-31 at 21:57 -0300, Gerhard Fiedler wrote: > On 2006-07-31 18:23:17, Cliff Wells wrote: > > > My point is to stop FUD right at that comment. I don't doubt your > > research from "a few years ago", but ancient research is entirely > >

Re: code to retrieve web mail?

2006-07-31 Thread Cliff Wells
you: http://www.crummy.com/software/BeautifulSoup/ Also, no matter what method you finally end up with, you'll undoubtedly need to mangle long filenames into 8.3 names, at least for attachments and the like. Regards, Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Using Python for my web site

2006-08-01 Thread Cliff Wells
n framework. Perhaps you should. You seem to have at least the start of the right idea about web application organization, so I think you'd be pleasantly surprised with what you'll find already done for you by the major Python frameworks and how much time you'll stop wasting on code th

Re: Using Python for my web site

2006-08-01 Thread Cliff Wells
On Tue, 2006-08-01 at 10:41 -0300, Gerhard Fiedler wrote: > On 2006-08-01 04:11:18, Cliff Wells wrote: > > > You say that you haven't tried Django or any other Python framework. > > Perhaps you should. You seem to have at least the start of the right > > idea about

Re: Using Python for my web site

2006-08-01 Thread Cliff Wells
ere's a short list from the TurboGears site: http://www.turbogears.org/preview/docs/deployment/hosting.html And from the Django site: http://code.djangoproject.com/wiki/DjangoFriendlyWebHosts WebFaction (formerly python-hosting) even has a control panel that will install the framework of your choice with a mouse-click. Regards, Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

RE: Static Variables in Python?

2006-08-01 Thread Cliff Wells
1 ... print '\n', ... >>> the_bits = BitsClass(16) >>> the_bits.set (4, 1) [0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] Works for me. I'm not sure what 'DiscreteBits' in your error refers to. Also, you don't need to explicitly declare global variables "global". Regards, Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Using Python for my web site

2006-08-02 Thread Cliff Wells
On Tue, 2006-08-01 at 23:26 -0300, Gerhard Fiedler wrote: > Or is there something in PostgreSQL that makes its users acidic? :) Well, ACID is popular in PostgreSQL circles. Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Using Python for my web site

2006-08-02 Thread Cliff Wells
Python proponents. On the other hand, had I appended "So I'd like some other opinions because I don't know." to the end, it would probably cut the irritation down considerably (or at least be in a much more defensible position if it didn't). Regards, Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Using Python for my web site

2006-08-02 Thread Cliff Wells
implication Python isn't suited for the web). Regards, Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Using Python for my web site

2006-08-03 Thread Cliff Wells
On Thu, 2006-08-03 at 15:51 +0200, paul kölle wrote: > Cliff Wells wrote: > > > For myself, I handle user-installation of TurboGears pretty much like I > > do all user-installed Python packages: using setuptools. Any user who > > uses easy_install or 'python setup.py

Re: Using Python for my web site

2006-08-03 Thread Cliff Wells
On Thu, 2006-08-03 at 09:49 +0200, Sybren Stuvel wrote: > Cliff Wells enlightened us with: > > 1) PostgreSQL fans are perhaps a bit paranoid about claims of MySQL > > being better. There used to be a tiny bit of truth in this claim > > for certain applications (mostly relati

ReStructuredText

2006-08-15 Thread Cliff Wells
; publish_parts ( t, writer_name = 'html' ) [ 'body' ] u'1. this is a test\n#. this is another line\n#. oh, screw it!\n' >>> Why doesn't the above turn out an enumerated list? It looks like all the examples I've seen, and I've tried adding a

Re: ReStructuredText

2006-08-15 Thread Cliff Wells
On Tue, 2006-08-15 at 09:35 +0200, Sybren Stuvel wrote: > Cliff Wells enlightened us with: > > Why doesn't the above turn out an enumerated list? > > You have to indent the list: > > >>> from docutils.core import publish_parts > >>> t = '

Re: ReStructuredText

2006-08-15 Thread Cliff Wells
On Tue, 2006-08-15 at 16:02 +0800, limodou wrote: > On 8/15/06, Cliff Wells <[EMAIL PROTECTED]> wrote: > > Thanks for the response. Must be a bug in my version: > > Which version of docutils you are using, in my computer is good. > > u'\nthis is a test\nthis is &

Re: ReStructuredText

2006-08-15 Thread Cliff Wells
On Tue, 2006-08-15 at 00:56 -0700, Cliff Wells wrote: Ah, I got it. From the docs: (Auto-enumerated lists are new in Docutils 0.3.8.) and I've got 0.3.7 Damn. Thanks for the responses. Regards, Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

Re: ReStructuredText

2006-08-15 Thread Cliff Wells
On Tue, 2006-08-15 at 16:10 +0800, limodou wrote: > On 8/15/06, Cliff Wells <[EMAIL PROTECTED]> wrote: > > On Tue, 2006-08-15 at 16:02 +0800, limodou wrote: > > > On 8/15/06, Cliff Wells <[EMAIL PROTECTED]> wrote: > > > > Thanks for the response. Must

Re: What do you want in a new web framework?

2006-08-22 Thread Cliff Wells
t such great products, at least not for the "80% solution" that Rails targets). Also the fact that Ruby doesn't suck isn't hurting Rails any either. If GvR wants to improve Python's status against Ruby, I suggest looking at what people are *really* raving about in the Ruby world (despite how they got there) and address those issues rather than getting sidetracked with this nonsense. Regards, Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Can I do this with list comprehension?

2006-08-22 Thread Cliff Wells
On Tue, 2006-08-22 at 21:07 -0700, [EMAIL PROTECTED] wrote: > b = [2, 4, 6, 8, 10, 12] >>> a = [0, 1, 0, 1, 1, 0] >>> b = [2, 4, 6, 8, 10, 12] >>> [ j for i, j in zip ( a, b ) if i ] [4, 8, 10] -- -- http://mail.python.org/mailman/listinfo/python-list

Re: What do you want in a new web framework?

2006-08-23 Thread Cliff Wells
On Wed, 2006-08-23 at 02:28 -0700, Paul Boddie wrote: > Cliff Wells wrote: > > No, the reason Rails is successful is due to being a decent, focused > > product with *great* marketing (screencasts, anyone?). > > Screencasts? Perhaps, like a great showman, they draw in the

Re: What do you want in a new web framework?

2006-08-23 Thread Cliff Wells
is situation > > in Py3k: all he has to do, of course, is to add a LOT more keywords. > > Here is another remedy: he adds one of the frameworks to the standard > library :) That didn't help Tk maintain a monopoly on Python GUI toolkits. Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Unicode/ascii encoding nightmare

2006-11-07 Thread Cliff Wells
nd just need details, but does about as much for *understanding* as a dictionary does for learning a language. When I'm perusing the Python reference manual, I usually find that 10 lines of example code are worth 1000 lines of function descriptions and cross-references. Just my $0.02. Regards, Cliff -- http://mail.python.org/mailman/listinfo/python-list

Re: Unicode/ascii encoding nightmare

2006-11-07 Thread Cliff Wells
o my posts long before my own post shows up. In fact, I've seen posts not show up for several hours. Regards, Cliff -- http://mail.python.org/mailman/listinfo/python-list

Re: profanity on comp.lang.python (was Re: Pyro stability)

2006-11-08 Thread Cliff Wells
On Wed, 2006-11-08 at 06:49 -0800, Beliavsky wrote: > Cliff Wells wrote: > > The LA Times had a story that claimed that 64% of U.S. citizens use the > > word "fuck" and that 74% of us have heard it in public (I'll assume the > > remainder are your fellow AOL u

Re: profanity on comp.lang.python (was Re: Pyro stability)

2006-11-08 Thread Cliff Wells
yScrivener with Beliavsky, who was the original plaintiff). Regards, Cliff -- http://mail.python.org/mailman/listinfo/python-list

Re: profanity on comp.lang.python (was Re: Pyro stability)

2006-11-08 Thread Cliff Wells
would suggest that both parties were equally at fault in this situation, so perhaps we can just leave it at that. Regards, Cliff -- http://mail.python.org/mailman/listinfo/python-list

Re: profanity on comp.lang.python (was Re: Pyro stability)

2006-11-08 Thread Cliff Wells
n the original > post. I think this sums up my point of view as well (although I would have used around 3215 more words to say it). Cliff -- http://mail.python.org/mailman/listinfo/python-list

Re: What do you want in a new web framework?

2006-08-23 Thread Cliff Wells
On Thu, 2006-08-24 at 04:04 +, Tim Roberts wrote: > Cliff Wells <[EMAIL PROTECTED]> wrote: > > > >But there are interesting things in Ruby (and Ruby 2 should take care of > >lots of warts Ruby 1.8 has) that Python could learn from. All-in-all, > >Ruby is most

Re: What do you want in a new web framework?

2006-08-24 Thread Cliff Wells
On Thu, 2006-08-24 at 04:28 -0700, Paul Boddie wrote: > Cliff Wells wrote: > > On Thu, 2006-08-24 at 04:04 +, Tim Roberts wrote: > > > Cliff Wells <[EMAIL PROTECTED]> wrote: > > > > > > > >But there are interesting things in Ruby (and Ruby 2 s

Re: Python Syntax Highlighting Module

2006-08-24 Thread Cliff Wells
t; > Blaine > > just a *few* examples If I were to start a GUI editor project, I'd undoubtedly start by looking at Scintilla: http://www.scintilla.org/ Also see: http://scintilla.sourceforge.net/ScintillaRelated.html Regards, Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Out-dated compiled modules (*.pyc)?

2006-08-26 Thread Cliff Wells
estamp on the pyc files in question. Cliff -- http://mail.python.org/mailman/listinfo/python-list

Re: avoiding file corruption

2006-08-28 Thread Cliff Wells
ould not (even if it could) try to protect you. Regards, Cliff -- http://mail.python.org/mailman/listinfo/python-list

Re: Pros/Cons of Turbogears/Rails?

2006-08-31 Thread Cliff Wells
that have gone on under the hood. There's been only a few breaking changes up til now (I converted a site I'd built on 0.8 to the latest SVN last night and most of the issues I encountered were with my own changes to TurboStan). Regards, Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Pros/Cons of Turbogears/Rails?

2006-08-31 Thread Cliff Wells
project and what's been or being done with that project. If it seems promising, I try it. I can't think of any other reasonable way of making that decision. Regards, Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

Re: python-database

2006-09-03 Thread Cliff Wells
age or driver. Usually you simply SELECT from the stored procedure. Also, you might be interested to know that with PostgreSQL you can also *write* stored procedures in Python which I consider a huge plus. Regards, Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Is it just me, or is Sqlite3 goofy?

2006-09-12 Thread Cliff Wells
't know how many other > > companies, not to mention countless open source projects such as > > Mozilla, PHP, and now Python. > > but is he a member of Mensa? Now *there's* a group of crackpots. Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

Re: best small database?

2006-09-12 Thread Cliff Wells
On Mon, 2006-09-11 at 13:23 +, David Isaac wrote: > I have no experience with database applications. > This database will likely hold only a few hundred items, > including both textfiles and binary files. > > I would like a pure Python solution to the extent reasonable. Since no one's mention

Re: best small database?

2006-09-12 Thread Cliff Wells
t; correctly. Would you have the kindness to enlighten me/us ? I simply assumed it was "guhzub" backwards. Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

  1   2   3   4   >