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
@@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!
@@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.
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.
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
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!
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.
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 😜
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.
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 :)
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.
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!
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
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.
[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?
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!😇👍
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!
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 😉
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 🤣
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??
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.
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.
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.
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
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.
*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.
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?
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!
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!
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
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?
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 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 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.
Nice! Excited to learn more - I feel like these “follow along” projects are always so useful. 😀
Pooja I think you are very happy today 😊
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
@@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!
@@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.
@@miladbannourah7798 Terrible advice and much slower for learning.
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.
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
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!
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.
Mafara here 😅
Yaaas tiri tese
Zvakaoma😂
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.
Thanks Man for such quality content for students who needs such projects to work upon !!
I wouldn't be here without your videos. Easy and simple.
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 😜
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.
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 :)
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.
Another Banger! Thanks a lot! Helped train for my exam
Thank you Tim!
These types of videos are the ones i Really like, ty!
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!
Thanks Tim, it really helped me on one of the projects.
Let’s get it Tim!! I know you love Python the most but do some more Java things too, please and thank you.
that's a great video . Could you please do other python projects using data structure and algorithms
Fantastic as always! Thanks!
Love your videos! there so helpful for any stage of python coders
true
Amazing work man, thanks.
Great job. Very interesting apps clearly explained.
Thank you so much for your efforts helped a lot!
Thank you! You're the best! 🙂
this might be late, but when using curses i get the following error "Lines Values must be between >= 2 and
Super useful, an advanced version would be great thank you for the hard work 🙏
Awesome tutorial, thank you! Where do you find all your free json files?
Hi Tim, I did the shortest path which did run but now the wrapper is not working - I get a cannot import name ....error
Man!!! That's what I needed 😃
This is cool. Please continue such tutorials. 👍
8:52 as soon as I run it code exits with "Redirection not supported". What should I do?
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
try running it on the terminal if you're using VS. I had the same issue when I run it clicking the run button
Very well explained, super useful
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.
Please, do more of these. Could you also show how to combine Python script with JavaScript?
H ad to pause & appreciate the mention of my country 🇿🇼 2:58
[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?
I think it would come in the email with the API key.
😢😢1st project it says redirection not supported
happened to me too, don't use pycharm for that one, use VS code
Good luck getting 1 million!!!
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!😇👍
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!
hi Tim, nice content as usual. What is the VSC formatter that you are using for Python?
the whole video was quite informative but I'm not able to use the NBA api website can anyone help
same here
Excellent and thanks again Tim. Termendous resource.
What cmd did you use to comment those lines at 12:05 ?
if you are using PyCharm, it is: Ctrl + /
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 😉
Hey, i am getting this row, col none typeerror. If you have solved this can you share with me?
thank you
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 🤣
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??
Keep on this bro it's enjoyable ❤️❤️❤️
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.
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.
GREAT CONTENT
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.
something about a 'addwstr() returned ERR'
answer pls i love this program
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
@@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)
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.
What theme do you use Tim?
*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.
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...
Extent 😍I hope you are great day 👌😄
when i try to runb import curses, a exception is throw, how do i fix it
Thank you! I can't understand these yet, lol. Hopefully I will in the future, thanks to you.
what color theme do you use
Please tell me
pip install request doesnt work for me even though I have the newest pip version
with the path finder i made the maze 50x50 but its keep crashing pls help
Thanks tim
ModuleNotFoundError: No module named '_curses' i am getting this error even though i have installed windows curses
Can you make a video on step by step guide to become a Blockchain Developer??
Please
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
Same here, seems like the endpoints have changed.
excellent thx a lot
If you can please do a go projects vedio like this
this is nice content, beginners content is boring xD
The NBA api doesn't work anymore...
YeahYeah
cool video)
what is the name of this vscode theme?
monokai
I want to know how to record and master my own ?
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?
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!
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!
I installed wsl (windows server for linux) enabled it on vs code, then it worked.
I got an error message: redirection is not supported... I cannot continue :(
Inside your configuration, you have to click on the square that says 'Emulate terminal in output console'
@@Thomas-kj8ct bro i am getting the same error i clicked on emulate terminal in output console but still same error is showing ?
It seems the basketball API does not exist anymore.
curses module is not working on my PC... I tried on pycharm and on cmd as well
did you get an error like AttributeError: 'NoneType' object has no attribute 'fileno'?
@@jasondelong83 i got _curses module not found
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
pip install curses in pycharm terminal
I had to use 'py -m pip install windows-curses' in the terminal for pycharm.
That's great
What theme do you use in VSCode?
There is a word you say very often that I dont understand, sounds like "cudders"....what do you mean? What is cudders?
Nice
is this how fantasy sports apps are able to get real time stats and scores?
Tim can you make a DJANGO project tutorial
Tim has made 24 Django videos. Start with those videos.
@@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
@@pravachanpatra4012 Well then say that in your first post. Don't wait for someone to ask you.
@@jimstand gotcha 👍
16:06
Unfortunately, I got an email with a free API, but it's not valid.
You my friend 🙂
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?
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!
THE PATH FINDER ALGORITHM HAS BUG
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
hit the settings wheel on the video and adjust playback speed
Where do you get your motion graphics?
can't use curses, pls help
in terminal pip install pipenv and then pipenv shell and pipenv install curses and run this app throught terminal
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.
who cares
@@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.
@@ThankYouESM not a single person has liked or replied to your comment so how many people care...0
@@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.
@@ThankYouESM where is your other fan base... please let me know 🤣🤣🤣
Does anyone know which is the app/web that Tim uses as a board?
Wow, now I can call myself an intermediate. I thought these projects will be harder
teams.sort(key=lambda x: int(x['ppg']['rank']))
ValueError: invalid literal for int() with base 10: '-' solutions
you could have explained it better, the bfs algo.
I understand you want to keep it simple, but putting the API key in the code is something should be avoided.
Hi, does anyone know how to enable autocomplete for curses library in VS code? Thanks
1:04:45 1 mim and 60 secs is same
Anyone having problems with Lambda?
use it with small capital 'l' instead of "L"
3rd
WE WANT A ALGORITIHM FREE FROM BUG !!!!