By convention, Python packages expose their version through a __version__ variable: >>> import package >>> package.__version__ 0.4.2 Ideally, the package version should be defined in one place only. Typical approaches include hardcoding it in the pa...

Markdown supported · ⌘↵ to post
No responses yet.