kopia lustrzana https://github.com/markqvist/reticulum
				
				
				
			
		
			
				
	
	
		
			7 wiersze
		
	
	
		
			342 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
			
		
		
	
	
			7 wiersze
		
	
	
		
			342 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
| import os
 | |
| import glob
 | |
| 
 | |
| py_modules  = glob.glob(os.path.dirname(__file__)+"/*.py")
 | |
| pyc_modules = glob.glob(os.path.dirname(__file__)+"/*.pyc")
 | |
| modules     = py_modules+pyc_modules
 | |
| __all__ = list(set([os.path.basename(f).replace(".pyc", "").replace(".py", "") for f in modules if not (f.endswith("__init__.py") or f.endswith("__init__.pyc"))])) |