Skip to content

ScadeBlock/PythonWIMVBA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

PythonWIMVBA

Python With VBA ! Run python via VBA


✨✨ New on PythonWimVBA 5.2 ✨✨

  • Catch All Python Output, so outtl is useless (removed!, don't need on 5.2 or higher version)
  • Added UseDebug (show cmd and keep cmd alive with it's output) and keepFileData (keeps pywvout.txt and pywvba.py after execution) attributes

Where's the lower version of PythonWimVBA?

Lower Version is tested privately; some versions are publicly released, but they are pre-release. They're outdated, unsecure and unstable, so please use only version 5.2 or above

Usage

Command: RunPy(code,pythonPath, [outputFilePath = "pywvout.txt"] , [ filename = "pywvba.py"], [ keepFileData = False] , [UseDebug = False])

  • Code splitting by ";;" , e.x : "import time;;time.sleep(5)"
  • [Optional] Output File Path: File that writes every output of python
  • [Optional] File Name: File that contains your code to run
  • [Optional] keepFileData: Keep output file and code file after finishing execution.
  • [Optional] UseDebug: Show cmd that runs python code, keep it alive with it's output [Use debug to catch errors, Output file may not catch them. So when debug is enabled, Output file does nothing.]

About

Run python with VBA !

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors