Re: Script can't find input file despite being in the same directory

2008-10-17 Thread Robocop
I'm kind of an idiot, i just realized the problem. Sorry for wasting your time, and thanks for the help! -- http://mail.python.org/mailman/listinfo/python-list

Re: Script can't find input file despite being in the same directory

2008-10-17 Thread Christian Heimes
Robocop wrote: I have a simple little script that reads in postscript code, appends it, then writes it to a new postscript file. Everything worked fine a month ago, but after rearranging my directory tree a bit my script fails to find the base postscript file. The line in question is: for li

Re: Script can't find input file despite being in the same directory

2008-10-17 Thread Robocop
On Oct 17, 10:27 am, "Chris Rebert" <[EMAIL PROTECTED]> wrote: > On Fri, Oct 17, 2008 at 10:07 AM, Robocop <[EMAIL PROTECTED]> wrote: > > I have a simple little script that reads in postscript code, appends > > it, then writes it to a new postscript file.  Everything worked fine a > > month ago, bu

Re: Script can't find input file despite being in the same directory

2008-10-17 Thread Robocop
On Oct 17, 10:27 am, "Chris Rebert" <[EMAIL PROTECTED]> wrote: > On Fri, Oct 17, 2008 at 10:07 AM, Robocop <[EMAIL PROTECTED]> wrote: > > I have a simple little script that reads in postscript code, appends > > it, then writes it to a new postscript file.  Everything worked fine a > > month ago, bu

Re: Script can't find input file despite being in the same directory

2008-10-17 Thread Philip Semanchuk
On Oct 17, 2008, at 1:07 PM, Robocop wrote: I have a simple little script that reads in postscript code, appends it, then writes it to a new postscript file. Everything worked fine a month ago, but after rearranging my directory tree a bit my script fails to find the base postscript file. The

Re: Script can't find input file despite being in the same directory

2008-10-17 Thread Chris Rebert
On Fri, Oct 17, 2008 at 10:07 AM, Robocop <[EMAIL PROTECTED]> wrote: > I have a simple little script that reads in postscript code, appends > it, then writes it to a new postscript file. Everything worked fine a > month ago, but after rearranging my directory tree a bit my script > fails to find t

Script can't find input file despite being in the same directory

2008-10-17 Thread Robocop
I have a simple little script that reads in postscript code, appends it, then writes it to a new postscript file. Everything worked fine a month ago, but after rearranging my directory tree a bit my script fails to find the base postscript file. The line in question is: for line in fileinput.i