Hello Navin! I just stumbled upon this and can I just say, I love your way of teaching. Instead of just sitting there and simply instructing us, you play around and experiment with the code, urging us to explore and discover more when we're coding as well! After all, every good programmer should have that curiosity and eagerness to learn! Thanks so much for the tutorial!
Hitting on the like button and subscribing the channel is the only way to thank you Sir.... I really want my college professors to take a coaching class under you... Seriously..!!
I have seen all the 64 videos , but this video making me to learn programming faster and faster ......."That image data converting into image" is very impressive and I am shockeddd 😲....Tq sir for this wonderful videos ,tq tq tq tq tq very much 🤩🥰
Hi Navin, Thank u for the beautiful series, enjoyed and learnt a lot. Specially OOPs and the videos later were very short and to the point. Thank you so much.
Hello Navin Sir, I want to express my heartfelt gratitude for all the effort you put into simplifying the topics. Your presence and the way you explain things in the videos bring us joy and radiate positive energy. I hope you continue in this way, and I wish you all the best in everything you do. Warm regards,
Hey Navin, your videos are amazing, in OOPs you stopped at Polymorphism, please make more videos on Python, topics like database connection, GUI, more on OOPs, etc
Reddy garu data file handling is one of my not Soo favorite topic in python ... But ur video is Soo amazing , just to the point thank you Soo much andi
firstly, your lecture are so help full and i must say thanks... doubts: 1.can we store the structure data into txt files or only in binary files? 2.how we can decide to choose the txt or binary files for ur requirement?
You are best 🙏 guruji I didn't knew anything about python but just because of you i know many of the concepts now. Telusko channel should be made compulsory in school, college.
for data in f: f1.write(data) sir here for the first loop, the first line will get printed in mydata.but y for the second time it is not over writing the second line over first. inspite it is appending everything
Generally when I learnt c , c++ I ignored this concept of files I can't understand that better . But in python you just nailed it and boom I became a pro with your explanation
So simple explanation, amazing video. Here you can simply use an in-built function shutil.copy shutil.copyfileobj(fsrc, fdst[, length]) : ----------------------------------------------------------- Copy the contents of the file-like object fsrc to the file-like object fdst. The integer length, if given, is the buffer size. In particular, a negative length value means to copy the data without looping over the source data in chunks; by default the data is read in chunks to avoid uncontrolled memory consumption. Note that if the current file position of the fsrc object is not 0, only the contents from the current file position to the end of the file will be copied. shutil.copyfile(src, dst) : --------------------------------------- Copy the contents (no metadata) of the file named src to a file named dst. dst must be the complete target file name; look at shutil.copy() for a copy that accepts a target directory path. If src and dst are the same files, Error is raised. The destination location must be writable; otherwise, an IOError exception will be raised. If dst already exists, it will be replaced. Special files such as character or block devices and pipes cannot be copied with this function. src and dst are path names given as strings. #insmot
check for the occurrences of a given word and write the line number and the word location in the line separated by a comma to a file "output.txt" for each occurrence of the word on a new line.
Hi sir. I can finally learn Python all by my own by watching your videos. Thank you so much for clear explanation and putting so much effort on editing the videos. One query: The way we write in C if we want to read/write a file, i.e 'rw' How can we do this in python?
Hey watching ur video .. loved it .. please try to solve this program in Python ' topic = file handling' File F1 = A, B ,C File F2 = p ,q ,r Join the file and output should be like:- A = p B= q C =r If anyone interested solve and write program under my comments
Hi Naveen Can you please explain **Yield** And how any more videos would be added to this playlist ? Kindly ans I would suggest videos should be **1080P** or with more quality, These are great videos, increasing videos quality would add more value for sure, pls do consider for your next videos. Thanks..!!
Hi Navin, I’m a new subscriber. I also a new programmer. I am very happy to find you here, however, How can get Data into you workspace before you started coding? Thank you very much!!!
sir even after watching 8 videos on same topic only u were the one who was able to explain it love ur channel and content sir thanks for the free videos and seamless education u provide us
If you are thinking lerning files handling is useless... No its not, I am working on this files handling from past 2.5 years........ Learn this too. Many developers work on this.
Sir Its really helpful when we get this high level of Teaching without attaining costly classes which are there in market ..... Thank you so much sir !!! But please add videos on CSV and PANDAS it would be helpful .... once again thanks a lot Sir !!!
Sir your awesomeness is infinitely high sir actually my online classes are going on and it's too boring so i started to see your vid my ma'am teaches for 45 mins on what u took only hardly 2 mins she taught only about f.read("myfiles","r") for 45 mins oh my god I learnt upto operating images in hardly 12 mins omg it's fabulous sir our due respects for u sir .... Sir a small suggestions I want to learn ethical hacking please put some videos on that topic please for your regular viewer and may be your student thanks a lot for the videos sir 😍😍😍😍
Hello Sir, Can you please provide tutorial on how to make database connection with python. And if you can just give a practical demo with some small project containing web development (Django) and backend with Python
Yes. I am enjoying the series. But I would like a detailed tutorial on BeautifulSoup and Regular Expressions. If you can please include that in your video tutorials
You can get ride of the line jump with just end=''. Also I believe 'with open(...) as f' is better, and auto-closes the steam of data, so we don't need to use f.close()
Hei, you can watch mine too. The playlists for Python and R provide most of the fundamentals, with detailed ppt and coding window. Source files can be downloaded, you can find the link in the description of the window.
Which image file you want, first copy that image. then after you will find the pycharm location/path in your pc/system. may be the pycharm folder located in 'C' - drive. then you move that specific file location. copied image paste it here ( Here the remember, the copied image where you can pasted. I mean folder name in Pycharm. In case you don't have a any folder, create new folder. Like 'Pooja Pics'.). Now open pycharm, select 'Pooja Pics' folder. Your copied image is their. You have any doubt reply me.
Which image file you want, first copy that image. then after you will find the pycharm location/path in your pc/system. may be the pycharm folder located in 'C' - drive. then you move that specific file location. copied image paste it here ( Here the remember, the copied image where you can pasted. I mean folder name in Pycharm. In case you don't have a any folder, create new folder. Like 'Lakshmi Pics'.). Now open pycharm, select 'Lakshmi Pics' folder. Your copied image is their. You have any doubt reply me.
Hello Navin!
I just stumbled upon this and can I just say, I love your way of teaching.
Instead of just sitting there and simply instructing us, you play around and experiment with the code, urging us to explore and discover more when we're coding as well! After all, every good programmer should have that curiosity and eagerness to learn!
Thanks so much for the tutorial!
Your way of teaching is very very simple so that even a laymen can understand. Simply superb way of explaining stuffs in a programming language
his way of educating not teaching.
best python course in youtube
NAVIN SIR IS THE BEST
This is the best platform i've found to learn. Awesome work :)
What about code with harry.
Hitting on the like button and subscribing the channel is the only way to thank you Sir....
I really want my college professors to take a coaching class under you... Seriously..!!
What if we need to read any specific line from file?
Just mention the print(filenama,readline())once
If you want to read some line then keep it in a for loop
have anyone noticed that even if he doesn't mention the file name(extension) the code will work but when I tried it I must tell the file type 5:28
This topic is little bit confusing but this is so interesting and thanks for this awesome series sir ☺️
I have seen all the 64 videos , but this video making me to learn programming faster and faster ......."That image data converting into image" is very impressive and I am shockeddd 😲....Tq sir for this wonderful videos ,tq tq tq tq tq very much 🤩🥰
Love from Rajasthan !
Saw you on mySirG platform and followed you !
You are having very good explanation skills ! thank You sir
Hi Navin,
Thank u for the beautiful series, enjoyed and learnt a lot.
Specially OOPs and the videos later were very short and to the point. Thank you so much.
Hello Navin Sir,
I want to express my heartfelt gratitude for all the effort you put into simplifying the topics. Your presence and the way you explain things in the videos bring us joy and radiate positive energy. I hope you continue in this way, and I wish you all the best in everything you do.
Warm regards,
Hey Navin, your videos are amazing, in OOPs you stopped at Polymorphism, please make more videos on Python, topics like database connection, GUI, more on OOPs, etc
The last part of the video was something different I learned! Thank you!
Sir these videos are too good. Keep up the good work. You are a genius.
I had a big confusion with this file handling....but after watching ur video its clear now some part i can say.
Thankyou ....
All your videos are very simple and understandable , thanks
Reddy garu data file handling is one of my not Soo favorite topic in python ...
But ur video is Soo amazing , just to the point thank you Soo much andi
firstly, your lecture are so help full and i must say thanks...
doubts:
1.can we store the structure data into txt files or only in binary files?
2.how we can decide to choose the txt or binary files for ur requirement?
You are best 🙏 guruji
I didn't knew anything about python but just because of you i know many of the concepts now.
Telusko channel should be made compulsory in school, college.
Super bro... Chala simple and manchiga explain chesaru
It's generally a good practice to close a file after you're finished processing its contents. Thanks for the awesome vides.
Thank you sir... You are the best teacher ❤❤
Yes sir good topic file handling, generally this topic is ignored.. 🙏🙏..
Thank you for the whole series on Python Navin! Can you please add videos on how to read/write in excel file?
Thanks very much!
You are born for teaching, keep it up Navin.
You know why bro didnt leave a ♥ for you? If you go to the home page of his channel, you will see a sign saying : We dont teach, we educate.
This is the best way of teaching....OMG now I'm a big fan of ur videos....without any doubt we can say that....u r the best teacher😍😊😊😊thank you
the best way of educating. In his home page of his channel bro says : We dont teach we educate.
for data in f:
f1.write(data)
sir here for the first loop, the first line will get printed in mydata.but y for the second time it is not over writing the second line over first. inspite it is appending everything
Mind blowing explanation. You are explaining in very easy way. 👌👌👌
Very well explanation love your channel 👍
Generally when I learnt c , c++ I ignored this concept of files I can't understand that better . But in python you just nailed it and boom I became a pro with your explanation
non programming background, but able to learn easily ..all because of ur great explanation
the last one copying the image in other file was magic sir,it was nice to see and watch your videos sir
You are too Good Sir Navine... Respect to you, respect to you once more...
So simple explanation, amazing video.
Here you can simply use an in-built function shutil.copy
shutil.copyfileobj(fsrc, fdst[, length])
:
-----------------------------------------------------------
Copy the contents of the file-like object fsrc to the file-like object fdst. The integer length, if given, is the buffer size. In particular, a negative length value means to copy the data without looping over the source data in chunks; by default the data is read in chunks to avoid uncontrolled memory consumption. Note that if the current file position of the fsrc object is not 0, only the contents from the current file position to the end of the file will be copied.
shutil.copyfile(src, dst)
:
---------------------------------------
Copy the contents (no metadata) of the file named src to a file named dst. dst must be the complete target file name; look at shutil.copy() for a copy that accepts a target directory path. If src and dst are the same files, Error is raised. The destination location must be writable; otherwise, an IOError exception will be raised. If dst already exists, it will be replaced. Special files such as character or block devices and pipes cannot be copied with this function. src and dst are path names given as strings.
#insmot
check for the occurrences of a given word and write the line number and the word location in the line separated by a comma to a file "output.txt" for each occurrence of the word on a new line.
Thanks so much, Navin! This is solid way to get introduced into files i/o in python.
This was awesome. Thank-you for this wonderful practical session
best explanation on RUclips.
Love your videos vvvvvvvmuch❤
Navin sir meru super💖
TELUSKO really fullfills its name
Enjoying this series very much... copying image was inovative
Sir you are amazing.
You made things so simple.
Thanks now I have the motto to finish the whole course! i'm at this point!
Hi sir. I can finally learn Python all by my own by watching your videos. Thank you so much for clear explanation and putting so much effort on editing the videos.
One query:
The way we write in C if we want to read/write a file, i.e 'rw'
How can we do this in python?
after mentioning the file name,use r+
i.e,
f=("filename","r+")
Hey watching ur video .. loved it .. please try to solve this program in Python ' topic = file handling'
File F1 = A, B ,C
File F2 = p ,q ,r
Join the file and output should be like:-
A = p
B= q
C =r
If anyone interested solve and write program under my comments
Hi Naveen
Can you please explain **Yield**
And how any more videos would be added to this playlist ? Kindly ans
I would suggest videos should be **1080P** or with more quality, These are great videos, increasing videos quality would add more value for sure, pls do consider for your next videos.
Thanks..!!
best learning tutorial for initial learner and best sharing ones that I have touched and looking for more tutorial sir.
Really informative, apart from knowing about file handling, i learnt many new things , so kudo to you !!
You explained it so easily..... U r really very good teacher, i kope that u will be my progressor.
educator, not teacher
I am very greatful of you and I am enjoying the series very much
u r 2 good sir... i like the way u teach... very simple and very informative..... thank u...
EXCELLENT!!!! Thankyou so so much, now I know where to come for my queries :)
Hi, thank you for all of these videos. Highly appreciated.
sir sir this video was awesome it taught me the concept very well in 10m ins whereas i couldn't understand this by taking an 1 hour class
we lost something,we lost people......it got my attention while I was concentrating on my food at 07:55
Please Make Video on Sqlalchemy ORM tools with Oracle Database.
I am big fan of you sir.
I could stop myself from commenting..this video ia golden and that last part i loved it!
Navin Sir, you explanation is exquisite, you give wonderful examples and the way you introduce the session by saying Hello Aliens is quite exemplary
Hi Navin, I’m a new subscriber. I also a new programmer. I am very happy to find you here, however, How can get Data into you workspace before you started coding?
Thank you very much!!!
Don't understand completely but get idea little bit .
thanks sir
This was very helpful for my programming class! Thank you! :)
sir even after watching 8 videos on same topic only u were the one who was able to explain it love ur channel and content sir thanks for the free videos and seamless education u provide us
super mapla u have done a great job Thank u for ur help.
God bless u
If you are thinking lerning files handling is useless... No its not, I am working on this files handling from past 2.5 years........ Learn this too. Many developers work on this.
In advance congratulation for" 1 million" subs.🎉🎉🎂🎂
Perfect tutorial for Python file handling! informative and concise!
nice explain chesaru sir,thanks.
Sir Its really helpful when we get this high level of Teaching without attaining costly classes which are there in market ..... Thank you so much sir !!! But please add videos on CSV and PANDAS it would be helpful .... once again thanks a lot Sir !!!
😅 truee
Smart. Effective. Efficient.
❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️lots of love sir I never feel single with you😂................you made me dedicated towards my passion
did he just called me alien
Are u a HUGE fan of Dragon Ball?
Yes, we coders are aliens, humans have no guts to enter in this industry 😁😁😁😁.
you are a saiyan after all, gotta handle racism
Sir your awesomeness is infinitely high sir actually my online classes are going on and it's too boring so i started to see your vid my ma'am teaches for 45 mins on what u took only hardly 2 mins she taught only about f.read("myfiles","r") for 45 mins oh my god I learnt upto operating images in hardly 12 mins omg it's fabulous sir our due respects for u sir .... Sir a small suggestions I want to learn ethical hacking please put some videos on that topic please for your regular viewer and may be your student thanks a lot for the videos sir 😍😍😍😍
The tutorial is good. It will be good to convey about the file close operation as well..otherwise this will result in handle leaks.
Hello Sir,
Can you please provide tutorial on how to make database connection with python.
And if you can just give a practical demo with some small project containing web development (Django) and backend with Python
Hello bro i dont know even a single code but i watched and learned from your video thanx
U should demonstrate multiple uses of built in functions such as
file.readline().strip()
I have no idea what this does or what I can do with it
A very helpful playlist of 50+ videos for python beginners 🙏
your channel is so nice and helpful ..thanks for this great tutorial ..from mauritania
Thank you.....thank you.....thank you.....so much sir......
You are too good....
Love your teaching....
U can also use read() instead of looping
Great example case Naveen Sir
Especially the img file
Please do mention about close() method, handling resource leak !! Love your videos !!
Hi Navin,
1.when u printed the opened file in binary it contains other than binary also.
2. Need of closing file
I was doing course on python by meta in coursera, i was feeling bored but naveen did this boring topic in very intresting way.
great video...now i really understood files in python
Yes. I am enjoying the series. But I would like a detailed tutorial on BeautifulSoup and Regular Expressions. If you can please include that in your video tutorials
You can get ride of the line jump with just end=''. Also I believe 'with open(...) as f' is better, and auto-closes the steam of data, so we don't need to use f.close()
Hiii Sir,
Superr teaching👌
But can you teach little slow🗣bcs i can't catch your teaching🙄
Hei, you can watch mine too. The playlists for Python and R provide most of the fundamentals, with detailed ppt and coding window. Source files can be downloaded, you can find the link in the description of the window.
Kk sir
Thank youu
Paid 30k to institute & learning from your videos for free😂
I just liked this topic and it's interesting that open the image file and writing into another file
sir ur explanation is really nice....really like it..!
Really great and to the point lecture. Thanks
wow best video for this topic
Sir I'm trying to settle in Artificial intelligence side, plz give me suggest to what could I learn for settle in AI
Extremely useful. Thank you!
sir how did you upload that jpg file in pycharm?
Just go to file and select "open" and u can select ur image
How to add Image in Pycharm?
even i also have the same dowt?
Which image file you want, first copy that image. then after you will find the pycharm location/path in your pc/system. may be the pycharm folder located in 'C' - drive. then you move that specific file location. copied image paste it here ( Here the remember, the copied image where you can pasted. I mean folder name in Pycharm. In case you don't have a any folder, create new folder. Like 'Pooja Pics'.).
Now open pycharm, select 'Pooja Pics' folder. Your copied image is their. You have any doubt reply me.
Which image file you want, first copy that image. then after you will find the pycharm location/path in your pc/system. may be the pycharm folder located in 'C' - drive. then you move that specific file location. copied image paste it here ( Here the remember, the copied image where you can pasted. I mean folder name in Pycharm. In case you don't have a any folder, create new folder. Like 'Lakshmi Pics'.).
Now open pycharm, select 'Lakshmi Pics' folder. Your copied image is their. You have any doubt reply me.
Is this magic mom?
No son, this is programming :)
oh really we don't know 🙄🙄🙄
@cami korpys :-) yes its magic
I love you
@@isharaa5429 hope he/she replies
@@isharaa5429 Pervert😂
I'm so glad I found this tutorial
Hi sir, I am learning python following your tutorials.it is really great. When the next part of threading will be uploaded.