11 lines
		
	
	
	
		
			276 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			276 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import sys
 | |
| import dns_importer
 | |
| 
 | |
| sys.path.append('dns+pylib://_pylib.hannaeko.eu')
 | |
| sys.path_hooks.append(dns_importer.DnsImporter)
 | |
| 
 | |
| from test_pkg.test_module import hello
 | |
| hello()
 | |
| print(hello.__module__)
 | |
| print(sys.modules['test_pkg'])
 | |
| print(sys.modules['test_pkg.test_module'])
 |