| [ Web Proxy ] |
| Viewing: https://wiki.python.org/moin/../python/platforms/../../python/archive/lwickjr/../PhpPhrasebook.html | [Back] [Original] |
Legacy Wiki Page
This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.
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
2026, Python Software Foundation
Made with Sphinx and Shibuya theme.
| Web Proxy Viewer | New URL | Original Page |