362
Comment: minor cleanup
|
← Revision 4 as of 2008-11-15 13:59:56 ⇥
362
converted to 1.6 markup
|
No differences found! |
Comparation of simple tasks in php and python - a guide for php programmers wanting to create python applications
strtolower:
$x=strtolower('Some String'); echo $x
In Python you can do:
x = lower('Some String') print x
But remember: everything is an object, including every string.
x = 'Some String'.lower() print x