Python
Code:
https://www.python.org/downloads/release/python-2710
Code:
https://vimeo.com/channels/learnpython
Hello World.py
Code:
print "Hello World!";
C
ython27>python 00-hello.py
Code:
http://www.dotnetperls.com/fibonacci-python
Code:
https://sites.google.com/site/dotpython/input-and-output/2-2-list
Code:
http://eayd.in/?p=273
Code:
http://stackoverflow.com/questions/19671936/telnet-cisco-switch-using-python
- An abstract class exists only so that other 'concrete' classes can inherit from the abstract class.
- .pop() method
built-in list method would use to remove items from a list.
- class Game(LogicGame): pass
for defining a class called 'Game', it inherits from a parent class called 'LogicGame'.
- The built-in all() function returns True if all items in the list evaluate to True. Otherwise, it returns False.
- A Game class inherits from two parent classes: BoardGame and LogicGame. An instance of the Game class will inherit whatever methods the BoardGame and LogicGame classes have.
- 'self' keyword when defining or calling methods on an instance of an object refers to the instance whose method was called.
- def _init_(self):
pass
for defining an _init_() method that takes no parameters.
- # This is how a comment created.