Skip to content

PyWimVBA 5.3 Hot Fix!

Compare
Choose a tag to compare
@ScadeBlock ScadeBlock released this 21 Jul 09:15
· 17 commits to main since this release
d704819

✨✨ New on PythonWimVBA 5.3 ✨✨

  • Added multiple threads (Run multiple RunPy functions)
  • Improve function, add new newengine
  • Enhanced PyWimVBA performance
  • Hot Fix!
    • Remove RunPyWid - Too unstable
    • Remove RunPyOld - Issued

Usage

Command: LoadPy(file,[iline = False])

  • Load a python file and convert it to PyWimVBA Syntax

    • For example, it'll convert this file code

    examplefile.py

    import time
    time.sleep(5)
    
    • To import time;time.sleep(5)
    • APPLY TO USE: RunPy(LoadPy("mycodefile.anyextension"))

Command: RunPy(code,[pythonPath = "python"] , [newengine = False], [ keepFileData = False] , [UseDebug = False])

  • Code splitting by ";;" , e.x : import time;;time.sleep(5)
  • [Optional] newengine : Improve performance, doesn't need to create logfile - still create code file . But it's will show up a cmd splash - doesn't work with UseDebug
  • [Optional] keepFileData: Keep the output file and code file after finishing execution.
  • [Optional] UseDebug: Show cmd that runs python code and keep it alive with it's output [Use debug to catch errors, the output file may not catch them. So when debug is enabled, Output file does nothing.
  • E.x : MsgBox RunPy("Welcome to \'Python With VBA!\'")