Re: Newer than a Newbe

2005-08-01 Thread linuxfreak
Look at Karrigell. Its a web framework for Python http://karrigell.sourceforge.net -- http://mail.python.org/mailman/listinfo/python-list

startfile problems

2005-08-01 Thread Timothy Smith
hello i have a very odd issue with os.startfile() ok basicly my app works perfectly on every single other pc todate. i cannot recreate this issue on any system. so i've already ruled out any obvious coding issues, such as wrong file names etc. this issue only occurs on this one old pc. upon tr

Re: doctest bug with nested triple quotes

2005-08-01 Thread Paolino
I can't reproduce the error. Freebsd,python 2.4 runs it. > cat x.py """ dummy = ''' something here ''' """ import doctest; doctest.testmod() > python x.py > maybe the file is different. > python -c "print open('x.py').read().encode('base64')" IiIiCmR1bW15ID0gJycnCgpzb21ldGhpbmcKaGVyZQonJycKI

Re: Wheel-reinvention with Python

2005-08-01 Thread Mike Meyer
Paul McNett <[EMAIL PROTECTED]> writes: > On Windows and Mac, you download the package and run through the wizard. Which package? I'm looking at the sourceforge download site, and don't see any packages for Python 2.4 on OS X 10.4. In fact, I don't see any packages for 10.4 at all. IIRC, they did

Re: Wheel-reinvention with Python

2005-08-01 Thread Paul McNett
Mike Meyer wrote: > Paul McNett <[EMAIL PROTECTED]> writes: > >>On Windows and Mac, you download the package and run through the wizard. > > Which package? I'm looking at the sourceforge download site, and don't > see any packages for Python 2.4 on OS X 10.4. In fact, I don't see any > packages f

Re: Standards not standard

2005-08-01 Thread Mike Meyer
Dark Cowherd <[EMAIL PROTECTED]> writes: > Being able to write a usable GUI is key task for all programmers today No, it isn't. I'm a programmer. I never get paid to write usable GUIs. Most of my programs don't have a GUI at all. For those that do, I get paid to write a functional GUI. Clients tha

Script for generating WSDL

2005-08-01 Thread Pranav Bagora
hello, I am trying to write a python code which reads a web service and creates its corresponding wsdl file. Any idea how to do it.Please help Thanks Pranav __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http:

Re: Is this Pythonic?

2005-08-01 Thread phil hunt
On Mon, 01 Aug 2005 22:01:06 +0200, Caleb Hattingh <[EMAIL PROTECTED]> wrote: >Peter > >To my mind, this kind of setup (interface class, or abstact class) is more >usually used in static languages to benefit polymorphism - but python is >dynamically typed, so in which situations would this setu

Re: Is this Pythonic?

2005-08-01 Thread phil hunt
On Mon, 01 Aug 2005 14:07:46 -0700, Erik Max Francis <[EMAIL PROTECTED]> wrote: > >Yes, but raise NotImplementedError instead of Exception. Another trick >you can use is to prevent people from instantiating the abstract class: > > class Foo: > def __init__(self): > i

Re: Is this Pythonic?

2005-08-01 Thread Erik Max Francis
phil hunt wrote: > That's a clever trick, but it's obvious from the code that the class > is intended to be abstract, so if people are stupid enough to shoot > themselves in the foot by creating an instance, I don't feel like > adding extra code to protect themselves from their stupidity. Righ

Re: doctest bug with nested triple quotes

2005-08-01 Thread Peter Otten
Michele Simionato wrote: > I am getting trouble with nested triple quoted strings in doctest. > For instance > > $ cat x.py > """ dummy = ''' > something > here > ''' > """ > import doctest; doctest.testmod() > > $ python x.py > > ***

Re: using Pyro for network games

2005-08-01 Thread garabik-news-2005-05
Michael Rybak <[EMAIL PROTECTED]> wrote: > Hi, everyone. > In topic "2-player game, client and server at localhost", I've asked > about subj, and Peter Hansen suggested to switch to Twisted, Pyro or > the like. > > I've tried using Pyro. > > I've written a very very simple test-game, in which you

<    1   2   3