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.

Ask HN: Is there a Python text editor with live updating?

2 pointsby mpjanalmost 11 years ago
I&#x27;ve been using the Calca app for a week now, and I really like the fact that you can type out your calculations, evaluate them in the text editor itself, go back and change variables and functions and they will be updated automatically. See how it works here: http:&#x2F;&#x2F;calca.io&#x2F;<p>However, there are things i&#x27;d like to do that would be much easier to do in Python. Does anyone know of a Calca-like Python text editor?

2 comments

fencepostalmost 11 years ago
Calca is more like a spreadsheet than a programming language interpreter, so I doubt you&#x27;ll find what you&#x27;re looking for. You might be able to put something together that used a more Pythonic syntax for calculations, but that&#x27;s about the extent of it.<p>Even if you worked around the issue of the bulk of the file not being valid Python, you&#x27;d likely run into user satisfaction problems - kind of an &quot;uncanny valley&quot; of programming editors, where it would interpret just enough to seem like it was working, but because of a restricted syntax (e.g. are you handling loops? functions?) would be far enough off to be an irritant.
jenkstomalmost 11 years ago
pySpread is very close to what you are looking for. Leo editor lets you embed python scripts into other documents. IPython isn&#x27;t all that far away, but a different direction.<p><a href="http://leoeditor.com/" rel="nofollow">http:&#x2F;&#x2F;leoeditor.com&#x2F;</a> <a href="http://manns.github.io/pyspread/" rel="nofollow">http:&#x2F;&#x2F;manns.github.io&#x2F;pyspread&#x2F;</a>