[Zope] Why Doesn't This Python Expr. Work?

Jo Meder jo@meder.de
Fri, 3 Jan 2003 17:24:33 +0100


Am 03.01.2003, 15:29 Uhr
	schröb beno <zope@thewebsons.com>:

> If I type this at the Python command prompt, I get the following:
[...]
> Yet, if I call it from a script, it works just fine for a string similar 
> to "x" but it adds an extra "_frame" for a string similar to "x_frame". 

A typo in your script? Works as expected here. One observation: you
check for "frame" and append "_frame", if it's missing. 

	Jo.


-- 
Internetmanufaktur Jo Meder ---------------------- Berlin, Germany
http://www.meder.de/ ------------------- fon: ++49-30-417 17 63 33
Kollwitzstr. 75 ------------------------ fax: ++49-30-417 17 63 45
10435 Berlin --------------------------- mob: ++49-170- 2 98 89 97
Public GnuPG-Key ---------- http://www.meder.de/keys/jo-pubkey.txt