mirror of
				https://github.com/python/cpython.git
				synced 2025-10-29 17:38:56 +00:00 
			
		
		
		
	use std module os
This commit is contained in:
		
							parent
							
								
									50399ae583
								
							
						
					
					
						commit
						bf1710ac5f
					
				
					 1 changed files with 1 additions and 11 deletions
				
			
		|  | @ -1,17 +1,7 @@ | |||
| # Utility module to import all modules in the path, in the hope | ||||
| # that this will update their ".pyc" files. | ||||
| 
 | ||||
| # First, see if this is the Mac or UNIX | ||||
| try: | ||||
| 	import posix | ||||
| 	os = posix | ||||
| 	import path | ||||
| except ImportError: | ||||
| 	import mac | ||||
| 	os = mac | ||||
| 	import macpath | ||||
| 	path = macpath | ||||
| 
 | ||||
| import os | ||||
| import sys | ||||
| 
 | ||||
| # Sabotage 'gl' and 'stdwin' to prevent windows popping up... | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum