简体   繁体   中英

Accessing data stored in the memory on a running Python program

I have a Python program that collects data. I have tested it many times before, but today it decided that it will not save the data. Also, unfortunately, I decided to run my program using pythonw.exe so there is no terminal to see what the errors are.

I can see that it still has the data saved to the memory because it is displayed on a plot and I can still manipulate the data using my program.

I want to know if there is a way to access the data my program collected externally or some way to read it.

I know that it is unlikely I will be able to recover my data, but it is worth a shot.

(Also, I am using Python 2.7 with PyQT4 as a GUI interface.)

您应该能够附加到正在运行的进程并使用http://winpdb.org/检查变量

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM