/bb-python

Run Python scripts inside BitBurner! It's janky but hey, if you gotta have your 🐍 then you gotta have your 🐍

Primary LanguageJavaScript

bb-python

Run Python scripts inside BitBurner! Uses Brython to interpret and run Python.

Example implementation in 1-brythonUsage.js can invoke BitBurner-specific ns functions
and properly handles async/await to avoid ns promise race conditions.

image

Installation

  • Copy both scripts into your BitBurner install
  • run 0-brythonEngine.js first
  • run 1-brythonUsage.js second
  • Extend, cleanup, and use however you like!