title: TypeError 'str' objects is not callable - Python
body: <p>I'm completely new to Python and i'm trying to write a program that essentially works as an alarm clock. I prompt the user for a specific time to set the alarm to and then when that time occurs, a youtube video taken from a list of youtube videos in a txt file will play. However, I'm not quite sure why i'm getting this error, as i'm still largely unfamiliar with python syntax. Here's my code: </p>
  
  <pre><code>import time
  
  def addVideo():
      videoToAdd = raw_input("Enter the url of the video to add: ")
      with open('alarmVideos.txt', 'w') as f:
          f.write(videoToAdd + '\n')
  
  alarmTime = raw_input("When would you like to set your alarm to?: \nPlease use this format: 01:00\n")
  
  localTime = time.strftime("%H:%M") 
  
  addVideo = raw_input("Would you like to add a video to your list? (y/n): \n")
  
  if addVideo == 'y' or addVideo == 'n':
      addVideo()
  
  
  print "Your alarm is set to:", alarmTime
  </code></pre>
  
  <p>I'm getting this error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Users\bkrause080\Desktop\Free Time Projects\LearningPythonProjects\alarmClock.py", line 15, in &lt;module&gt;
      addVideo()
  TypeError: 'str' object is not callable
  </code></pre>
  
  <p>If it helps this error occurs after the user enters y/n to whether not not they want to add a video to their list. Thanks for any help!</p>