You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from pyonfx import *
io = Ass("1.ass")
meta, styles, lines = io.get_data()
for line in lines:
newline = line.copy()
# newline.i = lines[0].i+1
newline.text = 'wo shi ge da sha bi'
io.write_line(newline)
io.save()
The text was updated successfully, but these errors were encountered:
io = Ass("1.ass")
meta, styles, lines = io.get_data()
lines.insert(1,lines[0].copy())
lines[1].text = "I am a new line!"
io.write_line(lines[1])
print(len(lines))
io.save()```
does not work too
i got 1 line dialog as a style template,
The text was updated successfully, but these errors were encountered: