Add file operation in Python

Add file operations 

Signed-off-by: Liteye <yelite958@gmail.com>