mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			209 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			209 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| #! /usr/bin/env python
 | |
| 
 | |
| import os
 | |
| import sys
 | |
| import IdleConf
 | |
| 
 | |
| idle_dir = os.path.split(sys.argv[0])[0]
 | |
| IdleConf.load(idle_dir)
 | |
| 
 | |
| # defer importing Pyshell until IdleConf is loaded
 | |
| import PyShell
 | |
| PyShell.main()
 | 
