注:默认Python已被添加入系统环境变量中
一、打开CMD切换到工作目录下C:Usersdell>e: E:>cd E:PythonProjectPythonProgrammingPP4E-Examples-1.4ExamplesPP4EGuiPIL二、使用使用python [文件名.py] 执行文件
E:PythonProjectPythonProgrammingPP4E-Examples-1.4ExamplesPP4EGuiPIL>python viewer-tk.py
E:PythonProjectPythonProgrammingPP4E-Examples-1.4ExamplesPP4EGuiPIL>python viewer-tk.py gillign2.gif



