Now, you write your Python commands in a new file and save it with a .py extension. That represents a Python script. For example, to print 'Hello, world!' you'd write print('Hello, world!'). After writing, save it as example.py. To run it, open your command prompt, navigate to the correct directory using 'cd', and type 'python example.py'