title: Reading from a file and assigning content to a variable in Python
body: <p>I have a ECC key value in a text file, a set of lines  I want to assign that value to a variable for further use. Though I can read the key value from the file, I have no idea as how to assign the value to a variable. I dont want it as an array. for example,</p>
  
  <p>variable = read(public.txt).</p>
  
  <p>Any inputs as how to do this?</p>
  
  <p>The python version is 3.4</p>