input: Write a function to convert a given SQL query into a Python code using sqlite3. The function should take the SQL query as a string input and execute it on a SQLite database named 'movies.db'. The results should be printed row by row. If the SQL query is empty, the function should print an error message.
  assert sql_to_python("SELECT * FROM Movies WHERE category = 'horror'") == None
  assert sql_to_python("SELECT title, director FROM Movies WHERE year = 2020") == None
  assert sql_to_python("") == "Error: Empty SQL query"
output: def sql_to_python(sql_query):
      if not sql_query:
          print("Error: Empty SQL query")
          return
      import sqlite3
      conn = sqlite3.connect('movies.db')
      cursor = conn.cursor()
      cursor.execute(sql_query)
      rows = cursor.fetchall()
      for row in rows:
          print(row)
      conn.close()