0

I saw a few ways to open an application using Python but none of them allow me to read the data from inside the application. Is this possible?

Has QUIT--Anony-Mousse
  • 76,138
  • 12
  • 138
  • 194
dungeon_master
  • 191
  • 1
  • 1
  • 8
  • I am looking for a module similar to selenium that allows me to interact with my application just like I would do with a web page. I have tried opening applications using subprocess but am not able to interact with them. – dungeon_master Sep 30 '15 at 00:54
  • If you're talking specifically about iTunes, you can copy the library with ctrl+A and paste it into a csv. Then you can use the `csv` module in Python to read the data in. – wpercy Sep 30 '15 at 01:46
  • I actually want to interact with applications through Python and extract the data using Python directly. – dungeon_master Sep 30 '15 at 02:16
  • Are you asking specifically for iTunes, or any general application? – Burhan Khalid Sep 30 '15 at 04:29

1 Answers1

-1

Windows:

You can interact with programs with pywin32.

Also, check this out: Interact with other programs using Python

You can interact with programs in Python using COM automation.

Mac:

How can I interact with an application on mac through python subprocess?

How do I communicate between python and a mac application?

Community
  • 1
  • 1
Edward
  • 2,291
  • 2
  • 19
  • 33