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
8656ad5b
Kaydet (Commit)
8656ad5b
authored
Şub 21, 1995
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
a few new things
üst
4410d571
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
run.py
Mac/scripts/run.py
+9
-3
No files found.
Mac/scripts/run.py
Dosyayı görüntüle @
8656ad5b
...
...
@@ -2,6 +2,7 @@
def
main
():
import
sys
sys
.
stdout
=
sys
.
stderr
del
sys
.
argv
[:
1
]
if
not
sys
.
argv
:
import
macfs
...
...
@@ -16,16 +17,21 @@ def main():
except
SystemExit
,
msg
:
if
msg
:
message
(
"Exit status:
%
s"
%
str
(
msg
))
sys
.
exit
(
msg
)
print
"exit"
,
`msg`
#sys.exit(msg)
except
:
etype
=
sys
.
exc_type
if
hasattr
(
etype
,
"__name__"
):
etype
=
etype
.
__name__
message
(
"
%
s:
%
s"
%
(
etype
,
sys
.
exc_value
))
sys
.
exit
(
1
)
print
"exit 1"
#sys.exit(1)
def
message
(
str
=
"Hello, world!"
,
id
=
129
):
def
message
(
str
=
"Hello, world!"
,
id
=
256
):
import
Dlg
d
=
Dlg
.
GetNewDialog
(
id
,
-
1
)
if
not
d
:
print
str
return
tp
,
h
,
rect
=
d
.
GetDItem
(
2
)
Dlg
.
SetIText
(
h
,
str
)
while
1
:
...
...
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