get line number

Discussion in 'Python' started by Richard Mertens, Aug 12, 2003.

  1. How do get the actual line number from the actual running sourcecode.
    I need it for debugging purpose
     
    Richard Mertens, Aug 12, 2003
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Kamoski
    Replies:
    5
    Views:
    985
    Herfried K. Wagner [MVP]
    Sep 19, 2003
  2. Eric Gibson
    Replies:
    1
    Views:
    783
    Eric Gibson
    Aug 31, 2004
  3. =?Utf-8?B?c2NvdHRybQ==?=

    get line number in error handling code

    =?Utf-8?B?c2NvdHRybQ==?=, Mar 7, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    5,295
    Steven Cheng[MSFT]
    Mar 8, 2006
  4. Hugo
    Replies:
    10
    Views:
    1,633
    Matt Humphrey
    Oct 18, 2004
  5. kaushikshome
    Replies:
    4
    Views:
    1,057
    kaushikshome
    Sep 10, 2006
  6. Jekyll
    Replies:
    2
    Views:
    555
    Victor Bazarov
    Apr 24, 2007
  7. scad
    Replies:
    23
    Views:
    1,498
    Alf P. Steinbach
    May 17, 2009
  8. Marek Stepanek
    Replies:
    12
    Views:
    703
    Peter J. Holzer
    Sep 2, 2006
Loading...