Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from xushiwei/main
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
xushiwei authored May 9, 2024
2 parents 21bbf31 + 8b5c04e commit 23dbb7a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions _demo/hellopy/hello.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ import (
)

func main() {
py.SetProgramName(*c.Argv)

py.Initialize()
py.SetProgramName(*c.Argv)
py.RunSimpleString(c.Str(`print('Hello, World!')`))
py.Finalize()
}

0 comments on commit 23dbb7a

Please sign in to comment.