Created
April 4, 2016 16:01
-
-
Save u8sand/c6b261cc2c13578dd5e6f3880aab2173 to your computer and use it in GitHub Desktop.
Simple conversion from Multisim Oscilloscope output file (scp) to csv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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