Re: [Zope] Batch folder creation

2005-06-23 Thread John Poltorak
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

Re: [Zope] Batch folder creation

2005-06-23 Thread David H
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

Re: [Zope] Batch folder creation

2005-06-23 Thread John Poltorak
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

Re: [Zope] Batch folder creation

2005-06-22 Thread David H
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

[Zope] Batch folder creation

2005-06-22 Thread John Poltorak
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

Re: [Zope] batch processing with CMFPhotoAlbum

2005-04-22 Thread Jonathan Cyr
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

[Zope] batch processing with CMFPhotoAlbum

2005-04-21 Thread Malthe Borch
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

[Zope] batch processing problem

2001-01-20 Thread Timothy Wilson
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

[Zope] Batch.

2001-01-16 Thread Rommel Novaes Carvalho
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 __

[Zope] Batch Processing, final

2000-08-11 Thread Tom Deprez
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

[Zope] Batch processing

2000-08-11 Thread Tom Deprez
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