Fix copy-friendliness of tutorial example (GH-93424)

This commit is contained in:
Chenwei Xiao 2022-07-23 04:11:48 +08:00 committed by GitHub
parent e402b26b7f
commit 34d11f1b0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,6 +108,7 @@ placeholders such as the current date, image sequence number, or file format::
>>> photofiles = ['img_1074.jpg', 'img_1076.jpg', 'img_1077.jpg']
>>> class BatchRename(Template):
... delimiter = '%'
...
>>> fmt = input('Enter rename style (%d-date %n-seqnum %f-format): ')
Enter rename style (%d-date %n-seqnum %f-format): Ashley_%n%f