Generate a Python dictionary comprehension that creates a new dictionary where the keys are the numbers from 1 to 10 and the values are their squares.
Not applicable
squares = {x: x**2 for x in range(1, 11)}