Python: Difference between revisions
From DWIKI
mNo edit summary |
|||
Line 7: | Line 7: | ||
*[https://wiki.python.org/moin/BeginnersGuide/Programmers Beginners guide] | *[https://wiki.python.org/moin/BeginnersGuide/Programmers Beginners guide] | ||
=Strings== | |||
==Length of string== | |||
len(s) | |||
=FAQ= | =FAQ= |
Revision as of 22:00, 10 December 2022
Links
Strings=
Length of string
len(s)
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