psilva at ruido-visual.pt
Mon Feb 14 13:05:57 CET 2000
I have some External Method with this code:
lst = os.listdir("/var/spool/news/articles/obj") %(obj)
x = len(lst)
In my dtml Method, Zope, I call this function like this:
Then this would call the function in the External Method and list the
directories in var/spool/news/articles/products.
Is this like this?
I already tryed to execute this and it gave me and error, Key error.
I've saw it already, but I can't figure where is the error.
Can anyone help me?
Please, send your answers to: psilva at ruido-visual.pt
More information about the Python-list