title: Python error 'ascii' codec can't decode byte 0x90 in position 11: ordinal not in range(128)"
body: <p>I do computing at school but their version of <strong>python</strong> is different to the one I have at home and every time I try to run a file I did at school on my home computer it says "</p>
  
  <blockquote>
    <p>UnicodeDecodeError: 'ascii' codec can't decode byte 0x90 in position
    11: ordinal not in range(128)"</p>
  </blockquote>
  
  <p>Any help is appreciated</p>
  
  <p><strong>Here is my code so far.</strong></p>
  
  <pre><code>classc = int(input("WHich classes scores do you want to see 1 or 2 or 3"))
  if classc ==1:
      import csv
  
  
      print("H")
      with open("class1.csv","r") as csv1file:
          csvfile1reader = csv.reader(csv1file)
          csv1 = []
          for row in csvfile1reader:
              if len (row) != 0:
                  csv1 = csv1 + [row]
  
  
  
          print("Here are the scores for class1 in aphabetical order!")
      import operator
  
      hl = open ("class1.csv","r")
  
      csvo = csv.reader(hl,delimiter='0')
  
      sort1 = sorted(csv1,key=operator.itemgetter(0))
      for row in sort1:
          print (row)
      print("these are the highest to lowest score")    
  h2 = open ("class1.csv","r")
  csvo = csv.reader(hl,delimiter=' ')
  sort2 = sorted(csv1,key=operator.itemgetter(1))
  
  for row in sort2:
          print (row)
  import csv
  
  with open('class1.csv') as handle:
      reader = csv.reader(handle)
      next(reader, None)
      for row in reader:
          user, *scores = row
          average = sum([int(score) for score in scores]) / len(scores)
          print (
              "{user} has average of {average}".format(user=user, average=average)
          )
  </code></pre>