TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Python on Heroku

10 pointsby phobover 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

noliteover 14 years ago
is this documented, or something you just stumbled upon?
评论 #2152105 未加载
评论 #2152071 未加载
评论 #2152846 未加载
评论 #2152847 未加载
mckossover 14 years ago
Perf will suck. Like running a CGI process for each request if using this for python web app.