Python: Difference between revisions
From DWIKI
m (→Links) |
mNo edit summary |
||
Line 8: | Line 8: | ||
*[https://wiki.python.org/moin/BeginnersGuide/Programmers Beginners guide] | *[https://wiki.python.org/moin/BeginnersGuide/Programmers Beginners guide] | ||
=Regex= | |||
*[https://docs.python.org/3/howto/regex.html Python Regex] | |||
=Strings= | =Strings= | ||
==Length of string== | ==Length of string== |
Revision as of 19:22, 12 December 2022
Links
Regex
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