Hi David,
I'm used to using the term 'file'. I guess it isn't appropriate in this
case since I'm not actually handling a file but a Zope File object. I'm
not sure where to look to see how Python handles this...
John
On Thu, Jun 23, 2005 at 04:30:07PM -0700, David H wrote:
> John,
>
> Seems
John,
Seems like external scripts and dictionaries are a theme today. You
need to check python manuals for file handling. Its a simple
implementation. Then you would parse out names and title and put them
in a dictionary and return.
then in replace range(1...10) as seen in earlier messages
Thanks David,
That works fine although it is a little crude. What I'd like to be able to
do is create folders with names and titles derived from an external File
where each line contains the name and title, separated by a comma.
Guess I need to find out how to get python to read lines from a Z
John Poltorak wrote:
Is there any way to create folders in batch?
I need to create around 50 but don't fancy doing this manually.
John,
Put this in a python script and test.
for n in range(10):
container.manage_addFolder(id= str(n))
David
Is there any way to create folders in batch?
I need to create around 50 but don't fancy doing this manually.
--
John
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related
I think the Silva product has that
feature, if I remember correctly... perhaps there's a clue there.
-Jon
Malthe Borch wrote:
Hello list, ---
In the sake of usability, I'd like to offer my users the ability to upload a
compressed archive (i.e. zip og tarball) of photos, so that uploading
Hello list, ---
In the sake of usability, I'd like to offer my users the ability to upload a
compressed archive (i.e. zip og tarball) of photos, so that uploading a roll of
film isn't a days work, but rather two or three clicks.
Obviously, there still would be a need to do a group-rename afterwa
Hi everyone,
I was trying to throw together a page with some pictures of my brand-new
nephew for his parents to show to relatives. What should have been a
relatively simple iteration through a folder full of images has
turned out to be headache inducing. I'm sure that there's something I'm just
Hi everybody,
I am studying Zope and I saw a batch exemple on the zopebook but I
don't know why it does't work properly. I would be glad if any of you could
send me a batch exemple to see why the one I saw in the book is not working.
Thanks in advance,
Rommel Novaes Carvalho
__
Pfew, I managed to implement the thing I wanted. However I'm not satisfied.
There must be an easier solution. If somebody knows which, then please let
me know! Thanks. Here is the code I use to display something like in a
search result :
Previous 1 2 3 4 5 6 Next
Search Result : m
Hi,
few q'ns concerning batch processing:
1. I want the user to be able to choose a batch-page. So, when a query is
done, I want to show something like :
previous page 1 - 2 - 3 - 4 - 5 next page.
The following code works partly: ie. the one thing missing is that it
doesn't shows the current
11 matches
Mail list logo