10 Apr
2002
10 Apr
'02
3:39 a.m.
Hello, First of all I am new to Python and Zope coming from Java/PHP. I am creating a simple Python script that displays a random image (image1, image2, image3....). All I want to do do is generate a random number which is concatenated to the end of the context attribute similar to this example in PHP: $randomNumber = ***some random number*** return context.{'image'.$randomNumber} Is this possible (and easy) in Python? Thanks, Michael LaPera