Python: Difference between revisions
From DWIKI
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
*[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] | ||
=Data types= | |||
==Tuples== | |||
===Tuples methods=== | |||
=Regex= | =Regex= |
Revision as of 11:02, 4 January 2023
Links
Data types
Tuples
Tuples methods
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