Created
January 26, 2011 14:43
-
-
Save bussiere/796774 to your computer and use it in GitHub Desktop.
un peu de philosophie en python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
class Philosophie: | |
def __init__(self): | |
world = True | |
def nihilisme(self): | |
self = None | |
return self | |
def solipsisme(self): | |
self.world = self | |
if __name__ == '__main__': | |
pensees = Philosophie() | |
pensees.solipsisme | |
pensees.nihilisme |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment