In the File menu, click New... and choose Python File.