ECON 4710 Chapter : SPSE
Document Summary
Python created in 1989 by guido van rossum (he now works for google) Python 3 (2008) : not backward compatible to previous versions of python. But, virtualenv is a tool that allows you to switch between pyv2. Currently most libraries still do not support python 3! Ctrl-d quits python while you are in it. Chmod a+x file name (will execute the directory) Then type . / and the file name and press enter. If you want to find out the exact memory location of a variable typ id(name of the variable) and press enter. You will find out the memory identification of where the variable is stored. For hex value of a variable type |hex(id(name of variable)). For data strings you can type ex: name = brendan\rnestor" then type print name and it will be on 2 line like line 1:brendan and line 2: nestor (the r is a place filler)