I cannot seem to be able to find the setting to enable line numbers for all files, but I have to always right click and enable this on per file basis.
There mu
Version 2.6 and above: PyCharm (far left menu) -> Preferences... -> Editor (bottom left section) -> General -> Appearance -> Show line numbers checkbox
Version 2.5 and below: Settings -> Editor -> General -> Appearance -> Show line numbers checkbox