TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Python on Heroku
10 points
by
phob
over 14 years ago
You can run python on heroku with a system call from a ruby app. Just run something like:<p>@output = `echo \"#{variable}\" | python script.py`.<p>This will let you read standard out from a python script.
2 comments
nolite
over 14 years ago
Collapse
is this documented, or something you just stumbled upon?
评论 #2152105 未加载
评论 #2152071 未加载
评论 #2152846 未加载
评论 #2152847 未加载
mckoss
over 14 years ago
Perf will suck. Like running a CGI process for each request if using this for python web app.