The downside of SGMLParser is that I have to override
all parser functions to actually leave everything intact instead of
doing nothing and override characters(data) to print the altered data.
Thanks in advance!
--
Thanos Tsouanas .: My Music: http://www.thanostsouanas.com/
http://thanos.sian
x27;s objects...
Any idea why? (Getting attribute errors, it seems that these
"attributoids" are not listed in dir(obj), so i have to use my ugly
dictobj class.. :(
--
Thanos Tsouanas .: My Music: http://www.thanostsouanas.com/
http://thanos.sians.org/ .: Sians Music:
time cgi's) but one *BAD* solution
is that you can open a local connection to your server asking for the
.php file through the psp file which should do the extra functionality,
or vice versa.
I _REALLY_ don't like that though...
--
Thanos Tsouanas .: My Music: http://www.thanostso
Hello!
Is there a way to get the --options with which python was configured on
a system?
Thanks in advance.
--
Thanos Tsouanas .: My Music: http://www.thanostsouanas.com/
http://thanos.sians.org/ .: Sians Music: http://www.sians.org/
--
http://mail.python.org/mailman/listinfo/python
this is the problem, (I never said anything about _assigning_
new keys in foo), and the line following it is my question ;)
Thanks again!
--
Thanos Tsouanas .: My Music: http://www.thanostsouanas.com/
http://thanos.sians.org/ .: Sians Music: http://www.sians.org/
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, Jul 24, 2005 at 02:01:30PM +0200, Bruno Desthuilliers wrote:
> Thanos Tsouanas a écrit :
> > On Sun, Jul 24, 2005 at 01:43:43PM +1000, Steven D'Aprano wrote:
> >
> > Because *obviously* I don't know of these indexing and attribute
> > grabbing machine
ns..
HTH
--
Thanos Tsouanas .: My Music: http://www.thanostsouanas.com/
http://thanos.sians.org/ .: Sians Music: http://www.sians.org/
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, Jul 24, 2005 at 12:51:17PM +0300, Thanos Tsouanas wrote:
> On Sun, Jul 24, 2005 at 02:43:44AM -0700, Harlin Seritt wrote:
> > I have a remote linux server where I can only access it via ssh. I have
> > a script that I need to have run all the time. I run like so:
> >
t the script died when I
> logged off. How do I make sure it stays running?
>
> thanks,
This hasn't got to do with python.
It's a unix/linux question.
Check at(1):
man at
--
Thanos Tsouanas .: My Music: http://www.thanostsouanas.com/
http://thanos.sians.org/ .: Si
On Sat, Jul 23, 2005 at 06:59:43PM -0600, Steven Bethard wrote:
> Thanos Tsouanas wrote:
> > I would like to have a quick way to create dicts from object, so that a
> > call to foo['bar'] would return obj.bar.
> >
> > The following works, but I would prefer to
On Sun, Jul 24, 2005 at 01:43:43PM +1000, Steven D'Aprano wrote:
> On Sun, 24 Jul 2005 02:09:54 +0300, Thanos Tsouanas wrote:
> >
> > print foo %do
> >
> > where do is a dictobj object...
>
> Are you telling me that the ONLY thing you use dictobj objects
On Sat, Jul 23, 2005 at 11:22:21PM +1000, Steven D'Aprano wrote:
> On Sat, 23 Jul 2005 11:48:27 +0300, Thanos Tsouanas wrote:
> > Hello.
> >
> > I would like to have a quick way to create dicts from object, so that a
> > call to foo['bar'] would return ob
On Sat, Jul 23, 2005 at 11:30:19AM +0200, Bruno Desthuilliers wrote:
> Thanos Tsouanas a écrit :
> > class dictobj(dict):
> > """
> > class dictobj(dict):
> > A dictionary d with an object attached to it,
> > which treats d['foo&
On Sat, Jul 23, 2005 at 12:06:57PM +0200, Paolino wrote:
> use getattr(self.obj,key) possibly, as __getattribute__ gets total
> control on attribute access
Thanks, but what do you mean by 'total control'?
--
Thanos Tsouanas .: My Music: http://www.thanosts
lass dictobj(dict):
A dictionary d with an object attached to it,
which treats d['foo'] as d.obj.foo.
"""
def __init__(self, obj):
self.obj = obj
def __getitem__(self, key):
return self.obj.__getattribute__(key)
--
Thanos Tsouanas
On Tue, Jul 19, 2005 at 07:00:10PM +0200, Gerhard Haering wrote:
> On Tue, Jul 19, 2005 at 07:56:20PM +0300, Thanos Tsouanas wrote:
> > Hello.
> >
> > (How) can I have a class property d, such that d['foo'] = 'bar' will run
> > a certain fun
Hello.
(How) can I have a class property d, such that d['foo'] = 'bar' will run
a certain function of the class with 'foo' and 'bar' as it's arguments?
Thanks in advance.
--
Thanos Tsouanas .: My Music: http://www.thanostsouanas.com/
17 matches
Mail list logo