Am 26.11.2010 18:46, schrieb Gaëtan Podevijn:
I need to get some informations from files stored on my filesystem, Flickr
and Picasa. So the idea is to create a class (for instance,
"InformationsProvider") that provides common methods for those three
sources, then, for each source, I create a cla
Gabriel Genellina schrieb:
I have a class attribute 'foo' which is a data descriptor. I create an
instance of such class. When I say instance.foo = value, the descriptor
__set__ method is called. Is there any way to obtain the name being
assigned to? ('foo' in this example). That is, I want to
Jason Drew wrote:
> I believe you're experiencing a bug that I also encountered, and for
> which there is a patch. See:
> http://sourceforge.net/tracker/?group_id=5470&atid=105470&func=detail&aid=1110478
>
> Fixing os.py as described in the patch fixed all my CGI-related
> problems. Hope it does f
Hi all,
I'm running the following script as a minimalistic CGI server on
Windows ME:
httpd.py
from BaseHTTPServer import HTTPServer
from CGIHTTPServer import CGIHTTPRequestHandler
server = HTTPServer(("", 8080), CGIHTTPRequestHandler)
server.serve_forever()
This works
Kevin wrote:
I just started getting in to python and for taking a look at the for
loop. I want to print out a box
of O's 10o chars long by 10 lines long this is what I came up with. Is
there a better way to do
this:
j = 'O'
for i in j*10:
print i * 100
Thanks
Kevin
Hi Kevin,
I don't know, i
Gary Ruben wrote:
I have a class factory problem. You could say that my main problem is
that I don't understand class factories.
My specific problem:
I have a class with several methods I've defined.
To this class I want to add a number of other class methods where the
method names are taken from a