Program Console Vignaankosh.com
Execution Panel
Console is empty.
sys module Built-in is an interactive PYTHON dry run visualizer from the Builtin programs section. Study the source code, then use the execution controls to follow each step, variable update, highlighted line, and console output.
This page provides a browser-based dry run with source-code highlighting, auto-scroll, voice narration controls, and execution output for learning the program step by step.
import sys
# Simulate: python student.py Ravi 85
sys.argv = ["student.py", "Ravi", "85"]
print("Script name:", sys.argv[0])
print("Arguments:", sys.argv[1:])
name = sys.argv[1]
marks = int(sys.argv[2])
print("Student:", name)
print("Marks:", marks)
print("Number of user arguments:", len(sys.argv) - 1)