Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
c9246615
Kaydet (Commit)
c9246615
authored
Eki 20, 2000
tarafından
Just van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
edits to make the 2.0 copyright fit in the about box again... (jvr)
üst
a1a33564
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
Splash.py
Mac/Tools/IDE/Splash.py
+9
-8
No files found.
Mac/Tools/IDE/Splash.py
Dosyayı görüntüle @
c9246615
...
@@ -70,14 +70,12 @@ import sys
...
@@ -70,14 +70,12 @@ import sys
_keepsplashscreenopen
=
0
_keepsplashscreenopen
=
0
abouttext1
=
"""The Python Integrated Develop
e
ment Environment for the Macintosh
abouttext1
=
"""The Python Integrated Development Environment for the Macintosh
Version:
%
s
Version:
%
s
Copyright 1997-2000 Just van Rossum, Letterror. <just@letterror.com>
Copyright 1997-2000 Just van Rossum, Letterror. <just@letterror.com>
Python
%
s
Python
%
s
%
s
%
s
Written by Guido van Rossum with Jack Jansen (and others)
See: <http://www.python.org/> for information and documentation."""
See: <http://www.python.org/> for information and documentation."""
flauwekul
=
[
'Goodday, Bruce.'
,
flauwekul
=
[
'Goodday, Bruce.'
,
...
@@ -93,8 +91,11 @@ at any place . . . he is ready to become . . .
...
@@ -93,8 +91,11 @@ at any place . . . he is ready to become . . .
Bicycle Repair Man!"""
Bicycle Repair Man!"""
]
]
def
skipdoublereturns
(
text
):
return
string
.
replace
(
text
,
'
\n\n
'
,
'
\n
'
)
def
nl2return
(
text
):
def
nl2return
(
text
):
return
string
.
join
(
string
.
split
(
text
,
'
\n
'
)
,
'
\r
'
)
return
string
.
replace
(
text
,
'
\n
'
,
'
\r
'
)
def
UpdateSplash
(
drawdialog
=
0
,
what
=
0
):
def
UpdateSplash
(
drawdialog
=
0
,
what
=
0
):
if
drawdialog
:
if
drawdialog
:
...
@@ -109,11 +110,11 @@ def drawtext(what = 0):
...
@@ -109,11 +110,11 @@ def drawtext(what = 0):
fontID
=
geneva
fontID
=
geneva
Qd
.
TextFont
(
fontID
)
Qd
.
TextFont
(
fontID
)
Qd
.
TextSize
(
9
)
Qd
.
TextSize
(
9
)
rect
=
(
10
,
1
25
,
390
,
26
0
)
rect
=
(
10
,
1
15
,
390
,
29
0
)
if
not
what
:
if
not
what
:
import
__main__
import
__main__
abouttxt
=
nl2return
(
abouttext1
\
abouttxt
=
nl2return
(
abouttext1
%
(
%
(
__main__
.
__version__
,
sys
.
version
,
sys
.
copyright
))
__main__
.
__version__
,
sys
.
version
,
skipdoublereturns
(
sys
.
copyright
)
))
else
:
else
:
import
random
import
random
abouttxt
=
nl2return
(
random
.
choice
(
flauwekul
))
abouttxt
=
nl2return
(
random
.
choice
(
flauwekul
))
...
@@ -133,7 +134,7 @@ def wait():
...
@@ -133,7 +134,7 @@ def wait():
time
=
Evt
.
TickCount
()
time
=
Evt
.
TickCount
()
whattext
=
0
whattext
=
0
while
_keepsplashscreenopen
:
while
_keepsplashscreenopen
:
ok
,
event
=
Evt
.
EventAvail
(
highLevelEventMask
)
)
ok
,
event
=
Evt
.
EventAvail
(
highLevelEventMask
)
if
ok
:
if
ok
:
# got apple event, back to mainloop
# got apple event, back to mainloop
break
break
...
...
Write
Preview
Markdown
is supported
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