Skip to content

Instantly share code, notes, and snippets.

@jamespaultg
Last active April 14, 2020 15:39
Show Gist options
  • Save jamespaultg/00256960becdc8146128deee628f31a9 to your computer and use it in GitHub Desktop.
Save jamespaultg/00256960becdc8146128deee628f31a9 to your computer and use it in GitHub Desktop.
formatted print in python
# https://docs.python.org/3/tutorial/inputoutput.html
#https://www.python-course.eu/python3_formatted_output.php
print(f'section {file_names[i]:70} has length {len(section_text):10d}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment