Skip to content

Instantly share code, notes, and snippets.

@AnneTheAgile
Last active December 30, 2015 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AnneTheAgile/7884699 to your computer and use it in GitHub Desktop.
Save AnneTheAgile/7884699 to your computer and use it in GitHub Desktop.
# HERE-NOW type of long long String with embedded CR's;
# REF: https://github.com/wikimedia/pywikibot-core/blob/master/generate_user_files.py
from textwrap import wrap
msg = wrap("""WARNING: Your user files will be created in the directory
'%(new_base)s' you have chosen. To access these files, you will either have
to use the argument "-dir:%(new_base)s" every time....""" % locals(), width=76)
for line in msg:
print line
@AnneTheAgile
Copy link
Author

Github-Tip; Beware, I had put the name where the description is. Result was seeing name is ID of gist.
https://gist.github.com/AnneTheAgile/7884699
2013-12-09Mon.21:09:34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment