Ok that was simple change. Dont know why but there was a small error
preventing that from working before. But the problem is with the creating
findsurrounding function
On Tue, Apr 17, 2012 at 3:14 PM, Alan Gauld wrote:
> On 17/04/12 19:23, leo degon wrote:
>
>> Ok so I've done a bit of work on th
On 17/04/12 19:23, leo degon wrote:
Ok so I've done a bit of work on the program and rewrote it. I tried to
take everyones advice. I've used more functions, I've made it so that it
is a list of lists each containing an integer instead of another list
with a single entry.
It still looks too comp
Ok so I've done a bit of work on the program and rewrote it. I tried to
take everyones advice. I've used more functions, I've made it so that it is
a list of lists each containing an integer instead of another list with a
single entry.
Im am having problems thinking of how to simply and elegantly
> First, generate a file named "data.txt" as follows:
>
> -- 8< --
> for i in range(1,100):
>print '.' * 80
> -- 8< --
>
> After that, save the following snippet as "test.py" in the directory
> containing "data.txt":
>
> -- 8< -
Hi!
First, generate a file named "data.txt" as follows:
-- 8< --
for i in range(1,100):
print '.' * 80
-- 8< --
After that, save the following snippet as "test.py" in the directory
containing "data.txt":
-- 8< -