Re: [Tutor] File not found error, but it is in the folder!

2013-04-10 Thread eryksun
On Wed, Apr 10, 2013 at 12:22 PM, Dave Angel wrote: > My preference is to use absolute directories for every reference, in which > case you'd use something like > ...open(os.path.join(directory, i), ... +1 > With of course a better name than 'i', which is traditionally an integer. > (since 1

Re: [Tutor] File not found error, but it is in the folder!

2013-04-10 Thread Dave Angel
On 04/10/2013 10:44 AM, Woody 544 wrote: I have a script that worked before I moved it to another folder. I cannot understand why I am getting a 'No such file or directory' error, when the file is in the folder. Any clues would be much appreciated. Thanks! MJ Here is a copy and paste of the

Re: [Tutor] File not found error, but it is in the folder!

2013-04-10 Thread Mark Lawrence
On 10/04/2013 15:44, Woody 544 wrote: I have a script that worked before I moved it to another folder. I cannot understand why I am getting a 'No such file or directory' error, when the file is in the folder. Any clues would be much appreciated. Thanks! MJ Here is a copy and paste of the scr

[Tutor] File not found error, but it is in the folder!

2013-04-10 Thread Woody 544
I have a script that worked before I moved it to another folder. I cannot understand why I am getting a 'No such file or directory' error, when the file is in the folder. Any clues would be much appreciated. Thanks! MJ Here is a copy and paste of the script up to the error, output/error and a