Re: [Modeling-users] Multi-line comments in pymodels
Status: Abandoned
Brought to you by:
sbigaret
|
From: Yannick G. <yan...@sa...> - 2003-11-10 15:32:11
|
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On November 10, 2003 10:00 am, Mario Ruggier wrote:
> ooops, sorry to bother everyone with this message -- I should
> have better done to have a siesta instead! (Commenting list items
> using ''' is invalid code, and list items that look like python blocks
> are still list items ;-\ )
you just need to assign to a variable and it pass :=20
out =3D '''
if toTired:
sleep(random())
'''
=2D --=20
Yannick Gingras
Byte Gardener, Savoir-faire Linux inc.
http://www.savoirfairelinux.com/
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/r694rhy5Fqn/MRARAgkeAJkB8uXg6tMmG7nOE4MaqzdKX1mzeQCdHkqt
ESXgo5ucicE/PSxhhX8SNa0=3D
=3DK8je
=2D----END PGP SIGNATURE-----
|