[Tutor] Newbie Trouble Processing SRT Strings In Text File

2014-10-31 Thread Matt Varner
TL:DR - Skip to "My Script: "subtrans.py" Optional Links to (perhaps) Helpful Images: 1. The SRT download button: http://i70.photobucket.com/albums/i82/RavingNoah/Python%20Help/tutor1_zps080f20f7.png 2. A visual comparison of my current problem (see 'Desire Versus Reality' below): http://i70.ph

Re: [Tutor] Newbie Trouble Processing SRT Strings In Text

2014-11-01 Thread Matt Varner
Alan G wrote: "This is a bad idea. Instead, write your strings directly to o o.write(s) Print adds newlines automatically(unless you explicitly suppress them). But printing to a file is messy compared to writing directly to the file. (And also means you cant print debug messages while developing