using python

"josh jordan" <[email protected]> Mon, 15 May 2006 12:00:06 -0400
Newsgroups gmane.comp.games.mud.client.lyntin
Message-ID <[email protected]>
------=_Part_69975_10419830.1147708806956
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

How do I get python statements to evaluate?  I use a lot of python vars but
found I cant make a for or if statement because I am limited to 1 line.  I
then tried to use the #if statement like this:

#if {#@ 4 =3D=3D 4} {#showme hi}

But this is invalid even though by itself #@ 4 =3D=3D 4 evalutates to true.

Is it possible to use python variables in conditional statements?

------=_Part_69975_10419830.1147708806956
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

How do I get python statements to evaluate?&nbsp; I use a lot of python var=
s but found I cant make a for or if statement because I am limited to 1 lin=
e.&nbsp; I then tried to use the #if statement like this:<br><br>#if {#@ 4 =
=3D=3D 4} {#showme hi}
<br><br>But this is invalid even though by itself #@ 4 =3D=3D 4 evalutates =
to true.<br><br>Is it possible to use python variables in conditional state=
ments?<br>

------=_Part_69975_10419830.1147708806956--


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642