Please note: This wiki is currently running in test mode after an attack on January 5 2013. All passwords were reset, so you will have to use the password recovery function to get a new password. To edit wiki pages, please log in first. See the wiki attack description page for more details. If you find problems, please report them to the pydotorg-www mailing list.

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

PhpPhrasebook (last edited 2008-11-15 13:59:56 by localhost)