Skip to content

Instantly share code, notes, and snippets.

@u8sand
Created February 21, 2016 01:31
Show Gist options
  • Save u8sand/24542ae03e0eb8040444 to your computer and use it in GitHub Desktop.
Save u8sand/24542ae03e0eb8040444 to your computer and use it in GitHub Desktop.
Multisim Generated `.lvm` file conversion to `.csv`
#!/bin/python
import sys
for i in sys.stdin:
if i.find('Comment') != -1:
print(','.join(i.split('\t')), end='')
break
for l in sys.stdin:
print(','.join(l.split('\t')), end='')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment