Python: Difference between revisions
From DWIKI
m (→Strings) |
m (→Links) |
||
Line 3: | Line 3: | ||
*[http://www.python.org/ Homepage] | *[http://www.python.org/ Homepage] | ||
*[https://www.w3schools.com/python/ w3schools] | |||
*[http://www.rushessay.com/custom_essay.php essay] | *[http://www.rushessay.com/custom_essay.php essay] | ||
*[https://www.tutorialspoint.com/python https://www.tutorialspoint.com/python] | *[https://www.tutorialspoint.com/python https://www.tutorialspoint.com/python] | ||
*[https://wiki.python.org/moin/BeginnersGuide/Programmers Beginners guide] | *[https://wiki.python.org/moin/BeginnersGuide/Programmers Beginners guide] | ||
=Strings= | =Strings= |
Revision as of 14:59, 12 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