tags:

views:

107

answers:

1

Hi.

I am interested in knowing what is the Python convention for new lines between the program? For example, consider this:

import os

def func1():

def func2():

What should be the ideal new line separation between:

  1. the import modules and the functions?
  2. the functions themselves?

I have read PEP8, but I wanted to confirm the above two points.

A: 
  1. two blank lines
  2. two blank lines
Bryan Oakley
Ok. Thanks. I just wanted to confirm.
A A