3,606 karma · joined May 17, 2012
With that said, it's a very interesting project. Especially with regards to its rendering engine.
https://play.golang.org/p/DiNGdl27kE
You can use curl to test it out (it assumes a file called "foobar.txt" is available):
curl -v -F upload=@foobar.txt localhost:8080/uploadMy issue with this is that, in reality, everything will now be 100 chars.
>>> import httplib, json
>>> conn = httplib.HTTPConnection("httpbin.org")
>>> conn.request("GET", "/get")
>>> res = conn.getresponse()
>>> print res.status, res.reason
200 OK
>>> data = json.load(res)
>>> print data
{u'origin': '0.0.0.0', ...}
>>> conn.close()
[1] https://docs.python.org/2.7/library/httplib.html#examplesWhat? Rust basically has no standard library. At least Python doesn't require pulling in third-party libraries to do globbing, create a zip/tar, create a tempfile or send/serve http. Hell, it doesn't even do command-line arguments outside of manually parsing and iterating over the args vector.
gevent.spawn(requests.get, url) rm -rf /Library/Caches/Homebrew/neovim--git
brew reinstall --HEAD neovim def GetFeature(self, request, context):
http://www.grpc.io/docs/tutorials/basic/python.html from subprocess import Popen, PIPE
p1 = Popen(["foo"], stdout=PIPE)
p2 = Popen(["bar"], stdin=p1.stdout, stdout=PIPE)
p1.stdout.close() # Allow p1 to receive a SIGPIPE if p2 exits.
output, _ = p2.communicate()
https://docs.python.org/3.5/library/subprocess.html#replacin...