Split the native module into modules within a common native package.
Split the native function implementations into several files corresponding to
the native package modules.
1try: 2f=open("tests/read_file.py")# this file! 3exceptIOError,exc: 4print"I/O error occurred:",exc.value 5raise 6 7try: 8s=f.read(5) 9prints# try: 10s=f.read(49) 11prints# f = open("tests/read_file.py") # this file! 12s=f.read() 13prints 14finally: 15f.close()