This file contains 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
import subprocess as sp | |
import select | |
import sys | |
import time | |
executable = "a.out" | |
function = "call_the_wrapper_fn" | |
arguments = "" | |
gdb = sp.Popen(["gdb", executable], stdin=sp.PIPE, stdout=sp.PIPE, stderr=sp.STDOUT) |
This file contains 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
from mutagen.mp3 import MP3 | |
from mutagen.id3 import TIT2, TPE1, TALB | |
import os | |
import sys | |
for artist in sys.argv[1:]: | |
print 'artist=%s' % artist | |
for root, directories, filenames in os.walk(artist): | |
print 'Entering %s' % root | |
album = os.path.basename(root) |