Skip to content

Instantly share code, notes, and snippets.

View jocerfranquiz's full-sized avatar
Learning low-level LLMs

ЈΘСΞR jocerfranquiz

Learning low-level LLMs
  • Near the Pacific Ocean
View GitHub Profile
@jocerfranquiz
jocerfranquiz / How to customize your Python's Interactive Console.md
Created October 24, 2025 14:08
How to customize your Python's Interactive Console

@jocerfranquiz 20251024

First, we need to create an interpreter session. This is really easy. We just need to use the code module included in Python's standard library (I'm using Python 3.10.12 btw), and 2 lines of code.

#!/usr/bin/env python3
# custom_repl.py