<br><br><div class="gmail_quote">On Fri, Feb 3, 2012 at 2:32 PM, Raymond Wagner <span dir="ltr"><<a href="mailto:raymond@wagnerrp.com">raymond@wagnerrp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 2/3/2012 15:18, Doug Lytle wrote:<br>
> David Crawford wrote:<br>
>> if len(sys.argv) != 3:<br>
> From someone with absolutely no Python experience, the line !=<br>
> typically means 'not equal to'.<br>
><br>
> My guess is that it's looking for 3 command line options.<br>
<br>
</div>Specifically, those three command line arguments _should_ be<br>
'/home/dave/uksub2srt/renamesrt.py', '<chanid>', and '<starttime>'.<br>
However, he keeps manually running the python interpreter, rather than<br>
letting the hashbang at the top of the script do its job, resulting in<br>
the four arguments: 'python', '/home/dave/uksub2srt/renamesrt.py',<br>
<div class="im HOEnZb">'<chanid>', and '<starttime>'.<br>
</div><div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>Raymond: I must say I am real impressed with your patience in that you are actually still following this thread. :-)</div></div>