Skip to content

Instantly share code, notes, and snippets.

@u8sand
Created April 4, 2016 16:01
Show Gist options
  • Save u8sand/c6b261cc2c13578dd5e6f3880aab2173 to your computer and use it in GitHub Desktop.
Save u8sand/c6b261cc2c13578dd5e6f3880aab2173 to your computer and use it in GitHub Desktop.
Simple conversion from Multisim Oscilloscope output file (scp) to csv
#!/bin/python
import sys
for i in sys.stdin:
if i.find('--------------------------------------------') != -1:
break
for l in sys.stdin:
print(','.join(l.split()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment