pyblocks/pyblocks-loader/content.py

14 lines
553 B
Python

# 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.