|
6 | 6 | + Improve function, add new `newengine` |
7 | 7 | + Enhanced PyWimVBA performance |
8 | 8 | + Keeps the old PyWimVBA function (In version 5.2) and renames it to `RunPyOld` |
9 | | -- Add new `RunPyWid()` - with `showcmd=True` function doesn't need to create file |
10 | | - - Remove `keepFileData` attributes and add `showcmd` |
11 | | - - Added `iline` attributes |
| 9 | +- ~~Add new `RunPyWid()` - with `showcmd=True` function doesn't need to create file~~ (Removed!) |
12 | 10 | # Where's the lower version of PythonWimVBA? |
13 | 11 | > **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 versions 5.2 or above**. |
14 | 12 |
|
|
37 | 35 | + [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. |
38 | 36 | + E.x : `MsgBox RunPy("Welcome to \'Python With VBA!\'")` |
39 | 37 |
|
| 38 | +> In lastest fix, Remove RunPyOld, RunPyWid (Issued and Too Unstable) |
| 39 | +
|
40 | 40 | **Command:** `RunPyWid(code, [pythonPath = "python"], [showcmd = True], [iline = False], [UseDebug =False])` |
41 | 41 | + Code splitting by ";;" , e.x : `import time;;time.sleep(5)` |
42 | 42 | + With `showcmd=True` performance will be better than `showcmd=False` (because of `showcmd=False` must create logfile to catch log, `showcmd=True` mustn't) |
|
57 | 57 | + [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. |
58 | 58 |
|
59 | 59 |
|
60 | | ---- |
61 | | - |
62 | | -| Information | `RunPy()` | `RunPyWid()` |`RunPyOld()` | |
63 | | -| ----------- | ----------- | ----------- | ----------- | |
64 | | -| Performance | :star: ( Works good, more in `newengine=true` |:zap: (Amazing) | :+1: (Old but not wasted) | |
65 | | -| Easy-Debug | :star2: (`UseDebug` for it) | :star: (`UseDebug` available, but a little bad) | :star2: (`UseDebug` for it)| |
66 | | -| Easy-To-Use | :ok_hand: (Easy attributes) | :+1: (A little hard to start) |:ok_hand: (Easy attributes) | |
67 | | -| Cache file (codefile & logfile) | :raised_hands: (With `newengine=True`, only needs to create logfile)| :muscle: (No cache-file, but `showcmd=True` requires logfile) | :turtle: (Use both cache file and logfile) | |
68 | | -| Stable & error | :star2: (Works well) | :neutral_face: (New releases,contains many errors)| :star2: (Stable) | |
69 | | - |
0 commit comments