jansenicus / vtt-to-srt.py

python script to convert all vtt files in a directory and all of its subdirectories to srt subtitle format
61 stars 33 forks source link

Issue in Python 3 #1

Closed CannonballSkippy closed 5 years ago

CannonballSkippy commented 7 years ago

I get an error when I try to convert this file to SRT:

https://gist.github.com/anonymous/26961e0be61f30d477c2307d101e4633

It seems this does not work in Python 3 😕 I would vermy much like to use it!

C:\Users\username\Desktop\test>python S:\OneDrive\scripts\python\vtt-to-srt.py\vtt-to-srt.py 00001.vtt new.srt
  File "S:\OneDrive\scripts\python\vtt-to-srt.py\vtt-to-srt.py", line 56
    print "file created: " + strNamaFile + "\n"
                         ^
SyntaxError: Missing parentheses in call to 'print'

C:\Users\username\Desktop\test>
heniotierra commented 5 years ago

Python 3 version can be found at https://github.com/0um/vtt-to-srt.py