SphereCommunity
Python Script that can be usefull. - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: General Discussion (/Forum-General-Discussion)
+--- Forum: Sphere Tools (/Forum-Sphere-Tools)
+--- Thread: Python Script that can be usefull. (/Thread-Python-Script-that-can-be-usefull)



Python Script that can be usefull. - rastrero - 12-20-2016 11:47 PM

Well. Im starting with python to do some tools I need for fast animation creation.
I´ll share this little scripts.
Mostly of this script will be posted focused for Anim edition or "surrounders" and safe as much time as we can.

What you need? Python 3 (or 2) and Thonny. I recommend to use thonny for playing the script, is the way I will ever use until I changed it. Tongue


Automatic FileName Changer:



RE: Python Script that can be usefull. - Kanibal - 12-21-2016 12:20 AM

Windows cmd/bat
Code:
setlocal enabledelayedexpansion
for %%F in (anim*) do (set "FN=%%F" & set "FN=!FN:~12!" & ren "%%F" "!FN!")



RE: Python Script that can be usefull. - rastrero - 12-21-2016 01:56 AM

nice thing to know.