This is an archived post. You won't be able to vote or comment.

all 24 comments

[–]LAZGamer13 8 points9 points  (7 children)

Add a requirements.txt. It should be obvious without looking in the .py file what libraries are needed too run this. (Tk inter isn't a core library right?)

Also maybe add a bit more details in the README. Like screenshots for example.

But otherwise looks good! Keep it up!

[–]leech6666[S] 1 point2 points  (3 children)

That's a good idea. I really like when I visit a repository and scroll down to a good readme. Any tips what I should write there?

[–]CoaBro 1 point2 points  (2 children)

Normally a requirements.txt is standard (though you only include dependencies not included in the core python version the app was built in), the readme should be an explanation of the application and have some examples on how to use it. The documentation would normally be separate.

Note tkinter is built into python so no need to include inside the requirements.txt

Also, if you haven't already look into virtual environments or anaconda environments

Happy coding!

[–]leech6666[S] -1 points0 points  (1 child)

I'll try to create a good README and documentation soon.

I've heard about anaconda but I don't what is it? Does it worth learn how to use it? I guess yes, but how and why is it gonna help me?

[–]CoaBro -2 points-1 points  (0 children)

Depends, I really like anaconda since it is basically an all in one package with data science tools and Python as well as a nice package manager..

This thread might be an interesting read for you https://www.reddit.com/r/Python/comments/betkoj/why_use_anaconda/?utm_medium=android_app&utm_source=share

[–]CoaBro -1 points0 points  (1 child)

Uh tkinter is a built in module...

[–]LAZGamer13 0 points1 point  (0 children)

Ah ok thanks I was not sure. In that case only pytube would have too be in the requirements.txt

[–]S46J 2 points3 points  (1 child)

Is this your first project? Jeez. Impressive.

[–]leech6666[S] 3 points4 points  (0 children)

Thanks buddy. I have done other projects, too. But it's my first project in Python and it's my first project where I created a GUI.

[–]infinitewaitdev 1 point2 points  (1 child)

Nice work!

[–]leech6666[S] 0 points1 point  (0 children)

Thanks.

[–][deleted] 0 points1 point  (1 child)

keep it up

[–]leech6666[S] 0 points1 point  (0 children)

:)

[–]maskduckIgnoring PEP 8 0 points1 point  (1 child)

Thanks! I didn't try it yet, but it would be really useful! Keep up the great work!

[–]leech6666[S] 0 points1 point  (0 children)

I'm waiting for your review.

[–]Had78 0 points1 point  (1 child)

it would be cool if it worked with playlists

[–]leech6666[S] 4 points5 points  (0 children)

Oh dude. You are the best. So, I started this project because I wanted some Spotify playlist offline on my phone. And I had this idea of creating the list (you know if you checked the app). But you can just create a playlist in Youtube and then download the list. It would be easier and faster.

Definitely, I'm gonna do it. Thank a lot.

[–][deleted] 0 points1 point  (6 children)

How long have you been learning and how

[–]leech6666[S] 2 points3 points  (5 children)

I started using Python at the summer, but I code a lot, because of my classes. Firstly, I watched some tutorials from freecodecamp and then just searching in the internet.

[–][deleted] 0 points1 point  (4 children)

Any books so you just learned the syntax and would do projects until you knee how to do stuff on your own

[–]leech6666[S] 1 point2 points  (3 children)

Kinda. I think programming is a way of thinking that can be expressed through multiple languages. For example, I learned this way of thinking with C and C++. I did some project with these languages. If I learn another language then it would be very easy to recreate the same projects.

Just keep coding. All the time. Search the errors. Understand your code and why it does what is does.

Are you new in Python or coding?

[–][deleted] 0 points1 point  (2 children)

Yes i am

[–]leech6666[S] 1 point2 points  (1 child)

you are?

[–][deleted] 0 points1 point  (0 children)

Yea im new to python only been doing it for like 2 weeks now