Python: Difference between revisions
From DWIKI
m (→Strings=) |
m (→Strings) |
||
Line 11: | Line 11: | ||
==Length of string== | ==Length of string== | ||
len(s) | len(s) | ||
==Lists== | |||
===List operators=== | |||
=Regular expressions== | |||
https://docs.python.org/3/library/re.html | |||
=FAQ= | =FAQ= |
Revision as of 17:30, 11 December 2022
Links
Strings
Length of string
len(s)
Lists
List operators
Regular expressions=
https://docs.python.org/3/library/re.html
FAQ
-bash: python: command not found
Try
update-alternatives --config python
update-alternatives: error: no alternatives for python
update-alternatives --install /usr/bin/python python $(which python3) 3
Leave virtualenv
deactivate