firecircle opened this issue on Dec 10, 2020 ยท 26 posts
Y-Phil posted Tue, 03 May 2022 at 6:59 AM
This is about the line
print ('%s renamed to %s.') % (vu, actor.Name())
the correct ways, still Python2-compatible, are:
print ('%s renamed to %s.' % (vu, actor.Name()))
or:
print ('%s renamed to %s.'.format(vu, actor.Name()))
Starting with Python3, the most efficient way is:
print (f'{vu} renamed to {actor.Name()}.')
note the "f" before the string to print, and the fact that your variables and python calls are between {....}
I find this more easy to read, as I precisely know what will appear where.
๐ซ๐ฝ๐๐
(ใฃโโกโ)ใฃ
๐ฟ Win11 on i9-13900K@5GHz, 64GB, RoG Strix B760F Gamng, Asus Tuf Gaming RTX 4070 OC Edition, 1 TB SSD, 6+4+8TB HD
๐ฟ Mac Mini M2, Sequoia 15.2, 16GB, 500GB SSD
๐ฟ Nas 10TB
๐ฟ Poser 13 and soon 14 โค๏ธ