title: Can't determine cause of SyntaxError: invalid character in identifier
body: <p>I am attempting to use Brickman to use Python coding on a LEGO EV3. When I try to run my code I get the following error</p>
  
  <pre class="lang-none prettyprint-override"><code>&gt;&gt;robot@ev3dev:~$ python3 CoffeePi_Test/Main.py
  File "CoffeePi_Test/Main.py", line 14
    tags=[‘coffeepi’]
                   ^
    SyntaxError: invalid character in identifier
  </code></pre>
  
  <p>Here is my code. I am not sure what is triggering this error.</p>
  
  <pre><code> #!/usr/bin/env python3
  #Import the necessary methods from tweepy library
  from tweepy.streaming import StreamListener
  from tweepy import OAuthHandler
  from tweepy import Stream
  import json
  import time
  import vending
  
  import ev3dev.ev3 as ev3
  from ev3dev.auto import *
  
  
  tags=[legovend]
  words=[]
  #Variables that contains the user credentials to access Twitter API
  #Two versions, redudancy if the first fails...
  access_token = # redacted
  access_token_secret = # redacted
  consumer_key = # redacted
  consumer_secret = # redacted
  
  access_token2 = # redacted
  access_token_secret2 = # redacted
  consumer_key2 = # redacted
  consumer_secret2 = # redacted
  
  
  #This is a basic listener that just prints received tweets to stdout.
  class StdOutListener(StreamListener):
  
      def on_data(self, data):
          global mA,mB,home,cs, lastVend
          try:
              tweet = json.loads(data)
              tw
          except:
              pass
  
          if tags:
              if all(tag in tweet['text'].lower() for tag in tags):
                  print (tweet['user']['screen_name'], ' - ', tweet['text'])
  
                  if int(tweet['timestamp_ms'])&gt;lastVend:
                      ev3.Leds.set_color(ev3.Leds.LEFT, ev3.Leds.RED)
                      ev3.Leds.set_color(ev3.Leds.RIGHT, ev3.Leds.RED)
  
                      vending.onTweet(mA, mB, cs, home)
  
                      time.sleep(2)
                      lastVend = int(round(time.time() * 1000))+1000
                      ev3.Leds.set_color(ev3.Leds.LEFT, ev3.Leds.GREEN)
                      ev3.Leds.set_color(ev3.Leds.RIGHT, ev3.Leds.GREEN)
          return True
  
      def on_error(self, status):
          print( status)
          return False
  
  
  if __name__ == '__main__':
  
      #This handles Twitter authetification and the connection to Twitter Streaming API
      print( 'here')
      global mA,mB,home,cs, lastVend
      mA = ev3.MediumMotor('outA')
      mB = ev3.MediumMotor('outB')
      home = mA.position - 40
      cs=ColorSensor()
      lastVend = int(round(time.time() * 1000))
  
      l = StdOutListener()
      auth = OAuthHandler(consumer_key, consumer_secret)
      auth.set_access_token(access_token, access_token_secret)
      stream = Stream(auth, l)
  
      auth2 = OAuthHandler(consumer_key2, consumer_secret2)
      auth2.set_access_token(access_token2, access_token_secret2)
      stream2 = Stream(auth2, l)
  
      try:
  
          Sound.speak('Ready to go').wait()
          print ('trying 1')
          stream.filter(track=tags)
          print('trying 2')
          stream2.filter(track=tags)
          Sound.speak('Could not connect').wait()
      except Exception as e:
          print( e)
  </code></pre>