You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,12 @@
2
2
3
3
GoToPy is a Go to Python converter -- translates Go code into Python code.
4
4
5
+
To install, do standard:
6
+
7
+
```Go
8
+
$ go install github.com/go-python/gotopy@latest
9
+
```
10
+
5
11
It is based on the Go `gofmt` command source code and the go `printer` package, which parses Go files and writes them out according to standard go formatting.
6
12
7
13
We have modified the `printer` code in the `pyprint` package to instead print out Python code.
0 commit comments