Questions tagged [grumpy]

Grumpy is a Python to Go source code transpiler and runtime developed by Google.

4 questions
1
vote
1 answer

Install a python package in Grumpy

I am using Fedora 25 and installed Grumpy in the following way: git clone https://github.com/google/grumpy.git cd grumpy make export GOPATH=$PWD/build export PYTHONPATH=$PWD/build/lib/python2.7/site-packages also was able to create Go…
Ahsan
  • 3,845
  • 2
  • 36
  • 36
0
votes
1 answer

Go build does not generate binary file from grumpy generated go code?

I wrote a HelloWorld.py and using grumpy, I compiled the HelloWorld.py to a Go source code. The go build is executed successfully without any errors but there was no binary file found in the folder. I need to know where I can found the binary file…
sof
  • 1
  • 1
0
votes
1 answer

binary file of the helloworld.go generated by Grumpy does not get generated

I wrote a HelloWorld.py and using grumpy I compiled the HelloWorld.py to a Go source code. but after running go build, the binary file does not get generated, the go build command was executed successfully without any error but there was no binary…
sam
  • 335
  • 2
  • 5
  • 19
0
votes
0 answers

Python 2.7: post data without urllib, urllib2 and httplib modules? (using Golang Grumpy)

How does one make http/https requests to external url's in Python 2.7 without using the modules urllib, urllib2 or httplib? The reason I'm asking is that I would like to use the Go conversion tool named Grumpy which converts Python to Go. Currently…
gregoff
  • 79
  • 1
  • 7