Add twit "home" location to sys.path (so you can put the applet on the

desktop)
This commit is contained in:
Jack Jansen 1996-11-11 15:40:45 +00:00
parent 052b7e1cfb
commit d8597858a9
2 changed files with 9 additions and 2 deletions

View File

@ -11,6 +11,13 @@ main program: nothing but a bit of glue to put it all together.
Jack Jansen, CWI, August 1996.""" Jack Jansen, CWI, August 1996."""
import os import os
import sys
# Add our directory to path, if needed
dirname = os.path.split(__file__)[0]
if not dirname in sys.path:
sys.path.append(dirname)
if os.name == 'mac': if os.name == 'mac':
import MacOS import MacOS
MacOS.splash(515) # Try to show the splash screen MacOS.splash(515) # Try to show the splash screen

View File

@ -2,7 +2,7 @@
:#A4hDA3ZFR0bB`"bFh*M8P0&4!%!N!HdV-5P!*!%!3!!!,)5!!#a%J!!!TS!!!$ :#A4hDA3ZFR0bB`"bFh*M8P0&4!%!N!HdV-5P!*!%!3!!!,)5!!#a%J!!!TS!!!$
`DIrr)"H6)!!#JH$`Drrr)"H8*!#3"2"[rrmJ#A4hDA3ZFR0bB`)!!!!rN!J!N!` `DIrr)"H6)!!#JH$`Drrr)"H8*!#3"2"[rrmJ#A4hDA3ZFR0bB`)!!!!rN!J!N!`
rN!J!N"LZJ'B'!*!'Y+`!m(Errb!AR%3!N!6`Grrr)"HG5!#3"2"irrmJ&jj-!*! rN!J!N"LZUS!V!*!'Y+`!m(Errb!AR%3!N!6`Grrr)"HG5!#3"2"irrmJ&jj-!*!
%m(Rrrb!ARe!!N!6`H[rr)"HJ9!#3"2"lrrmJ&k&B!*!%m(crrf!ASP`!N!6`IIr %m(Rrrb!ARe!!N!6`H[rr)"HJ9!#3"2"lrrmJ&k&B!*!%m(crrf!ASP`!N!6`IIr
r)"HMB!#3"2#!rrmJ&k4N!*!&!rrr)"HPD!!#G#LrK2rr)"G2)!#3"#S!6!"S!AJ r)"HMB!#3"2#!rrmJ&k4N!*!&!rrr)"HPD!!#G#LrK2rr)"G2)!#3"#S!6!"S!AJ
#'J!%!3!"!*!&!J!99(GTG#!Y)%e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