Commit 44663f7e authored by Andreas Freise's avatar Andreas Freise
Browse files

adding important functions. :)

parent c8ceb252
...@@ -114,6 +114,7 @@ class kat(object): ...@@ -114,6 +114,7 @@ class kat(object):
cls = type(self) cls = type(self)
self.__class__ = type(cls.__name__, (cls,), {}) self.__class__ = type(cls.__name__, (cls,), {})
self.logo()
@property @property
def maxtem(self): return self.__maxtem def maxtem(self): return self.__maxtem
...@@ -134,7 +135,18 @@ class kat(object): ...@@ -134,7 +135,18 @@ class kat(object):
def noxaxis(self): return self.__noxaxis def noxaxis(self): return self.__noxaxis
@noxaxis.setter @noxaxis.setter
def noxaxis(self,value): self.__noxaxis = bool(value) def noxaxis(self,value): self.__noxaxis = bool(value)
def logo(self):
print """ ..-
_ '(
PyKat \\`.|\\.__...-\"\"""-_." )
..+-----.._ / ' ` .-'
. ' `: 7/* _/._\\ \\ (
( '::;;+;;: `-"' =" /,`"" `) /
L. \\`:::a:f c_/ n_'
..`--...___`. . ,
`^-....____: +."""
def loadKatFile(self, katfile): def loadKatFile(self, katfile):
commands=open(katfile).read() commands=open(katfile).read()
self.parseCommands(commands) self.parseCommands(commands)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment