I have a program written in python that passes a value to a variable in a file. I would like to pass that variable to another python program (of my own). My question is... How do I make the variable available to my python program and how do I print (echo) it? Below is what I invision.. but of course it doesn't work! ( I am a TOTAL novice!!!)
Thanks for any help!!!
file1.tmpl........................ to...................myprogram.sh
$current.outTemp ..................................#!/bin/bash
................................................................echo $current.outTemp