Hello,
Apologies if this has been answered elsewhere - I've searched (here and in other places), but to no avail.
I have a Python script that I call from a do-file using the shell command (under Windows). The Python script works, but can take some time to complete. I would like to be able to update the user on the script's progress (something along the lines of periodically displaying a message like "XXX of YYY records processed").
I've tried to use a Python print command in hopes that the update message would print to the blue box that appears when I use the shell command (the one with the title bar that says "C:\Windows\System32\cmd.exe"), but that does not work.
Ideally, I'd be able to give progress updates that would allow the user to see how long the process might take, but even showing that the Python script is still running is better than nothing.
I'd be grateful for any suggestions or solutions that anyone might be able to offer.
Thanks,
Chip
Related Posts with Inform the user of Python script progress when called from Stata do-file.
Different resutls between xtreg and xtivreg2 I recently ran into an issue with xtivreg2. I find that the coefficient estimates are so much diffe…
Reshape Long Missing Values ErrorMy dataset is in time series format. I am converting it to a panel using the following code: Code…
Merging 3 data setsGood evening all. I am looking for some help merging 3 data sets. All 3 data sets are sorted by pati…
Doubt with power calculationsGreetings I am new to the forum., I am working with a categorical data set, I am trying to calculate…
Twoway line by countyHi everyone, For my Panel Data descriptive Analysis I am trying to graph the development of Chargin…
Subscribe to:
Post Comments (Atom)
0 Response to Inform the user of Python script progress when called from Stata do-file.
Post a Comment