Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #52504

Verifying Variable value

Date 2013-08-14 18:12 +0800
From chandan kumar <chandan_psr@yahoo.co.in>
Subject Verifying Variable value
Newsgroups comp.lang.python
Message-ID <mailman.567.1376475265.1251.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi ,

Is there a way to validate variable values while debugging any python code.Run below example  in debugging mode and i would like to know the value of c (I know print is an option) with any other option other than printing.
In C# or some other tools we can verify each statement and values. Is there way to check each statement in python code like in c#.

Ex:
def method()
  a = 20
  b =30
  c =  a + b


Best Regards,
Chanadn

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Verifying Variable value chandan kumar <chandan_psr@yahoo.co.in> - 2013-08-14 18:12 +0800

csiph-web