Python Console Window - 2023

MapInfo Pro Help

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapInfo Pro
Version
2023
ft:locale
en-US
Product name
MapInfo Pro
ft:title
MapInfo Pro Help
First publish date
1985
ft:lastEdition
2023-09-12
ft:lastPublication
2023-09-12T16:39:16.995000

MapInfo Pro supports writing add-ins in the Python language. This allows developers to take advantage of the Python language and its existing libraries/modules when writing MapInfo Pro add-ins.

Like MapBasic, you can now edit and execute Python code interactively from within MapInfo Pro using the Python console window. On the HOME tab, open the Tools Windows gallery in the Windows group and click Python to open the Python console window. You can also open this window using the Ctrl+Shift+Y short-cut key.

You can also use the SQL window to create and manage Python scripts in the same way as SQL statements or MapBasic scripts. In the Scripts pane, click Create new script and select Python to start writing a Python script. All the helper drop-down options from the Assist section, except Joins and Variables, are available for use with the Python scripts.