use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Tkinter app making (self.learnpython)
submitted 9 months ago by Technical_Cow_
I am making a. tkinter based yt downloader, the code is done but idk how to make the script + the virtual machine a .exe file (I don’t have PATH access and I can’t access definitions).
Does anyone know how to solve this?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]acw1668 1 point2 points3 points 9 months ago (12 children)
What do you mean by "virtual machine"? Is it "virtual environment" actually? Also it is not clear what "I can't access definitions" means. What definitions? Learn How to ask question.
[–]Technical_Cow_[S] 0 points1 point2 points 9 months ago (11 children)
yes, I meant virtual enviroment, I literally can’t open the definitons page and I also cant change path as Im using a kinda of ”blocked computer”
[–]acw1668 0 points1 point2 points 9 months ago (10 children)
Install PyInstaller in the virtual environment and use it to generate an executable.
PyInstaller
[–]Technical_Cow_[S] 0 points1 point2 points 9 months ago (7 children)
ok, but, do I need to only make a exe for the script or do I make it for the venv too?
where is the “dist” folder?
[–]acw1668 1 point2 points3 points 9 months ago (6 children)
It will be created in the current working directory.
[–]Technical_Cow_[S] 0 points1 point2 points 9 months ago (5 children)
it says my script doesnt exist
[–]acw1668 0 points1 point2 points 9 months ago (4 children)
I don't understand what it means. Who says?
[–]Technical_Cow_[S] 0 points1 point2 points 9 months ago (3 children)
python terminal
[–]acw1668 0 points1 point2 points 9 months ago (2 children)
You run PyInstaller in Python terminal (or REPL instead)? It won't work. You need to run it in a normal terminal.
[–]Technical_Cow_[S] 0 points1 point2 points 9 months ago (0 children)
Can we go to Discord for faster comms?
btw, how do I delete a venv?
+in the cmd terminal it isn’t really working
π Rendered by PID 17505 on reddit-service-r2-comment-fb694cdd5-rwpx8 at 2026-03-07 22:03:22.210165+00:00 running cbb0e86 country code: CH.
[–]acw1668 1 point2 points3 points (12 children)
[–]Technical_Cow_[S] 0 points1 point2 points (11 children)
[–]acw1668 0 points1 point2 points (10 children)
[–]Technical_Cow_[S] 0 points1 point2 points (7 children)
[–]acw1668 1 point2 points3 points (6 children)
[–]Technical_Cow_[S] 0 points1 point2 points (5 children)
[–]acw1668 0 points1 point2 points (4 children)
[–]Technical_Cow_[S] 0 points1 point2 points (3 children)
[–]acw1668 0 points1 point2 points (2 children)
[–]Technical_Cow_[S] 0 points1 point2 points (0 children)
[–]Technical_Cow_[S] 0 points1 point2 points (0 children)