How to run on program without .py extension, and how to see usage message?
See original GitHub issueMy issues are best explained by looking at each of the commands I execute below and their output:
pc:~/my-prog ls -l
total 4
-rwxr-xr-x 1 mark mark 51 Oct 16 12:53 my-prog
pc:~/my-prog cat my-prog
#!/usr/bin/env python3
print('This is my program')
pc:~/my-prog ../env/bin/vermin my-prog
Detecting python files..
No files specified to analyze!
pc:~/my-prog ../env/bin/vermin ./my-prog
Detecting python files..
No files specified to analyze!
pc:~/my-prog ../env/bin/vermin .
Detecting python files..
No files specified to analyze!
pc:~/my-prog ../env/bin/vermin -h
Detecting python files..
No files specified to analyze!
pc:~/my-prog ../env/bin/vermin --help
Detecting python files..
No files specified to analyze!
pc:~/my-prog ../env/bin/vermin --version
Detecting python files..
No files specified to analyze!
pc:~/my-prog ../env/bin/vermin -v
Detecting python files..
No files specified to analyze!
pc:~/my-prog ../env/bin/pip list
Package Version
---------- -------
pip 19.3
setuptools 40.8.0
vermin 0.8.0
So the issues I am asking about are:
- How can I run
verminon a python program without a .py extension? - There seems to be no usage message? Nor a way to check the version?
- Also, I originally installed that
env/virtualenv dir within the source folder (like users normally do for a project) but there seems to be no way to stop vermin recursing through that dir?
Issue Analytics
- State:
- Created 4 years ago
- Comments:23 (12 by maintainers)
Top Results From Across the Web
How does Python execute files without the .py extension?
You can use file extensions in order to know what file does what. A py file is known to run as Python and...
Read more >How to run python files without typing python and extension
Step 2 : Make your python file executable. In terminal, go to your directory where your python file is located and type the...
Read more >How to Run Python Programs ( .py files ) in Windows 10
In this tutorial you will learn How to run Python Programs ( . py files ) on windows 10 computer.We can use Python...
Read more >How to Run a Python ( .py ) File in Windows 10 - YouTube
In this tutorial you will learn How to run Python ( . py ) files on windows 10 computer.Download and install Python in...
Read more >Running python script from terminal without .py extension
In unix/linux everything is a file and responds to its file name. You can not call Script.py as script. Try renaming the file...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks for that. Works much better.
Ran it as a test on my program and found a bug immediately!
It gets shown because searching any number of possible folder structures can take time which is unknown before initiating the search. After the search is complete the concurrent analysis commences.
I guess it might be a verbose level one detail.