You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have multiple packages with containing very small modules (e.g. 10 lines of code).
I would like to turn a package into a module:
foo/
__init__.py
bar.py
barbar.py
becomes: foo.py containing all code of foo/{__init__.py,bar.py, barbar.py} without relatives import. All other imports of a project needs to be rewritten, from foo.bar import X becomes from foo import X.
I see there is a topackage, so it would be kind of the inverse, I guess?
The text was updated successfully, but these errors were encountered:
I have multiple packages with containing very small modules (e.g. 10 lines of code).
I would like to turn a package into a module:
becomes:
foo.py
containing all code offoo/{__init__.py,bar.py, barbar.py}
without relatives import. All other imports of a project needs to be rewritten,from foo.bar import X
becomesfrom foo import X
.I see there is a
topackage
, so it would be kind of the inverse, I guess?The text was updated successfully, but these errors were encountered: