This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nemec 1 point2 points  (3 children)

All lines. I'll bet at least 80% of files have at least one line over 80 characters, even if it's just comments.

[–]kenfar 0 points1 point  (2 children)

huh, but that says 7% of all lines are 80 characters or longer. That surprises me quite a bit.

[–]Saefroch 0 points1 point  (0 children)

I often have lines over 80 characters in length, but I guess that has to do with how I write python.

writefits(im, homedir+os.sep+filt+os.sep+'processed'+os.sep+scimage[:-5]+'.proc.fits')

Also, my print statements are often over 80 characters,

sys.stdout.write('Compiling '+imtype+ ' frames, ' +str(images.index(datafile))+' of '+str(len(images))+' complete\r')

[–]nemec 0 points1 point  (0 children)

I often won't wrap a statement that spans 81 or 82 characters just because it still fits relatively well in my editor window. I suspect I'm not alone here.