Useful Python snippets

Miscellaneous Python code snippets which I have found useful. Strings Split a string into two variables: # Limits to one split firstName, lastName = myString.split(' ', 1)

Last updated: 2022-03-18 by JRO
Estimated read time: 1 min