Python Write Variable Into Stringent