Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Visually trace Python code in real-time.

License

NotificationsYou must be signed in to change notification settings

agermanidis/livepython

Repository files navigation

Livepython

Watch your Python run like a movie.

NOTE: Livepython is alpha software. It doesn't handle a lot of edge cases and features may change.

Livepython is a desktop app that lets you visually trace, in real-time, the execution of a Python program. In addition, it can track changes in global and local variables as your program is running. Livepython is meant to give you a quick grasp of a program's execution flow. It's less messy than sprinkling print statements throughout your code and simpler to use than debuggers/profilers.

Livepython can be launched from the command-line as easily as:

livepython [program] [args...]

Controls:

SPACE: Play/Pause the program.

Left/Right Arrow: Change speed of execution.

V: Open/Close Variable Inspector.

Compatibility

Python VersionCompatible?
3.6
3.5
2.7
2.6

Installation

npm install livepython -g

Development

Livepython has 3 main components:

  • a Pythontracer that usessys.settrace() to intercept every line of your program as it's being evaluated
  • anElectron app that is responsible for the rendering the Livepython frontend
  • a node.jsgateway script that manages communication between the frontend and the tracer

If you want to make changes to Livepython, you will need to runwebpack:

webpack

Then you can test your built version of livepython by running:

bin/livepython [your python program]

License

MIT

About

Visually trace Python code in real-time.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp