Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8232965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:59:10+00:00 2026-06-07T17:59:10+00:00

I want o learn how to use python’s coverage.py module to inspect the coverage

  • 0

I want o learn how to use python’s coverage.py module to inspect the coverage pattern of my code. I tried reading about the tool from various sources and finally installed it on my windows 7 machine using ‘pip’ utility. After installation, the coverage module got installed in C:\Python27\Lib\site-packages.

Now, I was reading instructions on how to use it from this page : Author’s Installation Notes. I followed the installation instructions as per given on this page. However, after I installed, I’m unsure of how to use the tool from commandline? According to author after pip install of the tool, one should be able to invoke the command

coverage --version 

and expect to see some output. However, when I run this command, I get command not found error. According to me this is expected behavior, since coverage is just another python module (i.e. has .py extension) and not a standalone executable. So, I don’t know how it can be run in a standalone fashion.

Someone please provide exact details of installation of the tool. I just need help with installation. I’ll learn the CMD usage from nedbatchelder.com’s “Coverage command line usage” article.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T17:59:10+00:00Added an answer on June 7, 2026 at 5:59 pm

    When you installed coverage, you should have gotten files you can execute directly, installed into c:\Python27\Scripts. Make sure you configure your Windows environment so that that directory is on your path. Then you’ll be able to use coverage as a command.

    If you need help completing the Python installation on Windows, here are some detailed instructions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to learn python so I downloaded it from the python site and
I have a couple small projects that I want to use to learn python.
I am trying to learn how to use python's argparse module. Currently my python
I want to learn how to use MSBuild ReadLinesFromFile Task I observe Output tag
If you want to learn how to use Perl interpreter threads, there's good documentation
I made a tic-tac-toe game in c++ want to learn how to use SDL
I want to learn zend without using the zend tool. I've found some good
I want to learn and use Drupal or Django for the following: dynamic web
I use PHP+Zend and Java+Wicket and learn Python (so will have Django available). So
On a quest to learn a bit about Python and sockets I'm writing a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.