I want to use Sublime Text in Ubuntu for python programming and want to write a build system that takes input from a mentioned file and prints output to other mentioned file. I have done same for c++ using this code :
{
"cmd": ["g++ -std=c++11 ${file} -o ${file_path}/${file_base_name} && ${file_path}/${file_base_name}<${file_path}/inputf.in>${file_path}/outputf.in"],
"shell" : true
}