why isn't it commiting

This commit is contained in:
Beppe Vanrolleghem
2018-05-22 21:58:56 +02:00
parent 02eca5f227
commit 3fd04b3ffd
619 changed files with 156345 additions and 222 deletions

16
FriendsConverter.py Normal file
View File

@@ -0,0 +1,16 @@
import sys
import json
file = sys.argv[1]
with open(file, "r") as infile:
script=infile.read().replace('\n', '\\n')
while (True):
if(script.find("[Scene:") == -1):
break
TestFromSceneOn = script[script.find("[Scene:"):]
tempEndOfScript= script[:script.find("[Scene:")]
print(tempEndOfScript)
script = TestFromSceneOn[script.find("[Scene:")+7:]
print("END OF TEST")
print(TestFromSceneOn)