..just stuff really

..just stuff really

format characters (string format operator)

pythonPosted by alexander 13 Apr, 2016 01:14:24

example:

http://learnpythonthehardway.org/book/ex5.html

some explanations:

http://www.diveintopython.net/native_data_types/formatting_strings.html

https://pyformat.info/

http://www.tutorialspoint.com/python/python_strings.htm

http://www.python-course.eu/python3_formatted_output.php


also take a look at the difference between % and format()

http://stackoverflow.com/questions/5082452/python-string-formatting-vs-format