Re: File Creation Not Working In A Thread Class?

2008-05-12 Thread Duncan Booth
bc90021 <[EMAIL PROTECTED]> wrote: > On Sun, 11 May 2008 19:55:31 +, Duncan Booth wrote: > >> 7stud <[EMAIL PROTECTED]> wrote: >> >> >>>                             tempfileName = >>> "\"proctemp\\"                             + >>> self.matrix[c][0] + "_other.tx

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread 7stud
On May 11, 5:50 pm, Gary Herron <[EMAIL PROTECTED]> wrote: > bc90021 wrote: > > You are a perfect example of exactly what I was talking about, and why > > the Python community is such a poor one. > > I though you were treated quite fairly all things considered.   (You > started the personal attacks

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread Gary Herron
bc90021 wrote: You are a perfect example of exactly what I was talking about, and why the Python community is such a poor one. I though you were treated quite fairly all things considered. (You started the personal attacks, the whining about the group, the accusations of arrogance, and the

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread Gary Herron
bc90021 wrote: ...and the exact error message was? Here is a tip: if you want people to help you, then you have to help them to help you. Personally, I wouldn't respond to anymore of your questions because you seem incapable of posting the information that was requested. So far, the peop

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread 7stud
On May 11, 2:11 pm, bc90021 <[EMAIL PROTECTED]> wrote: > [CUT] > > > I have in no way assumed that you are stupid.  I have tried to help you > > formulate your problem better so that people on the list can help you. > > I believe I have done so respectfully, with the aim of introducing you > > to t

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread Ville M. Vainio
bc90021 <[EMAIL PROTECTED]> writes: > The error message was at the top of the thread (am I incapable of posting > it, or are you incapable of following a thread?), but here it is again: > > IOError: [Errno 2] no such file u'tempfileName' Typically, when you report an error message, it helps to

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread bc90021
On Sun, 11 May 2008 19:55:31 +, Duncan Booth wrote: > 7stud <[EMAIL PROTECTED]> wrote: > > >>                             tempfileName = "\"proctemp\\" >>                             + >> self.matrix[c][0] + "_other.txt\"" > > It wouldn't exactly result in either of the error messages you p

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread bc90021
[CUT] > I have in no way assumed that you are stupid. I have tried to help you > formulate your problem better so that people on the list can help you. > I believe I have done so respectfully, with the aim of introducing you > to the modus operandi of this group. I appreciate your help. However

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread 7stud
On May 11, 2:01 pm, 7stud <[EMAIL PROTECTED]> wrote: > On May 11, 1:28 pm, bc90021 <[EMAIL PROTECTED]> wrote: > > > > > > ...and the exact error message was? > > > > Here is a tip: if you want people to help you, then you have to help > > > them to help you.  Personally, I wouldn't respond to anymo

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread 7stud
On May 11, 1:28 pm, bc90021 <[EMAIL PROTECTED]> wrote: > > ...and the exact error message was? > > > Here is a tip: if you want people to help you, then you have to help > > them to help you.  Personally, I wouldn't respond to anymore of your > > questions because you seem incapable of posting the

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread Duncan Booth
7stud <[EMAIL PROTECTED]> wrote: >>                                     >                             tempfileName = "\"proctemp\\" + > self.matrix[c][0] + "_other.txt\"" It wouldn't exactly result in either of the error messages you posted, but I expect the spurious quote marks round the file

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread Duncan Booth
bc90021 <[EMAIL PROTECTED]> wrote: > The error message was at the top of the thread (am I incapable of > posting it, or are you incapable of following a thread?), but here it > is again: > > IOError: [Errno 2] no such file u'tempfileName' So which was it? At the top of the thread you said it wa

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread Arnaud Delobelle
bc90021 <[EMAIL PROTECTED]> writes: >> ...and the exact error message was? >> >> Here is a tip: if you want people to help you, then you have to help >> them to help you. Personally, I wouldn't respond to anymore of your >> questions because you seem incapable of posting the information that was

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread 7stud
bc90021 wrote: > Hi All, > > Thanks in advance for any and all help! > > I have this code: > > g = open(fileName, 'a') > > where fileName is defined before the line it's used in. It works fine > when I use it outside a thread class. > > When I put the same line in a thread class, it no longer work

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread bc90021
> ...and the exact error message was? > > Here is a tip: if you want people to help you, then you have to help > them to help you. Personally, I wouldn't respond to anymore of your > questions because you seem incapable of posting the information that was > requested. So far, the people who have

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread 7stud
On May 11, 12:42 pm, bc90021 <[EMAIL PROTECTED]> wrote: > > It's difficult to know what's wrong with the code you posted because: > > > * it is not self-contained: otherFile, fileName, pattern are names > >   which you do not define; > > > * the IOError you reported earlier can't arise as a result

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread bc90021
> It's difficult to know what's wrong with the code you posted because: > > * it is not self-contained: otherFile, fileName, pattern are names > which you do not define; > > * the IOError you reported earlier can't arise as a result of running > this code. > > * you claim it works unless you

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread Arnaud Delobelle
Arnaud Delobelle <[EMAIL PROTECTED]> writes: > bc90021 <[EMAIL PROTECTED]> writes: > >> On Sun, 11 May 2008 18:36:25 +0100, Arnaud Delobelle wrote: >> >>> bc90021 <[EMAIL PROTECTED]> writes: >>> Hi All, Thanks in advance for any and all help! I have this code: g

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread Arnaud Delobelle
bc90021 <[EMAIL PROTECTED]> writes: > On Sun, 11 May 2008 18:36:25 +0100, Arnaud Delobelle wrote: > >> bc90021 <[EMAIL PROTECTED]> writes: >> >>> Hi All, >>> >>> Thanks in advance for any and all help! >>> >>> I have this code: >>> >>> g = open(fileName, 'a') >>> >>> where fileName is defined bef

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread bc90021
On Sun, 11 May 2008 10:51:34 -0700, Gary Herron wrote: > bc90021 wrote: >> Hi All, >> >> Thanks in advance for any and all help! >> >> I have this code: >> >> g = open(fileName, 'a') >> >> > I don't believe you. I think you have something like > > g = open('fileName', 'a') > > instead

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread bc90021
On Sun, 11 May 2008 18:36:25 +0100, Arnaud Delobelle wrote: > bc90021 <[EMAIL PROTECTED]> writes: > >> Hi All, >> >> Thanks in advance for any and all help! >> >> I have this code: >> >> g = open(fileName, 'a') >> >> where fileName is defined before the line it's used in. It works fine >> when I

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread Gary Herron
bc90021 wrote: Hi All, Thanks in advance for any and all help! I have this code: g = open(fileName, 'a') I don't believe you. I think you have something like g = open('fileName', 'a') instead of (as you claim) g = open(fileName, 'a') Do you see the difference? Develop the s

Re: File Creation Not Working In A Thread Class?

2008-05-11 Thread Arnaud Delobelle
bc90021 <[EMAIL PROTECTED]> writes: > Hi All, > > Thanks in advance for any and all help! > > I have this code: > > g = open(fileName, 'a') > > where fileName is defined before the line it's used in. It works fine > when I use it outside a thread class. > > When I put the same line in a thread c

File Creation Not Working In A Thread Class?

2008-05-11 Thread bc90021
Hi All, Thanks in advance for any and all help! I have this code: g = open(fileName, 'a') where fileName is defined before the line it's used in. It works fine when I use it outside a thread class. When I put the same line in a thread class, it no longer works, and I get an error: IOError: