Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow getting import path #2

Open
sametmax opened this issue Feb 11, 2016 · 2 comments
Open

Allow getting import path #2

sametmax opened this issue Feb 11, 2016 · 2 comments

Comments

@sametmax
Copy link

A lot of time you want to know where is a specific definition so you can import it. Providing an option to print the import path would be fantastic:

pyq3 "#init_cmd" myvirtualenv -i # -i print import path
[foo.bar.init_cmd] ......./site-packages/foo/bar.py :111 def init_cmd(args) 

Or even no option and make it the default behavior.

@caioariede
Copy link
Owner

I'm not really convinced this should be integrated into the tool or a plugin for code editors.

@sametmax
Copy link
Author

The whole purpose of tools like yours is to follow the unix philosophy of "use the OS as your IDE". Even if you don't though, It is particularly useful when you ssh remote on a server and explore the code in the terminal while testing in the shell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants