Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- doit()
- ---------------------------------------------------------------------------
- WindowsError Traceback (most recent call last)
- <ipython-input-5-e145d4b943d3> in <module>()
- ----> 1 doit()
- <ipython-input-4-c0e1f54adbd6> in doit()
- 7 # g.es(r"d:\Dropbox\MY LEO FILES\LEO FILES\I_Programming\FILES\SCRIPTS\balabolka_console\0WavOut.wav")
- 8 #os.startfile(os.path.join(c.openDirectory,r"FILES\SCRIPTS\balabolka_console")+r'\0WavOut.wav')
- ----> 9 wav.export(r"d:\Dropbox\MY LEO FILES\LEO FILES\I_Programming\FILES\SCRIPTS\balabolka_console\5WavOut.mp3",format="mp3")
- 10
- c:\python27\lib\site-packages\pydub-0.8.3-py2.7.egg\pydub\audio_segment.pyc in export(self, out_f, format, codec, bitrate, parameters, tags, id3v2_version)
- 360 subprocess.call(convertion_command,
- 361 # make converter shut up
- --> 362 stderr=open(os.devnull)
- 363 )
- 364
- c:\python27\lib\subprocess.pyc in call(*popenargs, **kwargs)
- 522 retcode = call(["ls", "-l"])
- 523 """
- --> 524 return Popen(*popenargs, **kwargs).wait()
- 525
- 526
- c:\python27\lib\subprocess.pyc in __init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags)
- 709 p2cread, p2cwrite,
- 710 c2pread, c2pwrite,
- --> 711 errread, errwrite)
- 712 except Exception:
- 713 # Preserve original exception in case os.close raises.
- c:\python27\lib\subprocess.pyc in _execute_child(self, args, executable, preexec_fn, close_fds, cwd, env, universal_newlines, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite)
- 946 env,
- 947 cwd,
- --> 948 startupinfo)
- 949 except pywintypes.error, e:
- 950 # Translate pywintypes.error to WindowsError, which is
- WindowsError: [Error 2] The system cannot find the file specified
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement