On Fri 06 Jul 2012, Hongwen Qiu wrote:
> >def count(filename, opening, closing):
> > print opening, closing
> > f = open(sys.argv[1], 'r')
> Shouldn't this line be
> f = open(filename, 'r')
> otherwise the 'filename' parameter will not be used
Oops, you're quite correct. Of cours
On 07/06/2012 03:38 PM, Pontus Lurcock wrote:
brace-lint.py
#!/usr/bin/python
import sys
'''Count opening and closing braces in a file.'''
def count(filename, opening, closing):
print opening, closing
f = open(sys.argv[1], 'r')
Shouldn't this line be
f = open(filename, 'r
On Thu 05 Jul 2012, Gilbert Houtekamer wrote:
> I sometimes find myself looking for misplaced and missing brackets for a long
> time, as context may given errors about a completely different location.
>
> For example this one took me a while
>\goto{\url[localhost20381}[url(localhost20381)]
>
On 5-7-2012 20:40, Gilbert Houtekamer wrote:
Hi,
I sometimes find myself looking for misplaced and missing brackets for a long
time, as context may given errors about a completely different location.
For example this one took me a while
\goto{\url[localhost20381}[url(localhost20381)]
(mis
2012/7/5 Gilbert Houtekamer :
> Hi,
>
> I sometimes find myself looking for misplaced and missing brackets for a long
> time, as context may given errors about a completely different location.
>
> For example this one took me a while
>\goto{\url[localhost20381}[url(localhost20381)]
>
> (missin
Hi,
I sometimes find myself looking for misplaced and missing brackets for a long
time, as context may given errors about a completely different location.
For example this one took me a while
\goto{\url[localhost20381}[url(localhost20381)]
(missing ] after this localhost20381).
Is there a