On Fri, Sep 4, 2009 at 1:49 PM, <><><><> wrote:
> On Sep 4, 4:37 pm, Maggie wrote:
>> On Sep 4, 4:37 pm, Tobiah wrote:
>>
>> > > in the terminal i get a very strange "permission denied" error that might
>> > > not have anything to do with the code. I checked permissions for the file
>> > > and th
On Sep 4, 4:37 pm, Maggie wrote:
> On Sep 4, 4:37 pm, Tobiah wrote:
>
> > > in the terminal i get a very strange "permission denied" error that might
> > > not have anything to do with the code. I checked permissions for the file
> > > and they are set to "read and write" so, again, I am really n
try it where? code or terminal?
Please try these in the terminal -- the permission denied error may be due
to your shell not being able to execute the Python script, instead of your
Python script not being able to open the data file.
On Fri, 04 Sep 2009 13:37:10 -0700, Maggie wrote:
On
On Sep 4, 4:37 pm, Tobiah wrote:
> > in the terminal i get a very strange "permission denied" error that might
> > not have anything to do with the code. I checked permissions for the file
> > and they are set to "read and write" so, again, I am really not sure what
> > going wrong.
>
> Try:
>
>
> in the terminal i get a very strange "permission denied" error that might
> not have anything to do with the code. I checked permissions for the file
> and they are set to "read and write" so, again, I am really not sure what
> going wrong.
Try:
python myfile
Or
chmod +x myf
On Sep 4, 2:52 pm, "Rami Chowdhury" wrote:
> Could you let us know what kind of error you are getting?
>
> I don't know if this is your error, but this line won't run:
>
> > readData = formisanoOpen.readLines()
>
> Since Python is case-sensitive, you would need a lower-case 'l' in
> 'readlines()'
Could you let us know what kind of error you are getting?
I don't know if this is your error, but this line won't run:
readData = formisanoOpen.readLines()
Since Python is case-sensitive, you would need a lower-case 'l' in
'readlines()' -- perhaps that would solve your problem?
On Fri, 04
Jul wrote:
> On Sep 4, 2:21 pm, Stephen Fairchild wrote:
>> Jul wrote:
>>> hello,
>>> I have a .txt file that is in this format --
>>> 12625
>>> 17000
>>> 12000
>>> 14500
>>> 17000
>>> 12000
>>> 17000
>>> 14500
>>> 14500
>>> 12000
>>> ...and so on...
>>> i need to create a python script that will
On Sep 4, 2:21 pm, Stephen Fairchild wrote:
> Jul wrote:
> > hello,
>
> > I have a .txt file that is in this format --
>
> > 12625
> > 17000
> > 12000
> > 14500
> > 17000
> > 12000
> > 17000
> > 14500
> > 14500
> > 12000
> > ...and so on...
>
> > i need to create a python script that will open thi
Jul wrote:
> hello,
>
> I have a .txt file that is in this format --
>
> 12625
> 17000
> 12000
> 14500
> 17000
> 12000
> 17000
> 14500
> 14500
> 12000
> ...and so on...
>
> i need to create a python script that will open this file and have a
> running sum until the end of file.
Untested:
with
Jul wrote:
> hello,
>
> I have a .txt file that is in this format --
>
> 12625
> 17000
> 12000
> 14500
> 17000
> 12000
> 17000
> 14500
> 14500
> 12000
> ...and so on...
>
> i need to create a python script that will open this file and have a
> running sum until the end of file.
>
> it sounds re
11 matches
Mail list logo