Is there a difference in the efficiency of a function as a "Script
(Python)" Zope object versus an External Method? The use case is
that I need to run a fairly simple function (an implementation of the
Levenshtein distance algorithm) over a result set in the range of
30-40k records. Are t
Jonathan Bowlas wrote at 2006-6-15 14:05 +0100:
> ...
>Is it possible to render DTML methods inside a slot of a ZPT? If so, how
>would I achieve this?
--
Dieter
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
*
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jonathan Bowlas wrote:
> Hi All,
>
>
>
> Is it possible to render DTML methods inside a slot of a ZPT? If so, how
> would I achieve this?
> My DTML's render forms to submit/edit data in a MySQL database something
> which cannot be done as e
Jonathan wrote:
> Try something like:
fileObj = context.restrictedTraverse('/folderA/folderB/printsbestand.pdf')
fileData = context.printsbestand()
fileObj.update_data(fileData, content_type='application/pdf',
size=len(fileData) )
Warning: untested!
Look in the ZopeBook for more info.
hth
Hi All,
Is it possible to render DTML methods inside a slot of a
ZPT? If so, how would I achieve this?
My DTML’s render forms to submit/edit data in a MySQL database
something which cannot be done as easily in ZPT, I believe. Correct me if I’m
wrong.
Jon
_
Hi Martijn
I've added your script to
http://zopewiki.org/DebuggingWithIPythonAndOtherTips
I hope that's OK.
Regards,
--
jean
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Re
Hi thomas
> is it possible to use zopectl debug with ipython ?
http://zopewiki.org/DebuggingWithIPythonAndOtherTips
--
jean
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Relat
Jeremiah Foster wrote:
/usr/local/lib/python2.4/site-packages/MySQLdb/sets.py*
And you still think you're using python2.3?
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Zope maillist
Chris McDonough wrote:
It's just not possible to upgrade components of every configuration.
Sometimes you just need to live with some specific configuration for a
while. It's not really a bad thing to have a known-working
configuration, even if it's a little old.
+sys.maxint
If we turned t
Jonathan wrote:
/usr/local/www/zopeserver/bin/runzope -X debug-mode=on
2006-06-14 16:14:53 INFO ZServer HTTP server started at Wed Jun 14
16:14:53 2006
Hostname: 0.0.0.0
Port: 8080
The hostname looked a little strange (localhost is usually 127.0.0.1)
Not in later versions of Zope
10 matches
Mail list logo