⇤ ← Revision 1 as of 2008-08-10 16:39:23
115
Comment:
|
359
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
strtolower: {{{ $x=strtolower('Some String'); echo $x }}} In Python you can do: {{{ x=lower('Some String') print x }}} But remember - everything is an object, either is every string. {{{ x='Some String'.lower() print x }}} |
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, either is every string.
x='Some String'.lower() print x