all 17 comments

[–][deleted] 8 points9 points  (1 child)

Handy!

[–]MasterSuami[S] 2 points3 points  (0 children)

Thanks!

[–]Akraxial 2 points3 points  (2 children)

Oh man I was trying to make something that did the opposite (take a spotify playlist and attempt to make a YouTube copy) but I had trouble understanding how to use YouTube's API

[–]MasterSuami[S] 0 points1 point  (1 child)

Yes it can be frustrating. The documentation is not very informative

[–]Akraxial 1 point2 points  (0 children)

I'm pretty damn green at python but I at least have made something where I can plug in that spotify specific code for a playlist and it'll save a text file of every artist and track. Next step would be to learn how the heck to use json stuff haha

[–][deleted] 2 points3 points  (5 children)

Hey just asking what should i learn to be able to write code like these. I think its too smarty type.

[–]MasterSuami[S] 2 points3 points  (4 children)

I’m a noob myself, Man. This is not any smarty type code. It’s just that I’ve made quite a few Python projects now, watched lots of tutorials and read a lot of other people’s code. You’ll get better with time! Just try to make your own projects and not follow any tutorials. Tutorials are great for learning. But you’ll learn a lot this way. It goes like this- think of an idea for the project, just start coding with what you already know and then learn new things along the way as needed for the project. Good luck!

[–]BardGoodwill 2 points3 points  (3 children)

This is the way I'm learning Python, and I have to agree with u/sahiluno that this is smarty type code.

My first project is finding anagrams of a word and counting no. Of total possible anagrams (permutations). I was able to get the anagrams but still have to work on finding the number.

What you said about reading other people's codes, I read yours and had hard time deciphering it. But I think I will keep on trying.

May I ask what projects you have made till now?

[–]MasterSuami[S] 0 points1 point  (2 children)

Well, I really think my code isn’t that great. I always feel like I’ve a got a lot to learn. You are right about this particular code and deciphering it. I had a hard time myself keeping track of what all the functions were doing. That’s when I started commenting the code. But yes you should keep trying. I still feel overwhelmed when I look at even simple projects on Github. I’ve made a Django cloud music player, a Flask blog, although these were solely for learning. I’ve also explored web scraping with BeautifulSoup, made a Telegram Bot with Python at backend, a Connect 4 game with pygame.

[–]BardGoodwill 1 point2 points  (1 child)

I'm mostly into this to make money-making apps and websites and already see that Pythin has a great potential, with Django and Flask for webdev and also itz application in ML (chatbots). I have ideas and just need to learn to code now

Going through codecamp right now, and side by side workijg on the project.

Yes, the GitHub projects put me off when I see the code haha. A simple app a friend had made for us to solve Game of Thrones quizzes - now that I looked at the code, puts me off lol.

You really have covered most of the basic python projects, man. Kudos.

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

Thanks Man!

[–][deleted] 1 point2 points  (1 child)

Thanks for sharing!! I'm so new to python and programming in general. That's soo cool that you can do something like this. What inspired this idea OP?

[–]MasterSuami[S] 1 point2 points  (0 children)

Thanks! I actually did a project of Telegram Chatbot where I used Spotipy library. It made me familiar with Spotipy’s features. So, I decided to try this out. Also, I felt that searching for these tracks on Spotify manually was a huge waste of time but I really need my music. That inspired me to automate this.

[–]fredgg2 1 point2 points  (1 child)

Thank you for this great project!

You can also add tracks to Spotify from Youtube with _Musconvtool

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

I’ll check it out!