30 Days of Python - Day 10 - Files - Create, Read & Download - Python TUTORIAL

preview_player
Показать описание
Day 10 - Files - Create, Read & Download

In 30 Days of Python, I'll teach you the fundamentals of Python. We created this series as an introduction to programming with Python.

Why Python? It's a very popular way to writing computer programs and automations with board applications: SpaceX & NASA use it to launch rockets, Tesla with autonomous driving, Instagram as a web app backend, Intel to pilot drones/UAVs, and many many others.

What you can do with Python is nearly endless:

Run powerful web applications
Fly drones and launch rockets
Run autonomous robots like drones and self-driving cars
Build connected systems with Arduino and Raspberry PI
Automate business intelligences and perform financial analysis
Machine learning including deep learning
And many more ways
That list is fancy but don't let it scare you. Python is just a tool for writing a series of step-by-step automation rules and that's exactly what software is: a collection of rules for a computer to follow.

The right tools in the right hands can impact the world in such amazing ways.

Shakespeare had very few tools for writing plays and yet he continues to influence our entertainment despite being long gone. Creativity mixed with the right tools can transform how we do everything or why we do it.

That's why I want to teach you this tool. The world needs your creatively, your perspective, your project.

Let's do this!

Рекомендации по теме
Комментарии
Автор

Best Tutorial On Files and OS paths in python! Thanks for sharing

TechTalkWithNico
Автор

Thought I knew files, but some great little extras. Thanks for these Day series. Really enjoying

stuartjacobs
Автор

You are amazing bro. You very well deserve more than a million subscribers.

Adks
Автор

awesome! Thank you! All your tutorials are essential and practical with right pace at the right place.

jeybek
Автор

Dude your tuts are so in-depth, which is an awesome thing!!!! Thanks for sharing!

billnjoroge
Автор

Awesome work. Thanks a lot. The last return should be dl_path.

briankoech
Автор

For Windows, there's another way, too, which I prefer. While mentioning the file path, instead of typing single back-slash (\), type double back-slash (\\).
Eg: email_txt = "templates\\email.txt"
Hope this helps!

neerajkhadagade
Автор

How to do this in windows .., all the time when do run in terminal it is showing file directory not found and .py file not adding in terminal

nityasathishdustaker
Автор

Works Perfectly Thanks a lot. Can I use the code as it is to create an email client for production with django?

funprograms
Автор

32:29 “return new_dl_path?” I believe should be “return dl_path”

fmb
Автор

Good Stuff but I'm definitely going to have to watch this one a couple times to get it

chuckmaddox
Автор

Thanks man you really taught an awesome content😊

GeoPoly
Автор

Thank you...it's very helpful for improve my knowledge.

TECHY-
Автор

Why do you use terminal to run the codes?
Why not use the "run" in VS code? It takes much less time

jkk-gc
Автор

what is the difference between wget, request, urllib, imageio modules wrt downloading number of files and type of files.

nehalbafna
Автор

Love the tutorials and I have been following along with all of them and used them to reference projects that I am working on. I am however having an issue with the path for this on windows. I tried the os.path.join way that you showed and got a FileNotFoundError: [Errno 2] No such file or directory: 'templates\\email.txt' error. I also tried the way Neeraj recommended below and it still doesn't seem to work. Files are set up in the same path that you showed in the video. Any suggestions on what might be wrong?

johnpattwell
Автор

How to work file download pause and resume functionality in a python program

enamulhuque
Автор

Hey Justin, I created a dir using exist_ok=true, but i cant delete it using os.rmdir() .Any idea WHY?Thanks for the content as always it's amazing!

pnitinvsr
Автор

Sir, how to download image that starts with data://.. ? can we download them using request module?

nehalbafna
Автор

I'm using windows, with python3.8.3. It's strange that the shell reported error every time when I wrote the path in the first time. So I have to delete something and save and run, and after the shell report error again, i added the deleted things back, and it can run successfully...

danhao