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

  • SEARCH
  • Home
  • 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 7631277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:18:51+00:00 2026-05-31T06:18:51+00:00

Is there a pypi module or an equivalent to log everything python does while

  • 0

Is there a pypi module or an equivalent to log everything python does while executing a script, say if a django app is rendering a page I want to have an account of everything like from where a custom template tag is getting loaded, which module(and from where on the pythonpath) is called and things like that.I want to use it to understand pre existing codes and also debugging purposes. May be everyone else is aware of how to do it except me.

  • 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-05-31T06:18:52+00:00Added an answer on May 31, 2026 at 6:18 am

    You can use the trace module to analyze execution. An example snippet:

    $ python -m trace --trace euler32.py | head
     --- modulename: euler32, funcname: <module>
    euler32.py(4): from itertools import permutations
    euler32.py(6): digits = range(1,10)
    euler32.py(7): positions = range(1,9)
    euler32.py(9): for c in permutations(digits,9):
    euler32.py(10):     for x in positions:
    euler32.py(11):         for equal in positions[x:]:
    

    pdb is the standard debugging tool.

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

Sidebar

Related Questions

I have a Python module that I would like to upload to PyPI. So
Preface The official python package python-openid (as distributed through pypi.org) does not work with
I'm using django-tables (http://pypi.python.org/pypi/django-tables/0.2) to render the contents of a MySQL table. The model
There seem to be many ways to define singletons in Python. Is there a
Background: I know, via pypi, about DOAP . Is there something similar to describe
The list of Trove classifers is at: http://pypi.python.org/pypi?:action=list_classifiers When I'm creating a PyPI package,
I released a package for django to pypi, it was my first time and
C:\Users\Me>easy_install MySQL-python Searching for MySQL-python Reading [http://pypi.python.org/simple/MySQL-python/ Reading [http://sourceforge.net/projects/mysql-python/ Reading [http://sourceforge.net/projects/mysql-python Best match: MySQL-python
I am a bit confused. There seem to be two different kind of Python
I was trying to install the following python wrapper for Amazons product api: http://pypi.python.org/pypi/python-amazon-product-api/0.2.5a1

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.