71 | | Import only one module per line: |
72 | | import sascalc |
73 | | import sasmodels |
74 | | not |
75 | | import sasmodels, sascalc |
76 | | It is OK to import multiple classes and/or methods from the same module on the same line: |
77 | | from sasmodels import barbell, cylinder |
78 | | Avoid importing * from any module. This is a typically a waste of time and memory. |
79 | | |
80 | | Imports should be grouped in the following order: |
| 71 | * Import only one module per line: |
| 72 | import sascalc |
| 73 | import sasmodels |
| 74 | not |
| 75 | import sasmodels, sascalc |
| 76 | * It is OK to import multiple classes and/or methods from the same module on the same line: |
| 77 | from sasmodels import barbell, cylinder |
| 78 | * Avoid importing * from any module. This is a typically a waste of time and memory. |
| 79 | |
| 80 | * Imports should be grouped in the following order: |