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

adding important functions. :)

parent c8ceb252
......@@ -114,6 +114,7 @@ class kat(object):
cls = type(self)
self.__class__ = type(cls.__name__, (cls,), {})
self.logo()
@property
def maxtem(self): return self.__maxtem
......@@ -134,7 +135,18 @@ class kat(object):
def noxaxis(self): return self.__noxaxis
@noxaxis.setter
def noxaxis(self,value): self.__noxaxis = bool(value)
def logo(self):
print """ ..-
_ '(
PyKat \\`.|\\.__...-\"\"""-_." )
..+-----.._ / ' ` .-'
. ' `: 7/* _/._\\ \\ (
( '::;;+;;: `-"' =" /,`"" `) /
L. \\`:::a:f c_/ n_'
..`--...___`. . ,
`^-....____: +."""
def loadKatFile(self, katfile):
commands=open(katfile).read()
self.parseCommands(commands)
......
Markdown is supported
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