Skip to content

jkbellew/myrepl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My REPL Setup

This is my setup whenever I go to the REPL. There are three functions:

  • cls() or clear() : This clears the screen.
  • save_history(file=history_file) : Takes an argument for the name of the history file.
  • run(pyfile: str | Path) : This takes a string or Path object representing a python script and then sends it to be compiled and executed. It will return either END OF PROGRAM for successful execution of python script or ERROR IN PROGRAM for unsuccessful.
  • pythonstartup now is able to import the myrepl module file and use it's functions.

About

My Personal Python REPL set up.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages