How can I call a python program from VBA?

Just like the name.

I have a python program that processes some data file that I downloaded from email.

I am writing a vba script that can download email attachments and run a python program to handle email attachments so that I can automate my daily work.

Any idea?

+5
source share
2 answers

- Python COM-, , COM-. Python Win32 , . , , , . Python , VBA, , .

+5
Shell "path to my python exe"

, python .
, .pyc,

Shell "path to python.exe argumentOfPYCFilePath" 
+1

All Articles