Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
finesse
pykat
Commits
44663f7e
Commit
44663f7e
authored
Dec 14, 2013
by
Andreas Freise
Browse files
adding important functions. :)
parent
c8ceb252
Changes
1
Show whitespace changes
Inline
Side-by-side
pykat/finesse.py
View file @
44663f7e
...
...
@@ -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
...
...
@@ -135,6 +136,17 @@ class kat(object):
@
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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment