3 Mini Python Projects - For Intermediates

Поделиться
HTML-код
  • Опубликовано: 12 янв 2025

Комментарии • 161

  • @PoojaDutt
    @PoojaDutt 2 года назад +38

    Nice! Excited to learn more - I feel like these “follow along” projects are always so useful. 😀

    • @darasingh503
      @darasingh503 2 года назад

      Pooja I think you are very happy today 😊

    • @miladbannourah7798
      @miladbannourah7798 2 года назад +3

      Actually you shouldn't exactly follow along because you won't learn as you should that way, what you actually need to do is understand the general concept of the app you are building then using Google to search for the technologies that you will need to achieve certain things In your app and try to put all the pieces together yourself, and only after getting stuck for maybe a couple hours or even days you follow along to see were the problem was.
      That will make you a way stronger developer

    • @PoojaDutt
      @PoojaDutt 2 года назад +1

      @@miladbannourah7798 thanks for the tip! For me, struggling/figuring out certain technologies on my own can be really useful (especially certain concepts) - but it completely depends on the individual. Some learn better through visuals, some through instruction, and some through trial and error. A mix of all is typically helpful, so while I have to work independently via my job as a software engineer, it’s refreshing to watch videos such as this and just follow along!
      Especially in the industry, after struggling for 30 min to an hour, the extra time spent figuring things out can cause diminishing returns. It’s more efficient to eventually collaborate with others or find instruction on how to solve a problem within a certain amount of time.
      And who’s to say I didn’t struggle trying this myself before watching the video (-; but again, thanks for the unsolicited advice!

    • @_Xiagax_
      @_Xiagax_ 2 года назад +3

      @@miladbannourah7798 Tim explains along the way what each portion of the code does. I've been doing this and whenever he explains something I make sure to comment in the code what each portion does. This seems like crap advice because why should someone have to spend hours struggling to find solution to one problem when the answer may potentially be right here in this video? That's the exact opposite of efficiency. I nor anyone else should have to scour the internet just to find a solution to make ourselves a better programmer. If I know where to look to find an answer, that is better than brute forcing a problem in some endeavor to memorize said solution.

    • @rawbmar1166
      @rawbmar1166 2 года назад +1

      @@miladbannourah7798 Terrible advice and much slower for learning.

  • @liest9488
    @liest9488 2 года назад +16

    Amazing video Tim, I have a project where I have to collect a bunch of data out of some API or text file and organize it using my own tables and sorting algorithms. I knew nothing about json or requests before that NBA project. Thinking of doing something similar but for football, with a lot more data. Thank you so much for this.

  • @MatrixAbuz17
    @MatrixAbuz17 Год назад +1

    Your path finder project helped me so much towards building projects. Thank you. Was subscribed to you since 2019. You’ve grown significantly since then. Thank you

  • @jstreifel
    @jstreifel Год назад +1

    Excuse me while I mop my drool off my desk.... lmao Wow! This is most complex project and best explanation of each step, with a recap/walkthrough at the end to add a cheery on top video I have ever seen! Amazing work Tim!

  • @confidencenyirenda87
    @confidencenyirenda87 2 года назад +18

    I had to pause and appreciate you mentioning Zimbabwean Dollar Haha... I come from Zimbabwe🇿🇼.. Dont know why I am excited that you mentioned it LOL.

  • @DJ-ct6so
    @DJ-ct6so Год назад +1

    Excellent. As a spinoff, Tim, you're a great advertisement for the ease, efficiency, functionality, and productivity that's possible using Python. Many thanks for uploading, it's obvious the amount of time that's gone into this (software development has been my career since I left high school in 1979 so hopefully I know what I'm talking about, lol). My last work-related project was uploading invoices in JSON format to the XERO accounting system via its API while also having to comply with OAuth2 (multi factor) authentication. I'm new to Python hence I was interested to compare the commands that you used for GETs to URL endpoints. So once again, many thanks.

  • @sagar1206
    @sagar1206 2 года назад +2

    Thanks Man for such quality content for students who needs such projects to work upon !!

  • @vicious_slayer
    @vicious_slayer 2 года назад +1

    I wouldn't be here without your videos. Easy and simple.

  • @universecode1101
    @universecode1101 2 года назад +9

    Honestly I want specialize myself as Javascript / React developer, but after that I want to learn Python and this channel man is the best. So I'm almost ready 😜

    • @manu-gt9gr
      @manu-gt9gr 2 года назад +1

      FastApi and django are love! with django you can manage data base and do the frontend to, with fastApi you can make APIS realy fast. i really like python, but javascript is great to. i use both.

    • @jonprumeier9900
      @jonprumeier9900 2 года назад

      Everything you can do with Python (except the ML and Data Science Stuff) you can also do very great with JS. Why don't you just try to do the projects using JS? Maybe adding a GUI with React :)

    • @jas4768
      @jas4768 2 года назад +2

      Why don't you do both at the same time? Create a web application with front end using React and JS, and a backend using Python-Flask. Great way to learn.

  • @crystallinqq59
    @crystallinqq59 2 года назад

    Another Banger! Thanks a lot! Helped train for my exam

  • @ChessQuickiesEcon
    @ChessQuickiesEcon 2 года назад

    Thank you Tim!
    These types of videos are the ones i Really like, ty!

  • @AlwaysHonestReviews
    @AlwaysHonestReviews Год назад +1

    I love these mini projects! I think ive learned ALOT through these small projects. That being said, can you redo the NBA one PLEASE? I watched it all the way through before attempting it and when I did I noticed the NBA api is gone :/ I looked around and tried to find one but im really new to API's which is why I was hoping to follow along with one. Thank you for your videos though! Theyve been really helpful!

  • @Cardinal126
    @Cardinal126 Год назад

    Thanks Tim, it really helped me on one of the projects.

  • @davidx5828
    @davidx5828 2 года назад +1

    Let’s get it Tim!! I know you love Python the most but do some more Java things too, please and thank you.

  • @niema3redouane565
    @niema3redouane565 2 года назад +4

    that's a great video . Could you please do other python projects using data structure and algorithms

  • @lukedamkoehler1899
    @lukedamkoehler1899 2 года назад

    Fantastic as always! Thanks!

  • @ThomasTheGoose
    @ThomasTheGoose 2 года назад +2

    Love your videos! there so helpful for any stage of python coders

  • @siddhants.thakur6043
    @siddhants.thakur6043 Год назад

    Amazing work man, thanks.

  • @JabmarMusic
    @JabmarMusic 2 года назад +1

    Great job. Very interesting apps clearly explained.

  • @ayeshakhanam9427
    @ayeshakhanam9427 2 года назад

    Thank you so much for your efforts helped a lot!

  • @someone9493
    @someone9493 2 года назад +1

    Thank you! You're the best! 🙂

  • @username34769
    @username34769 2 года назад

    this might be late, but when using curses i get the following error "Lines Values must be between >= 2 and

  • @riadhidriskhodja6825
    @riadhidriskhodja6825 2 года назад +3

    Super useful, an advanced version would be great thank you for the hard work 🙏

  • @Myfriendmrlack
    @Myfriendmrlack 2 года назад +2

    Awesome tutorial, thank you! Where do you find all your free json files?

  • @markbuttress4703
    @markbuttress4703 2 года назад +2

    Hi Tim, I did the shortest path which did run but now the wrapper is not working - I get a cannot import name ....error

  • @guyfawkes6930
    @guyfawkes6930 2 года назад

    Man!!! That's what I needed 😃

  • @mna159
    @mna159 2 года назад

    This is cool. Please continue such tutorials. 👍

  • @himanshuop8
    @himanshuop8 2 года назад +1

    8:52 as soon as I run it code exits with "Redirection not supported". What should I do?

    • @spacetimevideostudio109
      @spacetimevideostudio109 2 года назад +1

      I also had the same issue, I'm using pycharm. So what I did; Click Run on the tab - edit configuration - select Emulate terminal in output console - Apply - Ok

    • @mounaelhajji339
      @mounaelhajji339 2 года назад

      try running it on the terminal if you're using VS. I had the same issue when I run it clicking the run button

  • @johnwall6585
    @johnwall6585 2 года назад

    Very well explained, super useful

  • @abelgreen363
    @abelgreen363 2 года назад +3

    Tim, where does the endpoint url come from for the currency converter project? If i wanted to do this project for a similar project, how would i know what base_url and endpoints to use? Those seem to just be given to us in both these tutorials, but i'd like to know how i would be able to derive that myself.

  • @nikitaandriievskyi3448
    @nikitaandriievskyi3448 2 года назад +2

    Please, do more of these. Could you also show how to combine Python script with JavaScript?

  • @morrischoga1581
    @morrischoga1581 Год назад

    H ad to pause & appreciate the mention of my country 🇿🇼 2:58

  • @krystofvavra9370
    @krystofvavra9370 2 года назад +2

    [Currency converter]
    i just dont get where the string in endpoint come from. Can someone tell me pls? :) the API website is telling you somewhere or what?

  • @aronds24
    @aronds24 Год назад +1

    😢😢1st project it says redirection not supported

    • @muhammaddin1456
      @muhammaddin1456 10 месяцев назад

      happened to me too, don't use pycharm for that one, use VS code

  • @fustigate8933
    @fustigate8933 2 года назад

    Good luck getting 1 million!!!

  • @gomezgelvezgvm
    @gomezgelvezgvm 2 года назад +1

    Thank You Very Much for Your Sharing !
    I have a dude It is My First Try With Python...
    In Your Code Files Where We Find "Module Requests"
    Greetings And Go On Inspire Us!😇👍

  • @Krisler12
    @Krisler12 2 года назад +1

    Hi!
    Supposing you have some secret JavaScript functions that you don't want anyone to know. Also, that code (functions) are very resource consuming and this is why they need to be client side and not server side so you can't write those functions in python or php.
    Also, obfuscation of JavaScript is not useful since it can be easily deobfuscated or seen by placing a breakpoint in the debugging tools in the browser.
    This been said, could you make, please, a tutorial teaching us the best way to protect your secret JavaScript functions without paying for third party services?
    Thank you so much in advance!

  • @Lorryduckie2
    @Lorryduckie2 Год назад

    hi Tim, nice content as usual. What is the VSC formatter that you are using for Python?

  • @swastikpathania5231
    @swastikpathania5231 Год назад +3

    the whole video was quite informative but I'm not able to use the NBA api website can anyone help

  • @keithcaldwell8524
    @keithcaldwell8524 2 года назад

    Excellent and thanks again Tim. Termendous resource.

  • @ryanjacob8957
    @ryanjacob8957 2 года назад

    What cmd did you use to comment those lines at 12:05 ?

    • @misimacko
      @misimacko 2 года назад

      if you are using PyCharm, it is: Ctrl + /

  • @xyoyos
    @xyoyos Год назад

    correct me if I'm wrong, but to make the 1st project work without a current_pos variable, you need to give the row,col variables the path[-1], and that will give the "current" position, the last position that was added to the path list.
    great tutorial nevertheless. continuing to the 2nd project 😉

    • @vedangjadhav6657
      @vedangjadhav6657 Год назад

      Hey, i am getting this row, col none typeerror. If you have solved this can you share with me?
      thank you

  • @Working800
    @Working800 2 года назад

    That currency proyect seems really useful to me, I don't know if it's laziness but open the browser, type "currency converter CAD to DOM", clicking one input field then the other it's just too much, I began learning python to automate my stuff 🤣

  • @noisee5846
    @noisee5846 2 года назад +1

    teams.sort(key=lambda x: int(x['ppg']['rank'])) in the nba project doesnt work on pycharm, it gives the error
    "invalid literal for int() with base 10: '-' "
    can someone help me??

  • @RapFanMan1
    @RapFanMan1 2 года назад +1

    Keep on this bro it's enjoyable ❤️❤️❤️

  • @dsmrocker
    @dsmrocker 2 года назад

    Can someone explain to me whats happening with `def find_start(maze, start):`? How is the parameter `start` getting the variable `start` in the function `def find_path()`? I thought functions couldn't use variables from other functions because they are local.

  • @davidsaunders216
    @davidsaunders216 2 года назад

    Is this database for basketball stats no longer active. I am getting an error even when running Tim's code that says: ValueError: invalid literal for int() with base 10. This error didn't come up until I got to the final step of the project ranking teams by rank(line 37-38 of the code). On previous parts I wasn't getting active game data even when games were taking place. I enjoyed the tutorial just didn't know if there was a new link for this .json file so the code can execute correctly.

  • @gabrielroomvm6209
    @gabrielroomvm6209 2 года назад

    GREAT CONTENT

  • @OtotoZZZ
    @OtotoZZZ Год назад +1

    I did the first project exactly how you did, but when I made a bigger maze, 'stdscr.addstr(i, j*2, value, RED)' in print_maze(maze, stdscr, path=[]) doesn't work.

    • @OtotoZZZ
      @OtotoZZZ Год назад

      something about a 'addwstr() returned ERR'

    • @OtotoZZZ
      @OtotoZZZ Год назад

      answer pls i love this program

    • @browniemagico5811
      @browniemagico5811 Год назад

      for i , row in enumerate(maze):
      for j, value in enumerate(row):
      if (i, j) in path:
      try: stdscr.addstr(i,j*2, "X", RED)
      except curses.error: pass
      else:
      try: stdscr.addstr(i, j*2, value, BLUE)
      except curses.error: pass

    • @Lorryduckie2
      @Lorryduckie2 Год назад

      @@OtotoZZZ it's probably related to screen size. In a nutshell it is not printing the string. Try to either adjust manually/auto the screen (terminal)

  • @billlawhorn3285
    @billlawhorn3285 2 года назад

    This is an incredibly helpful video but I am getting an error message using linux in the wrapper(): could not find terminal. Help would be appreciated. Thanks.

  • @diegoattisani835
    @diegoattisani835 2 года назад

    What theme do you use Tim?

  • @thefist3455
    @thefist3455 2 года назад

    *breathfirst*
    why is it not possible to write “new_path = path.append(neighbor)” when i add the new neighbor to the path?
    why do i have to write “path + [neighbor]”?
    thanks for helping.

  • @usamahussain4461
    @usamahussain4461 2 года назад

    this is quite useful. But i found the first one to be difficult. If i could get an advise on how to approach these problems...

  • @darasingh503
    @darasingh503 2 года назад

    Extent 😍I hope you are great day 👌😄

  • @msd2016peak
    @msd2016peak Год назад

    when i try to runb import curses, a exception is throw, how do i fix it

  • @masekin
    @masekin 2 года назад +1

    Thank you! I can't understand these yet, lol. Hopefully I will in the future, thanks to you.

  • @ΧρήστοςΨυρούκης
    @ΧρήστοςΨυρούκης 2 года назад

    what color theme do you use
    Please tell me

  • @kansis4734
    @kansis4734 Год назад

    pip install request doesnt work for me even though I have the newest pip version

  • @bigfloppa6755
    @bigfloppa6755 2 года назад

    with the path finder i made the maze 50x50 but its keep crashing pls help

  • @Betabdullah
    @Betabdullah 2 года назад

    Thanks tim

  • @alex45688
    @alex45688 2 года назад

    ModuleNotFoundError: No module named '_curses' i am getting this error even though i have installed windows curses

  • @Peaktraderr
    @Peaktraderr 2 года назад

    Can you make a video on step by step guide to become a Blockchain Developer??
    Please

  • @nikhildhoka321
    @nikhildhoka321 2 года назад +1

    Hey tim the API is no longer giving out data. So it would be great if you could look into it and help me out asap

    • @dennisgitahi3193
      @dennisgitahi3193 Год назад

      Same here, seems like the endpoints have changed.

  • @tcgvsocg1458
    @tcgvsocg1458 2 года назад

    excellent thx a lot

  • @firosiam7786
    @firosiam7786 2 года назад

    If you can please do a go projects vedio like this

  • @manu-gt9gr
    @manu-gt9gr 2 года назад +2

    this is nice content, beginners content is boring xD

  • @Sedri14
    @Sedri14 6 месяцев назад +1

    The NBA api doesn't work anymore...

  • @MargieBrown-z3q
    @MargieBrown-z3q 10 месяцев назад

    cool video)

  • @thiagodfs81
    @thiagodfs81 2 года назад +1

    what is the name of this vscode theme?

  • @technicalidea9465
    @technicalidea9465 2 года назад

    I want to know how to record and master my own ?

  • @peterpepelanov9115
    @peterpepelanov9115 Год назад

    Is it just me, but for the path finder, i get nothing as an output(I even copied and pasted the exact code from github)… it just prints out nothing, any ideas why?

    • @heinzae
      @heinzae Год назад

      hi peter - no me too. unfortunately i am guessing somehow curses doesnt work anymore for latest python or something like that. can someone please help us!

    • @heinzae
      @heinzae Год назад

      hey Peter i figured it out. basically you must be using a python post 3.09 - this won't work with curses. you have 2 options. 1 you can downgrade your python. or you can create a virtual environment to run python 3.09 and you should be good. best of luck!

    • @Ana-oc1ht
      @Ana-oc1ht Год назад

      I installed wsl (windows server for linux) enabled it on vs code, then it worked.

  • @arroneisen8646
    @arroneisen8646 2 года назад +1

    I got an error message: redirection is not supported... I cannot continue :(

    • @Thomas-kj8ct
      @Thomas-kj8ct 2 года назад

      Inside your configuration, you have to click on the square that says 'Emulate terminal in output console'

    • @Sahilsharma-sk5vr
      @Sahilsharma-sk5vr 2 года назад

      @@Thomas-kj8ct bro i am getting the same error i clicked on emulate terminal in output console but still same error is showing ?

  • @knalg
    @knalg 10 месяцев назад +1

    It seems the basketball API does not exist anymore.

  • @prashastinama9355
    @prashastinama9355 2 года назад

    curses module is not working on my PC... I tried on pycharm and on cmd as well

    • @jasondelong83
      @jasondelong83 2 года назад

      did you get an error like AttributeError: 'NoneType' object has no attribute 'fileno'?

    • @SquidSnipes
      @SquidSnipes 2 года назад

      @@jasondelong83 i got _curses module not found

  • @stanislausbohmearteaga4729
    @stanislausbohmearteaga4729 2 года назад

    I used pycharm as an editor in windows and I got an error in line 1 where says "import curses" and in curses/__init__.py line 13 where says "import...". The error is "No module named '_curses' and I've done exactly as told in video

    • @aahaanalibhujwala6116
      @aahaanalibhujwala6116 2 года назад

      pip install curses in pycharm terminal

    • @Thomas-kj8ct
      @Thomas-kj8ct 2 года назад +1

      I had to use 'py -m pip install windows-curses' in the terminal for pycharm.

  • @KossiNOUMAGNO
    @KossiNOUMAGNO Год назад +1

    That's great

  • @beachego2654
    @beachego2654 2 года назад +1

    What theme do you use in VSCode?

  • @mihaelacostea5783
    @mihaelacostea5783 2 года назад

    There is a word you say very often that I dont understand, sounds like "cudders"....what do you mean? What is cudders?

  • @YogeshTutorials
    @YogeshTutorials 2 года назад +1

    Nice

  • @killaburribo
    @killaburribo 2 года назад

    is this how fantasy sports apps are able to get real time stats and scores?

  • @pravachanpatra4012
    @pravachanpatra4012 2 года назад

    Tim can you make a DJANGO project tutorial

    • @jimstand
      @jimstand 2 года назад

      Tim has made 24 Django videos. Start with those videos.

    • @pravachanpatra4012
      @pravachanpatra4012 2 года назад

      @@jimstand nah i already know the basics of Django, I’m taking about advanced Django projects like Chat app using sockets, social media clone and etc

    • @jimstand
      @jimstand 2 года назад

      @@pravachanpatra4012 Well then say that in your first post. Don't wait for someone to ask you.

    • @pravachanpatra4012
      @pravachanpatra4012 2 года назад

      @@jimstand gotcha 👍

  • @NoodleMaster1337
    @NoodleMaster1337 8 месяцев назад

    16:06

  • @programmingchannel9739
    @programmingchannel9739 2 года назад

    Unfortunately, I got an email with a free API, but it's not valid.

  • @ys3860
    @ys3860 2 года назад

    You my friend 🙂

  • @lain2k3
    @lain2k3 2 года назад +1

    Following along with the currency converter, when I have identical code to Tim on screen, I am getting an error that says 'data' variable is undefined. The only way I have found to fix it is to move all of this:
    endpoint = f"api/v7/currencies?apiKey={API_KEY}"
    url = BASE_URL + endpoint
    data = get(url).json()['results']
    data = list(data.items())
    to a global variable. It simply won't work if it's defined in the get_currencies function.
    Does anyone know what's happening?

  • @cMaXeJIJIo
    @cMaXeJIJIo 2 года назад

    Please, increase your voice volume level. Not up to the ceiling, only halfway from what it is in this vid-it's going to be just right!

  • @sajannepali9996
    @sajannepali9996 2 года назад +1

    THE PATH FINDER ALGORITHM HAS BUG

  • @martinpretto6365
    @martinpretto6365 2 года назад

    loved the way to explained it at the beginning, but you started going too fast. I can copy but nothing stays bcz I'm just struggling to pause and play

    • @Jay16872
      @Jay16872 2 года назад

      hit the settings wheel on the video and adjust playback speed

  • @Lapusso650
    @Lapusso650 2 года назад

    Where do you get your motion graphics?

  • @class11e99
    @class11e99 2 года назад

    can't use curses, pls help

    • @joachimdewett9193
      @joachimdewett9193 2 года назад

      in terminal pip install pipenv and then pipenv shell and pipenv install curses and run this app throught terminal

  • @ThankYouESM
    @ThankYouESM 2 года назад +1

    Similar to the path finder... I've been attempting to create a Self-Avoiding Walker that should look almost like a maze, but... is a single connected line. Had started with backtracking, then found out it can take virtually forever to create even a 10x10. Now my latest solution is for it to fully outline mazes, however... it seems like I might have to do a test run for figuring out where it should walk, printing which path avails.

    • @pamlongwood4217
      @pamlongwood4217 2 года назад +1

      who cares

    • @ThankYouESM
      @ThankYouESM 2 года назад +2

      @@pamlongwood4217 Found out over 1672 people care from having shared my code online. Then there's also a much larger following people in regards as shown on The Coding Train.

    • @pamlongwood4217
      @pamlongwood4217 2 года назад +1

      ​@@ThankYouESM not a single person has liked or replied to your comment so how many people care...0

    • @ThankYouESM
      @ThankYouESM 2 года назад +3

      @@pamlongwood4217 I thought you were asking how many people care about such projects in which elsewhere I have over 1676 people now maybe apparently because I have dedicated followers there and not here. Also... I don't see any valid reason at all for you to be rude to me since billions of people share the same type of posts that often get liked. I guess what you're trying to tell me is that this channel doesn't have any nice people... that it's a complete waste of time for anybody to comment on this channel. Also... the vast majority of comments that people make on RUclips have never been liked... so... no big deal at all... we just live out our lives very happily throughout anyway.

    • @pamlongwood4217
      @pamlongwood4217 2 года назад +1

      @@ThankYouESM where is your other fan base... please let me know 🤣🤣🤣

  • @juanfeliperenza1604
    @juanfeliperenza1604 2 года назад

    Does anyone know which is the app/web that Tim uses as a board?

  • @Jack_Frost13
    @Jack_Frost13 2 года назад +1

    Wow, now I can call myself an intermediate. I thought these projects will be harder

    • @sunilkashyap7297
      @sunilkashyap7297 2 года назад

      teams.sort(key=lambda x: int(x['ppg']['rank']))
      ValueError: invalid literal for int() with base 10: '-' solutions

  • @pratheekbhat9647
    @pratheekbhat9647 2 года назад

    you could have explained it better, the bfs algo.

  • @tanjt107
    @tanjt107 2 года назад

    I understand you want to keep it simple, but putting the API key in the code is something should be avoided.

  • @rhapsodyman100
    @rhapsodyman100 2 года назад

    Hi, does anyone know how to enable autocomplete for curses library in VS code? Thanks

  • @ThsHunt
    @ThsHunt 2 года назад

    1:04:45 1 mim and 60 secs is same

  • @dubala2322
    @dubala2322 2 года назад

    Anyone having problems with Lambda?

    • @misimacko
      @misimacko 2 года назад

      use it with small capital 'l' instead of "L"

  • @srijan7593
    @srijan7593 2 года назад

    3rd

  • @sajannepali9996
    @sajannepali9996 2 года назад

    WE WANT A ALGORITIHM FREE FROM BUG !!!!