简体   繁体   中英

Is there a function or way to determine which files of a package are being used in python?

I'm currently working on a project which uses VPython and I'd like to look into the library's source code. The only problem is that I'm unsure which VPython files are being used when I use VPython in my own script. I would like to be able to see what files are being run when I import and use VPython.

The repo is https://github.com/vpython/vpython-jupyter

Also, see the files in...Lib/site-packages/vpython

Also possibly of interest is this brief description of the architecture of VPython:

https://vpython.org/contents/VPythonArchitecture.pdf

Here is a lengthy, detailed discussion of VPython architecture:

https://github.com/vpython/glowscript/blob/master/docs/GlowScriptOverview.md

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM