This is a python script I wrote when marking computer science assignments. It removes all the package declarations in all files in a directory (including subdirectories) in order to be able to edit and recompile code from the command line easier.