Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Variable contents
#2
It can't - variable in Python is just a placeholder for object reference, and it - the variable - may be re-assigned with reference to another object, or be deleted.
Test everything in a Python shell (iPython, Azure Notebook, etc.)
  • Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
  • Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
  • You posted a claim that something you did not test works? Be prepared to eat your hat.
Reply


Messages In This Thread
Variable contents - by Scott - Jun-21-2018, 07:22 AM
RE: Variable contents - by volcano63 - Jun-21-2018, 07:30 AM
RE: Variable contents - by wavic - Jun-21-2018, 07:30 AM
RE: Variable contents - by snippsat - Jun-21-2018, 08:52 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020