Filling in the contents of a file...
Fellow Zopistas: I'm been beeting my head here for the longest time trying to figure out how to do things in Zope (DTML, Script(Python)), and find myself often resorting to guessing until I get it right... Now I'm an expirience programmer, and find this extreemely fustrating... Can someone please tell me where I should be looking to find out what you can do with Zope Objects? The latest epsiode includes how to change the contents of an Image(file) from within a python script.... Or for that matter any file.... Jerry (very fustrated) Westrick P.S. Although tips on how to do this would be very much much appreciated... Tips on how to find this stuff out would really make my day(week,month, year?)
Jerry Westrick wrote:
Can someone please tell me where I should be looking to find out what you can do with Zope Objects?
The source code.
The latest epsiode includes how to change the contents of an Image(file) from within a python script....
Read lib/python/OFS/Image.py -- Jamie Heilman http://audible.transient.net/~jamie/ "I was in love once -- a Sinclair ZX-81. People said, "No, Holly, she's not for you." She was cheap, she was stupid and she wouldn't load -- well, not for me, anyway." -Holly
Three tips: 1. If you haven't already, spend some serious time with the latest version of the Zope Book: http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition 2. Many tricky things (such as changing the contents of an image file) are done in the ZMI. Look at the ZMI as a huge demo application for what Zope can do and read the HTML source liberally... often you'll find enough to adapt or at least refine your search. 3. When you hit a brick wall, ask the list before causing yourself any injuries :-) HTH, Dylan On Sun, 2003-07-06 at 10:21, Jerry Westrick wrote:
Fellow Zopistas:
I'm been beeting my head here for the longest time trying to figure out how to do things in Zope (DTML, Script(Python)), and find myself often resorting to guessing until I get it right...
Now I'm an expirience programmer, and find this extreemely fustrating...
Can someone please tell me where I should be looking to find out what you can do with Zope Objects?
The latest epsiode includes how to change the contents of an Image(file) from within a python script....
Or for that matter any file....
Jerry (very fustrated) Westrick P.S. Although tips on how to do this would be very much much appreciated... Tips on how to find this stuff out would really make my day(week,month, year?)
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Weekend helped calm me down... I've done the book, (even bought it)... Of course don't know what version I got in print.... but look (and search) all the time with the zope windows help system... (Also very cool)... Ummm, just where is the ZMI? Jerry Westrick P.S. Thanks for the help.... On Sun, 2003-07-06 at 22:30, Dylan Reinhardt wrote:
Three tips:
1. If you haven't already, spend some serious time with the latest version of the Zope Book: http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition
2. Many tricky things (such as changing the contents of an image file) are done in the ZMI. Look at the ZMI as a huge demo application for what Zope can do and read the HTML source liberally... often you'll find enough to adapt or at least refine your search.
3. When you hit a brick wall, ask the list before causing yourself any injuries :-)
HTH,
Dylan
On Sun, 2003-07-06 at 10:21, Jerry Westrick wrote:
Fellow Zopistas:
I'm been beeting my head here for the longest time trying to figure out how to do things in Zope (DTML, Script(Python)), and find myself often resorting to guessing until I get it right...
Now I'm an expirience programmer, and find this extreemely fustrating...
Can someone please tell me where I should be looking to find out what you can do with Zope Objects?
The latest epsiode includes how to change the contents of an Image(file) from within a python script....
Or for that matter any file....
Jerry (very fustrated) Westrick P.S. Although tips on how to do this would be very much much appreciated... Tips on how to find this stuff out would really make my day(week,month, year?)
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Jerry Westrick wrote at 2003-7-6 19:21 +0200:
I'm been beeting my head here for the longest time trying to figure out how to do things in Zope (DTML, Script(Python)), and find myself often resorting to guessing until I get it right...
Now I'm an expirience programmer, and find this extreemely fustrating...
Can someone please tell me where I should be looking to find out what you can do with Zope Objects? ...
"DocFinder", maybe together with "DocFinderEverywhere", may help you. See <http://www.dieter.handshake.de/pyprojects/zope> Dieter
participants (4)
-
Dieter Maurer -
Dylan Reinhardt -
Jamie Heilman -
Jerry Westrick