Use ChatGPT to learn to code - the right way
Vložit
- čas přidán 30. 05. 2024
- Visit brilliant.org/PythonProgrammer/ to get started for free and get 20% off your annual subscription.
Thanks to Brilliant for sponsoring this video :-)
ChatGPT with the GPT-4 model makes a very good coding mentor.
Chapters
00:00 Introduction
00:33 You need a mentor
01:00 Prompting ChatGPT to create a python course
02:03 A more specific prompt on decorators
02:40 Tic Tac Toe advice from GPT-4
03:33 GPT-4 explaining code
04:40 GPT-4 makes Tic Tac Toe
05:55 Thanks Brilliant!
Learn Data Science (affiliate)
🎓 Data Quest - bit.ly/3yClqbZ
Learn Python with Giles
🎓 Exploratory Data Analysis with Python and Pandas - bit.ly/2QXMpxJ
🎓 Complete Python Programmer Bootcamp - bit.ly/2OwUA09
📚 My favourite python books for beginners (affiliate links)
📗 Python Crash Course 2nd Edition amzn.to/33tATAE
📘 Automate the Boring Stuff with Python amzn.to/3qM1DFl
📙 Python Basics - A Practical Introduction to Python 3 amzn.to/3fHRMdb
📕 Python Programming An Introduction to Computer Science amzn.to/33VeQCr
📗 Invent Your Own Computer Games with Python amzn.to/3FM3H4b
🆓 Free Python Resource
python-programming.quantecon....
(This is a great introduction to python)
⚙ My Gear
💡 BenQ Screen Bar Desk Light - amzn.to/3tH6ysL
🎧 Sony Noise Cancelling Headphones - amzn.to/3tLl82G
📱 Social Media
/ gilesmcmullen
/ gilesmcmullen
👌 SUBSCRIBE to ME!👌
/ @gilesmcmullen
#chatgpt #learnpython #chatgptcoding - Věda a technologie
Visit brilliant.org/PythonProgrammer/ to get started for free and get 20% off your annual subscription.
Thanks to Brilliant for sponsoring this video :-)
@gilesmcmullen, you did not answer the main question, why is learning Python programming at all today if GPT-4 programs faster and more competently?
I like the idea of having a mentor with infinite patience for your mistakes, and guidance out of them.
One other idea: give ChatGPT some good code (or have it generate it) but ask it to comment out some of the key logic, leaving text explanation of the logic instead, so that you can fill in the blanks yourself and hence get some active recall (akin to how Benjamin Franklin learned to write so well, by cutting out words from high quality essays).
That's a genius idea! Nice analogy with Ben Franklin too.
Great idea. Whar would the prompt look like?
Thanks for the video! I haven't done any coding since the '00s, but I got back into doing it as a hobby this past weekend because I realized that I could use Bing Chat as my coding mentor. And it was this renewed interest in Python that led me to subscribe to your channel a couple of days ago, haha.
i've been learning python (coming from perl) by asking chatgpt to code things and then asking it to explain things i don't understand. i think this approach should scale to large projects, while i arguably never _know python_ in the conventional sense. this is probably the near future of coding, and what we consider coding will be seen as like writing in assembly language. that big an evolution, overnight
tried it today for the first time and my mind is blown. I am most impressed how you can tell it in plain language what you want to change and it will give you an updated version of the code. Rinse and repeat till you get something working. I had no practise or knowledge on how to use Html canvas and was just asking it to make me simple animations, game, etc, react to events, display a counter in the corner of the canvas that counts my clicks on the bouncing circle, etc. its really impressive and kind of depressing at the same time
How can you try it out exactly? YOu gotta pay first? Be "chosen one"?
Got very excited with your first video on GPT and making exams and curriculum etc.
But for Medicine, it is quite bad
even better if you use GPT-4 together with Bings chat feature because it has access to the internet
Don't forget that bing chat is using gpt 4. Been using that as well as well as a number of the alternatives.Each has its strengths and weaknesses imho. Up to you to decide which is best for you.
Gr8 info vid.
Please make a vid on roadmap to learning python specifically for stock chart analysis , getting trade signals using chart and statistical analysis of stocks.
I mean make a vid on course tailored cut for only stocks analysis.
Regards
Farid
Ran the same prompt you did for the graphical tic tac toe. It gave this `Creating a full graphical Tic Tac Toe game in Python requires quite a bit of code. I'll provide you with a basic outline of how to do this using the Pygame library.`
It gave an outline with no logic....
Using GPT-4
Been doing this since gpt 3 for about a month. And I only found out about it during all that hype. Maybe a quick learner to start with?
Hey, idk if you would ever see this, but here it goes. So I finished a bootcamp and udemy course on python. I still feel highly not confident. I got accepted to an internship which I use chatgpt a lot. Literally I cleverly use it and manage to fix issues etc. How can I improve my skilss in python when there is chatgpt? Should I solve a hackerrank problem daily? I mean i dont want to be a chtgpt coder.
How are you using GTP-4? I looked about paying plus and even doing that I wouldn't be able to use CHAT GPT-4.
Another thing you can do is ask chatgpt what parameters does it require. If you don't really know how to be specific then let it ask you the specifics.
the only problem I had is when we start a new chat, it doesn't retain the information from the previous chats. And I don't want an infinite long script of information that can be pretty hard to navigate. Anybody has some suggestion for this issue
Hi Giles, being a huge fan of Tkinter, could you please make a video focusing on ChatGPT and python GUIs. I have tried a few prompts and would love to see you insights.
There's no reason you can't apply what's shown in this video and substitute tkinter to make gui programs. It's much the same but you change the subject/prompt to reflect what you want
@@jamestakac8951 Yeah the tkinter is going well with some tweaking in what i ask for, getting some good responses. Looking forward to trying GPT4 as GPT3 seems to be running out of characters before my code is complete.
man you are really cool always like your video and pure british accent , love from Bangladesh
"It can solve the fine structure constant, and that was pretty good" 😆
I’ve found ChatGPT 3.5 not as good writing code as GPT 4
Is there any point learning to code now if it does it all for us? 🤔
It doesn’t. It can do simple things. It helps with that and I use it every day. But to create complex software which does exactly what you want it to do, it would require a enormous amount of input for it to create something even remotely close to what you want it to be.
As I see and use it, is using my own knowledge to break down complex programs and algorithms to a point which is easily communicateable (is that a word?) to ChatGPT. Using the resulting output in my program painting the big picture. And that’s it’s strength. It doesn’t make us programmers useless, it makes us orchestrate it and putting the software together as needed and as we please.
ChatGPT doesn’t replace you, it makes you better and faster programmer.
I guess it’s good to learn so you can understand the code it gives you and test it and see if it works properly
A different you-tuber talked about how it might make some Junior Developers obsolete at first, while Seniors have these chat bots create boiler plate code. I feel that until it is actually artificial intelligence, there will still need to be someone baby sitting the code, not to mention startups, I don't foresee many of them not hiring developers.
@@Howard2k79 It's also good at creating boilerplate code. But keep in mind that it makes mistakes. I'd highly advise having a reasonable grasp of the programming language(s) you wish to ask it to help you with before using it for that purpose. Why? Cuz when it gives you incorrect code (and it does here and there), you won't know what to do with it or how to get gpt to fix it
@@juanmacias5922 Very astute observation imho
my version of chatGPT is not GPT 4 , how to make it version 4
Buy the version 4 subscription
Judging by what I’ve been reading the only jobs for the very few coders that will remain employed within the next ten years is to check code rather than write it and it will be a very monotonous task. If you enjoy it or want to hack then fair enough.
@@innocentiuslacrim2290 yes, remember the 'paperless office' lol, I think more paper was consumed with computers than ever with typewriters! And there are still billions of lines of cobol in play, I suspect we may see a 'boom' in coding projects...
HOW TO ACCESS GPT4? DO YOU NEED TO UPGRADE?
yes
@@Charles-pp2ym sad. Can't afford sir
2 ways. Either pay for gpt plus or use bing
@@jamestakac8951 which is the more accurate?
It's noughts and crosses ! Tic tac toe indeed 😀
Bro first comment 👍👍
What do you think about our future? Will AI replace us as programmers?😢
Id pay money to hear and watch this dude scream "FUCK" as loud as he can! 😂😂😙😙
Lol, teachers mad sweating rn
Its good a tool, your not going to know what to type for eveything. So use it to guide you making small project. Your learning concepts that way, it is only a tool to save you time. Talk to it like a person.
441
Bruh it has 25 cap for 3 hours and you r recording a video like that. Are you good?
Weak
Your mum
Please make video on review Fluent Python
People are just going to realize they can do all of this themselves even if they didn't know how to before and decide they don't need you even if it takes some effort.
Stupid out of context thumbnail faces are unnecessary 😢
Please make video on review Fluent Python
Please make video on review Fluent Python
Please make video on review Fluent Python
Please make video on review Fluent Python
Please make video on review Fluent Python
Please make video on review Fluent Python
You can use the exact same ideas presented in the video for that purpose
Please make video on review Fluent Python