quickstart.rst 798 B

123456789101112131415161718192021
  1. Quickstart
  2. ==========
  3. 1. Install the application from the `Flipper Lab <https://lab.flipper.net/apps/upython>`_ on your Flipper device.
  4. 2. Write some Python code or use one of the provided `examples <https://github.com/ofabel/mp-flipper/tree/master/examples>`_.
  5. 3. Use the `qFlipper <https://flipperzero.one/update>`_ application to upload the code to your Flipper's SD card.
  6. 4. Start the **uPython** application on your Flipper to execute your Python script.
  7. .. hint::
  8. Looking for a more efficient solution to copy your files and folders?
  9. Try the `Flipper Zero Script SDK <https://github.com/ofabel/fssdk>`_ helper.
  10. Usage
  11. -----
  12. You can also use the CLI interface to execute a Python scripts:
  13. .. code-block:: bash
  14. loader open /ext/apps/Tools/upython.fap /ext/scripts/tic_tac_toe.py