Skip to content

Commit 06eb74e

Browse files
authored
Update README.md
1 parent 6933453 commit 06eb74e

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
+ Improve function; the new `RunPy()` - with `showcmd=True` function doesn't need to create file, with `showcmd=`
77
+ Remove `keepFileData` attributes and add `showcmd`
88
+ Enhanced PyWimVBA performance
9-
+ Keeps the old PyWimVBA function (In version 5.2) and rename it to `RunPyOld`
9+
+ Keeps the old PyWimVBA function (In version 5.2) and renames it to `RunPyOld`
1010
+ Added iline attributes
1111
# Where's the lower version of PythonWimVBA?
12-
> **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**
12+
> **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**.
1313
1414
# Usage
15-
**Command:** `RunPy(code, [pythonPath = "python"], [showcmd = True], [iline = False],[UseDebug=False])`
15+
**Command:** `RunPy(code, [pythonPath = "python"], [showcmd = True], [iline = False], [UseDebug =False])`
1616
+ Code splitting by ";;" , e.x : `import time;;time.sleep(5)`
1717
+ With `showcmd=True` performance will be better than `showcmd=False` (because of `showcmd=False` must create logfile to catch log, `showcmd=True` mustn't)
18-
- **iline**
18+
- **[Optional OR Compulsory]iline**
1919
- `Iline` attributes convert code from
2020
- `import time`
2121
- `time.sleep(2)`
@@ -27,7 +27,7 @@
2727
**Command:** ``RunPy(code,pythonPath, [ keepFileData = False] , [UseDebug = False])``
2828
+ Code splitting by ";;" , e.x : `import time;;time.sleep(5)`
2929
+ [Optional] keepFileData: Keep the output file and code file after finishing execution.
30-
+ [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.]
30+
+ [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.
3131

3232

3333
---
@@ -38,3 +38,7 @@
3838
| Easy-Debug | :star: (very good, with `showcmd = False & UseDebug=True`,`showcmd = True` is not recommend for debugging) | :star2: (amazing,with `UseDebug & keepFileData=True`)|
3939
| Easy-To-Use | :ok_hand: |:ok_hand: |
4040
| Cache file | :raised_hands: (no cache, but `showcmd=False` needs create logfile) | :turtle: (must create logfile,code file) |
41+
42+
43+
# Some advices?
44+
+ Although both PyWimVba Function - New and old have it debug method, i suggest you write and debug your code in a code editor like `Visual Studio Code`, `Sublime Text`. And then , replace all the newline with `;;` and paste it into your vba scripts

0 commit comments

Comments
 (0)