AnsweredAssumed Answered

opening the python window from a custom toolbar

Question asked by simpson.ben1990 on Nov 13, 2015
Latest reply on Nov 13, 2015 by FGibson-esristaff



I am currently in the process of creating a custom toolbar containing 4 buttons in Arc. These buttons will run python scripts which mostly have the purpose of transfering data from one or more personal geodatabases to an oracle database.


The question I have is, is there a way to open the python window from within the python script? So that when the users presses one of the buttons the python window automatically opens and then the multiple print statements I have throughout the script will be displayed. It would probably be better to use the pythonaddins.MessageBox function but for the time being I will settle for displaying the messages from the python window.


Thanks in advance for any help,