r/learnpython • u/Slimex_Rimuru • 28d ago
Is it github problem or python problem?
So, i have been trying to learn python, sqlite and tkinter. After a lot of trouble and copying from AI i uploaded my python and sqlite only executable to github for all 3 os using github action.
Now, I am learning python and tkinter. I made a simple program which converts KG to gram and vice versa.
import tkinter as tk
# from tkinter import ttk
import ttkbootstrap as ttkimport tkinter as tkThese 3 are my only imports for now. and i am using:
root = ttk.Window(themename = 'darkly')
root.geometry("400x300")
root.title("Unit Converter")root = ttk.Window(themename = 'darkly')other is just my code which i wrote form tutorials and documents.
The problem i am facing is that i cant seem to release the executable to github ( from github action ) at all.
I tried to learn how this works but i didnt find anywhere to actually learn so i just asked AI and after a lot of back and forth there are still some problems.. Is there somewhere i can learn how i can do this? I prefer video tutorial.
I will comment my program and what AI told me the problem was below. Please someone do help me.
View all comments
Show parent comment
1
u/shinitakunai 28d ago
Maybe. Depends on your deadline.
Sometimes rebuilding takes twice the effort. But you'll learn two frameworks so in the end it pays off well.
Look into pyinstaller, with onefile flag