Commit bfa6258 1 parent 6f66b07 commit bfa6258 Copy full SHA for bfa6258
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,24 +20,24 @@ cd codex_py2cpp
20
20
pip3 install -r requirements.txt
21
21
```
22
22
## Run example
23
- Reads the file "simplePythonScript .py", and feeds the corresponding input prompt to OpenAI Codex. Compilable solutions
23
+ Reads the file "simpleScript .py", and feeds the corresponding input prompt to OpenAI Codex. Compilable solutions
24
24
are stored in the form of .cpp and .exe files.
25
25
```
26
26
python3 python2cppconverter.py
27
27
```
28
28
29
29
If the generated C++ code got compiled, test it with
30
30
```
31
- ./simplePythonScript .exe
31
+ ./simpleScript .exe
32
32
```
33
33
You hopefully get the same output as when running
34
34
```
35
- python3 simplePythonScript .py
35
+ python3 simpleScript .py
36
36
```
37
37
Check how much faster you are now ...
38
38
```
39
- time ./simplePythonScript .exe
40
- time python3 simplePythonScript .py
39
+ time ./simpleScript .exe
40
+ time python3 simpleScript .py
41
41
```
42
42
43
43
### Example Code Generation:
You can’t perform that action at this time.
0 commit comments