~pwd /home/preyan/test ~ls sample.py ~python >>> mod=__import__('sample') >>> amod=__import__('/home/preyan/test/sample') >>>
# /home/preyan/mypro.py mod='sample' os.chdir('/home/preyan/test') module=__import__(mod)