Having done part one I am now going part 2. We we now have code that accepts SQL, I would probably do this as a report i.e.pick the report rather than typing SQL. This post will be very short as basically the pyinstaller library does all the work for you.
1) Set up the python code where you want it.
2) Make sure you have installed the pyinstaller library
3) Run the command line (see above link) to create the exe.
4) Job done.
The potential for this is huge and there are obvious applications, especially where you have built a front-end in tkinter. You build your own front-end tool for a database and allow your users to run reports, you can automate web processes by linking with Selenium and much more.
Below is a gif of one of the exe's I have made in action, in this instance it is running the very simple piece of code shown below:
The code:
The Exe:
1) Set up the python code where you want it.
2) Make sure you have installed the pyinstaller library
3) Run the command line (see above link) to create the exe.
4) Job done.
The potential for this is huge and there are obvious applications, especially where you have built a front-end in tkinter. You build your own front-end tool for a database and allow your users to run reports, you can automate web processes by linking with Selenium and much more.
Below is a gif of one of the exe's I have made in action, in this instance it is running the very simple piece of code shown below:
The code:
The Exe:
No comments:
Post a Comment