Giter Club home page Giter Club logo

flet-practice's Introduction

ホットリロード

usage: flet run [-h] [--port PORT] [--directory] [--recursive] [--hidden] [--web] script

Runs Flet app in Python with hot reload.

positional arguments: script path to a Python script

options: -h, --help show this help message and exit -v, --verbose -v for detailed output and -vv for more detailed -p PORT, --port PORT custom TCP port to run Flet app on -d, --directory watch script directory -r, --recursive watch script directory and all sub-directories recursively -n, --hidden application window is hidden on startup -w, --web open app in a web browser

  • sample
flet run Calc1.py -d
flet run main.py -r

packaging

auto-py-to-exe

auto-py-to-exe

flet がインストール済の環境でないとうまくいかない?

応急処置

FLET_DEBUG_MODE = False

にして flet pack する

(DEBUG 実行時は = True)

カスタム Icon

flet pack your_program.py --icon <your-image.png>

  • これで一応成功した。assets もうまくいった cd Apps/Solitaire/src flet pack main.py --icon card_back.png --add-data "assets;assets"

flet-practice's People

Contributors

applego avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.