title: Str is not callable error
body: <p>I am attempting to decrypt a text file which I have recently encrypted using a piece of code I created which works perfectly,
  to be able to decrypt my code I need to find out what the offset factor was from my previously shown 8 digit character key and when the user inputs this it is completely fine and this part of the code works fine. so I have calculated my offset factor and when I go to change my characters into integers to minus the offset to then convert back to a character I am faced with a message that reads</p>
  
  <blockquote>
    <p>Traceback (most recent call last):
    <br> File "N:\4512_CB4-Traditional Application\Encryption,Decrption coursework.py", line 154, in  MainMenu()
      <br> File "N:\4512_CB4-Traditional Application\Encryption,Decrption coursework.py", line 22, in MainMenu
        Decrypt()
      <br> File "N:\4512_CB4-Traditional Application\Encryption,Decrption coursework.py", line 135, in Decrypt
        y=chr(x)
    <br> TypeError: 'str' object is not callable</p>
  </blockquote>
  
  <p>This is my code:</p>
  
  <pre><code>def Decrypt():
  Message=[]
  Character=[]
  for chr in Decry:
      A = (ord(chr))
      Character.append(A)
  c = sum(Character)
  c = round(c/8)
  c = c - 32
  
  print("\n" *1)
  print('Starting Decryption')
  count = 0
  while count !=len(info):
      Message.append(info[count])
      count=count+1
  count = 0
  while count!=len(info):
      if Message[count] == " ":
          count=count+1
      else:
          x=ord(Message[count])
          x=x-c
          if x &lt;33:
              x=x+94
              y=chr(x)
              Message[count]=y
              count=count+1
          else:
              y=chr(x)
              Message[count]=y
              count=count+1
  print("...Decryption finished...")
  time.sleep(1)
  file=",".join(Message).replace(",","")
  print('This is your new text file')
  print(file)
  filename = input('what would you like your file to be saved as')+'.txt'
  openfile = open (filename, 'w')
  thedetails =openfile.write(file)
  time.sleep(1)
  print('Done!')
  </code></pre>