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
07cfd504
Kaydet (Commit)
07cfd504
authored
Eyl 30, 2016
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge heads
üst
00a0fc11
1813aa1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
idle.py
Lib/idlelib/idle.py
+8
-6
No files found.
Lib/idlelib/idle.py
Dosyayı görüntüle @
07cfd504
import
os.path
import
os.path
import
sys
import
sys
# If we are working on a development version of IDLE, we need to prepend the
# Enable running IDLE with idlelib in a non-standard location.
# parent of this idlelib dir to sys.path. Otherwise, importing idlelib gets
# This was once used to run development versions of IDLE.
# the version installed with the Python used to call this module:
# Because PEP 434 declared idle.py a public interface,
# removal should require deprecation.
idlelib_dir
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
idlelib_dir
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
sys
.
path
.
insert
(
0
,
idlelib_dir
)
if
idlelib_dir
not
in
sys
.
path
:
sys
.
path
.
insert
(
0
,
idlelib_dir
)
import
idlelib.PyShell
from
idlelib.PyShell
import
main
# This is subject to change
idlelib
.
PyShell
.
main
()
main
()
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