How to clear shell values of python? -


assume in python shell. have entered a=10.

>>> a=10 >>> 10 

but nothing c , mean

>>> c traceback (most recent call last):   file "<stdin>", line 1, in <module> nameerror: name 'c' not defined >>> 

how can clear value of , should have stored nothing. mean after clearing if press output should similar c.

note: dont want leave python.

delete name del statement:

del 

after accessing a throw nameerror well:

>>> = 10 >>> 10 >>> del >>> traceback (most recent call last):   file "<stdin>", line 1, in <module> nameerror: name 'a' not defined 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -