Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| python_modules_and_packages [2017/10/19 18:59] – [Example] mgupton | python_modules_and_packages [2017/10/25 12:33] (current) – [Example] mgupton | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| Directory named //foo// contains empty file named // | Directory named //foo// contains empty file named // | ||
| + | |||
| + | General scheme | ||
| + | < | ||
| + | from < | ||
| + | </ | ||
| + | |||
| + | The // | ||
| + | |||
| + | < | ||
| + | from < | ||
| + | </ | ||
| + | |||
| + | Which would allow the module to be imported into other modules with the following import statement that imports directly from the package and not the module. | ||
| + | |||
| + | < | ||
| + | from < | ||
| + | </ | ||
| + | |||