Code Monkey home page Code Monkey logo

Comments (3)

khalil135711 avatar khalil135711 commented on July 17, 2024

If you're using Tkinter in Python, you can utilize my code available at the following URL: https://github.com/khalil135711/splash_image_code

Pointers for Use:

On line 27, you can adjust the duration of your splash screen by modifying duration = 6000. (6000ms is 6 sec)
Also, ensure to update the image path before initiating testing.
If you're a beginner, consider using Flet, a new Python library (currently available only in Python) that facilitates cross-platform application development (Windows, MacOS, Android, iOS, and web apps) efficiently. For more information, refer to the documentation.
I hope this code proves useful for you. 😉

from examples.

BrentHuang avatar BrentHuang commented on July 17, 2024

on windows 10, When a desktop application developed by flet is started, the user interface will be blank for a short period of time, so splash is necessary.

from examples.

khalil135711 avatar khalil135711 commented on July 17, 2024

Not necessarily. I think you are running your application with a wrong cmd line :
As an example if you want to run your application on your iOS device use : this cmd > flet run - -ios
Without any space between- and - then will a QR code generate

And make sure that your device use the same network of your laptop

so you can scan the QR code than open on flet (application that u should download from App Store )

and if you want to run flet on your windows just use flet you-python-file-name.py or flet run yourPythonFileName.py

In the case of you are really looking for creating a windows desktop application with a splash screen i can share with you the code .

from examples.

Related Issues (20)

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.