Skip to content

Instantly share code, notes, and snippets.

@TheBits
Created October 26, 2011 19:45
Show Gist options
  • Save TheBits/1317571 to your computer and use it in GitHub Desktop.
Save TheBits/1317571 to your computer and use it in GitHub Desktop.
with open('style.css') as input:
with open('ie.css', 'w') as output:
for line in input:
output.write(line)
if '-moz-' in line:
output.write(line.replace('-moz-', ' -ms-'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment