mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			205 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			205 B
		
	
	
	
		
			Python
		
	
	
	
	
	
#!/usr/bin/python
 | 
						|
 | 
						|
try:
 | 
						|
    import idlelib.PyShell
 | 
						|
except ImportError:
 | 
						|
    # IDLE is not installed, but maybe PyShell is on sys.path:
 | 
						|
    import PyShell
 | 
						|
    PyShell.main()
 | 
						|
else:
 | 
						|
    idlelib.PyShell.main()
 |