Source code in one file #7384
Closed
lebedkinia
started this conversation in
General
Replies: 1 comment
-
The short answer is: no NetworkX is a Python package and thus is structured in this way. It is not possible to simply dump the source code of the entire package into a single file, at least not without a lot of manual effort to "flatten" the import structure etc. If you want to use NetworkX code in your own project, you should use the standard Python pattern of importing the package (or the sub-modules/sub-packages you need). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
does anyone have the source code in one file, due to the nature of my project I can't use multiple files
Beta Was this translation helpful? Give feedback.
All reactions