You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
366 B
19 lines
366 B
6 years ago
|
|
||
|
import sys
|
||
|
import os
|
||
|
|
||
|
|
||
|
head, tail = os.path.split(__file__)
|
||
|
if sys.version >= '3.6':
|
||
|
sys.path.insert(0, os.path.join(head, 'idlefork'))
|
||
|
|
||
|
try:
|
||
|
|
||
|
import idlelib
|
||
|
except ImportError:
|
||
|
print("** IdleX can't import IDLE. Please install IDLE. **")
|
||
|
sys.exit(1)
|
||
|
|
||
|
from .idlexMain import version as __version__
|
||
|
from .extensionManager import extensionManager
|