Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 694 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 694 Bytes

CP Templates

Sp1d3R | 2024

A collection of CP Templates.

Python

Features:

  • Supports hot-reload (responds to changes in specified files)
  • Supports timers
  • Copies code on save to clipboard
  • Code is fully pastable anywhere
  • Responds to Ctrl+C
  • Tested on Windows 11 and Linux

Usage:

  • Declare the LOCAL environment variable
  • Correct the constructor
ProcessHandler(
    main=main,
    props={"input": "input.txt", "code": __file__},
    monitor=["Code.py", "input.txt"],
    timeout=1,
)
  • Install requirements from requirements.txt
  • Use instructions to compile the local.py.