PROBLEM

The Edit with IDLE and Run with ArcGIS Pro options are not available in the context menu when right-clicking Python files

Last Published: October 24, 2025

Description

In some instances, when right-clicking Python files, the 'Edit with IDLE' and 'Run with ArcGIS Pro' options are not available in the context menu.

Image of the the Edit with IDLE and Run with ArcGIS Pro options are not available in the context menu

Cause

A possible cause is that the default app to open the Python files has changed.

Solution or Workaround

Select one of the options below depending on the cause to resolve the issue.

Select python.exe as the default application to open Python files

  1. Right-click the Python file, and select Properties.
  2. In the Properties window, click the General tab, and click the Change button next to Opens with:.
  3. In the Open with window, click the Browse button.
  4. In the Open with… window, paste the following path in the address bar, and press Enter.
C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3
  1. Select python.exe, and click Open.
Image of the Open with... window
  1. Close the Properties window.

The following image displays the availability of Edit with IDLE, Edit with IDLE (ArcGIS Pro), and Run with ArcGIS Pro options in the context menu.

Image of the Edit with IDLE and Run with ArcGIS Pro options are available in the context menu

Article ID: 000024926

Software:
  • ArcGIS Pro

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options