Python (category archive)

bkgset updated, so it’s better than ever

I’ve updated bkgset, yay. It is now better at handling different kinds of images, including ones that use transparency. The readme file is more useful. Most importantly, it also now able to resize the images to fit the resolution properly–unlike the Windows ’stretch’ option, which disregards the aspect ratio and therefore often distorts the image. This is a very useful feature (for me, at least) that I’ve been meaning to add for a while.

I imagine this wouldn’t work in Windows Vista; if you’ve got Vista, give bkgset a try (making sure you keep the windowsxp variable set to True) and let me know what happens. Also, if you happen to have a pre-XP version of Windows, it’d be nice to get some feedback on whether bkgset still works on it. All that said, I think I’m the only person who uses bkgset. Let me know if you do.

Categories: Programming » Python and Projects » Applications » bkgset
bkgset is a tool for randomly setting Windows wallpapers.

Updated bkgset — fixed issue with loading .bmps

Just smoothed some stuff out. Also, it seems like bkgset will /not/ work on versions of Windows prior to XP. I’ll try to find and put that feature back in.

Categories: Programming » Python and Projects » Applications » bkgset
bkgset is a tool for randomly setting Windows wallpapers.

New Python, v2.5

Python 2.5 came out last week. Plenty of nice stuff, including improved performance, upgrades, and new language features. For me, the best things are

Categories: Things I did not make » Applications and Programming » Python

New tool: brename

brename is a tool for renaming batches of files based on their existing filenames. For example, you could turn something like “01. Track Name.mp3″ into “Artist - 01 - Track Name.mp3″. Tested on XP, should work on other versions of Windows, and will probably also work on other operating systems.

NB: It can be fiddly with slashes, so it’s probably best to use forward slashes wherever possible.

Categories: Programming » Python and Projects » Applications » brename
brename is a tool for batch renaming.

opflist: a tool for performing file operations based on a text list

Yes, opflist. It’s a tool for performing file operations based on a text list. Basically, you have a text file which contains a list of file paths/names. Depending on the parameters, opflist will perform a file operation on a destination directory, based on this list of filenames. For example, it can automatically copy all the files listed into the destination directory.

opflist has been tested on Windows XP. It should work on other versions of Windows, and will probably also work on most other operating systems. Python will not copy resource forks and other metadata for Mac OS, so keep that in mind.

Categories: Programming » Python and Projects » Applications » opflist
opflist is a tool for performing file operations based on a text list.

Even more bkgset.

Added an extra layer of error handling, possibly some other stuff.

Categories: Programming » Python and Projects » Applications » bkgset
bkgset is a tool for randomly setting Windows wallpapers.

New version of bkgset - minor bugfix

File extensions to match are no longer case-sensitive.

Categories: Programming » Python and Projects » Applications » bkgset
bkgset is a tool for randomly setting Windows wallpapers.

bkgset tweaks

Gave it a proper readme, cleaned up the code, added an option for better Display properties behaviour on Windows XP.

Categories: Programming » Python and Projects » Applications » bkgset
bkgset is a tool for randomly setting Windows wallpapers.