pyblocks/pyblocks-loader/content.py

14 lines
553 B
Python
Raw Permalink Normal View History

2023-05-25 17:00:54 +00:00
# PyBricks Loader
# Content file
# Contains user programs, project IDs, etc, generally just the user data saved to the hub.
# This file is not human-writable, should not be edited, and is generated by pyblocks-codegen.
HAS_PROJECT = False
PROJECT_ID = None
PROJECT_NAME = None
SCRIPTS_LOADED = 0
SCRIPTS = [[None for i in range(200)]]
# SCRIPTS is either None, if no program is in that slot
# or an object:
# {'script_name':'somescripthere.pb3','codegen':'PYTHON_CODE_HERE'}
# 'codegen' is valid MP3 code to be `exec()`'d when the program is to be run.