Skip to content

Posts

Search and replace

A very simple and quite rudimental search and replace script with a UI. It will only search and replace contents of files and not the filenames.

Load latest Maya crash file

This simple python script looks for the latest file with .ma file extension in the path given and prompts the user whether to load it or not. Just verify that the searchDir variable is pointing to your temp dir.

Catching string from stdout with Python

Using a Python “wrapper” script you can catch the output of an executing application, which is very useful when you want to perform certain tasks depending on what is being printed to stdout by the application.