Data File in Python - Writing to file - Python Programming - File handling in Python

Поділитися
Вставка
  • Опубліковано 6 вер 2024
  • Reading & Writing Data into Files - Python Programming. How we handle Data File in Python. For storing information permanently we need files. We shall be learning to work with data file in this video.In Python Programming data file means , we create a simple program to enter any string(s) in python and that string store in text file permanently. In Reading from file python file extract data from text file and display in python output. Use of write() and writelines() function demonstate. You can read full post on this topic www.anacondapython.com
    data file in python,data file handling in python class 12,data file handling in python,opening files in python,writing multiple lines to a file python,write mode in python,writing to files python,write string to file python,file handling in python,file handling in python for beginners,learn python,python tutorial,data file handling python,python programming,learn file handling in python,python file handling tutorial,python file handling by durga sir
    Read Python file word by word
    • File Handling in Pytho...
    Read python file line by line
    • Read Python file line ...
    read file charater by character
    count number of uppercase lowercase spaces etc in text file
    • File Handling in Pytho...
    writing in python file
    • Data File in Python - ...

КОМЕНТАРІ • 157

  • @rajashreemallojjala5208
    @rajashreemallojjala5208 2 роки тому +3

    This is the clear cut video which i was searching since morning. Thank you so much for your crystal clear explanation. This is the basic thing which i need.

  • @NeerajSharma-nr5ly
    @NeerajSharma-nr5ly 4 роки тому +12

    I M very happy ...that I found this channel ......love from delhi

  • @inderpalbharti1340
    @inderpalbharti1340 4 роки тому +7

    I never understand this concept..but now it's very very clear ...thanks and love from Dubai...

  • @priyanshigothwal1807
    @priyanshigothwal1807 3 роки тому +12

    may god shower his blessings upon you...keep it up .....it really helped me a lot

  • @rafy-ivanmorales3077
    @rafy-ivanmorales3077 2 роки тому +3

    Rafy-Ivan Morales
    0 seconds ago
    I'm a new student trying to learn, so I can become a programmer with python and I have a project on how to make a port scan.
    So far I already make a port scan with Python3, and it scans fine, give a date and everything working good so far.
    I see on your video tutorial you give example on how to send and receiving data.
    I would like to ask for your advice if you can and guide me on how I will add this 3
    in a Python script, I have:
    2. System should look for all the ports between the range of 1 to 1025
    3. If the Ports is open, it should create a file and add an entry for port number
    4. In case of any exception for instance “host is not available”, “host name could not be resolved” or
    due to any other error, you need to write that exception into the same file.
    Thank you and Merry Christmas.

  • @jagmeetkaur8046
    @jagmeetkaur8046 4 роки тому +1

    Nice video sir
    I am happy to find this channel .
    Thank you sir for this awesome video.
    🙏👍👍👍👍

  • @villain8293
    @villain8293 3 роки тому +3

    Well explained bro👍👍👍👌🏼👌🏼👌🏼

  • @zacki2001
    @zacki2001 3 роки тому +5

    actually tbh i was quick to judge by ur speaking ,u wudn know much but then you have cleared the exact doubts that i had n im ready for my computer practicals day after.thnx a lot

  • @pnspvyshali
    @pnspvyshali 5 місяців тому +2

    thank you so much for your wonderful explanation sir. my concepts are really clear now. i have been searching for a video like this since very long,..thank you once again..

  • @swapnilborde21
    @swapnilborde21 3 роки тому +10

    What a amazing man u r,such h fabulous mentor i can say....Paid courses also not teaches like u sir..Just amazing sir 😎

    • @learncomputer4187
      @learncomputer4187  3 роки тому +4

      Thanks alot @Swapnil borde sir ..but it's simple explanation nothing special .. but i m very happy to read such wonderful compliment....
      I pinned ur comment..

    • @swapnilborde21
      @swapnilborde21 3 роки тому +2

      @@learncomputer4187 sir thank u too, i would like to learn more Python concept from u...I'm just following u for coding sir so pls give us daily new content about coding ...😉

    • @learncomputer4187
      @learncomputer4187  3 роки тому +3

      Sure sir ....

    • @LearnEnglishWithCherrylamba
      @LearnEnglishWithCherrylamba 2 роки тому +2

      Really content is amazing

  • @mandeep_kaur1793
    @mandeep_kaur1793 3 роки тому +4

    Very helpful_thnku sir ✨🙏🏻

  • @sarojdhiman9816
    @sarojdhiman9816 3 роки тому +4

    Thankyou sir 🙏 for this explanation

  • @agastyaverma4712
    @agastyaverma4712 2 роки тому +1

    Really excellent way of explanations data file handling in python

  • @sarojbaloria4820
    @sarojbaloria4820 3 роки тому +8

    Woo great Chanel...excellent way of teaching

  • @harjinderpalsabharwal1160
    @harjinderpalsabharwal1160 4 роки тому +3

    Nice video sir
    I understand the concept of writing

  • @jaspreetsinghbhogal2162
    @jaspreetsinghbhogal2162 3 роки тому +3

    Great work ..

  • @ashoksinghkushwsha4419
    @ashoksinghkushwsha4419 4 роки тому +3

    Sir, last wahala samjha do.....once again.....

  • @NareshModgil2106
    @NareshModgil2106 3 роки тому +3

    Really really great work ....

  • @parshantladhar3706
    @parshantladhar3706 3 роки тому +4

    Sir u r teaching very well...💯💯

  • @rakeshgogia6529
    @rakeshgogia6529 4 роки тому +3

    Sir your mathod of teaching is too good ..I m in DPS patna ..

  • @anutampaul9964
    @anutampaul9964 7 місяців тому +1

    This is absolutely perfect video according to the topic.
    Thanks a lot sir.

  • @151anirudhvyas8
    @151anirudhvyas8 3 роки тому +3

    helped me a lot, thx

  • @RohitKumar-ft1mm
    @RohitKumar-ft1mm 3 роки тому +3

    Great explanation👌👌👌

  • @yashmishra3885
    @yashmishra3885 3 роки тому +2

    Plz make important questions for class 12th board exams

  • @arupkumardas7253
    @arupkumardas7253 3 роки тому +4

    Thank you sooo much, As I'm a beginer it is so helpful for me

    • @learncomputer4187
      @learncomputer4187  3 роки тому +1

      Thanks Arup ji

    • @learncomputer4187
      @learncomputer4187  3 роки тому +3

      You can watch other videos in same playlist ...python file handling..python functions ..and python basics

  • @MunishTank
    @MunishTank 2 роки тому +2

    Great very informative.

  • @aiswaryathirumurugan71
    @aiswaryathirumurugan71 3 роки тому +5

    Thank you so much you are teaching very easily ❤️ keep rocking 👍🏻

  • @Neha-yw9on
    @Neha-yw9on 4 роки тому +4

    Easily understood from this vedio

  • @NeerajSharma-nr5ly
    @NeerajSharma-nr5ly 4 роки тому +5

    Sir pls upload more on file handling...I need it badly

  • @bishalpatel1684
    @bishalpatel1684 3 роки тому +3

    Thank You Sir...
    I understood each and every bit
    again thanx a ton🙏

  • @ayushjain6961
    @ayushjain6961 3 роки тому +2

    thankyou so much sir

  • @radhika7463
    @radhika7463 2 роки тому +1

    It's also works ....now I understand python file handling...

  • @peeyushyaduvanshi7226
    @peeyushyaduvanshi7226 3 роки тому +3

    Best 👍👍👍
    I am confused
    Now i am happy , no confusion at all

  • @RajuSingh-ot7zh
    @RajuSingh-ot7zh 4 роки тому +4

    But sir only query in last question. How the output comes
    Hello
    Hello
    Mr
    Hello
    Mr
    Smith 🙄🙄🙄

  • @Crackedmirror
    @Crackedmirror 4 роки тому +2

    Awesome

  • @Crackedmirror
    @Crackedmirror 4 роки тому +5

    👌👌👌👌 very helpful vedio

  • @jasveerkaur9796
    @jasveerkaur9796 4 роки тому +3

    Nice video sir 👌👌

  • @pahwarajan
    @pahwarajan 4 роки тому +3

    Sir ur method of teaching is awesome

  • @PardeepSingh-cr9rz
    @PardeepSingh-cr9rz 2 роки тому +1

    very very informative

  • @reshusingh101
    @reshusingh101 3 роки тому +4

    Thanks for clearing confusion in this topic
    Very helpful 😊

  • @gaganpahwa8483
    @gaganpahwa8483 2 роки тому +1

    God bless u sir ..for such amazing video

  • @unknown.340
    @unknown.340 3 роки тому +4

    That is what i want....thanks a lot❤️🙂

  • @shalinishalini7918
    @shalinishalini7918 2 роки тому +2

    Super explain sir

  • @suhails1199
    @suhails1199 3 роки тому +2

    You are good

  • @DeepakSharma-jg8sy
    @DeepakSharma-jg8sy 2 роки тому +1

    Amazing video for Python file handling..👌👌

  • @parshantladhar3706
    @parshantladhar3706 3 роки тому +1

    So good sir..👍🏼

  • @jaspreetsinghbhogal2162
    @jaspreetsinghbhogal2162 3 роки тому +1

    again ...i m watching ..for better understanding ...

  • @manipuriinverterinfomation2947
    @manipuriinverterinfomation2947 4 роки тому +3

    Sir... Our teacher assign reading from file.. Assigment and that i not understand... Your video help me alot.... Pls cover other toipcs realte to data file handling.... I m cbse student sir living in baroda

    • @learncomputer4187
      @learncomputer4187  4 роки тому +1

      Thanks .
      .video of reading from file .. uploaded soon ...

  • @VidhuraRavihara
    @VidhuraRavihara 11 місяців тому +1

    thank you sir. very useful video.

  • @LearnEnglishWithCherrylamba
    @LearnEnglishWithCherrylamba 2 роки тому +2

    Amazing content... ❤️

  • @user-zu8kx5hq4f
    @user-zu8kx5hq4f 3 роки тому +3

    Great work ..it's very beneficial

  • @armanrandhawa9104
    @armanrandhawa9104 2 роки тому +1

    It's really helpful video.thanks

    • @learncomputer4187
      @learncomputer4187  2 роки тому +1

      Thanks Aman .. please watch my fullplaylist ..of filehandling , functions..etc ..and suggest me ...
      Once again thanks once again

    • @learncomputer4187
      @learncomputer4187  2 роки тому +1

      ua-cam.com/play/PLm0NykAqRUFl2ITjk07lI_wGrBEnEKB-S.html

  • @sanjeevgoya8607
    @sanjeevgoya8607 2 роки тому +1

    Excellent explanation

  • @subhashlamba1342
    @subhashlamba1342 3 роки тому +3

    Please make some more videos .....
    My son is in cls 11 ...now promoted to 12 ....kya aap online tution bhi lete ho ...

    • @learncomputer4187
      @learncomputer4187  3 роки тому +2

      Actually i will create videos and notes so everyone has access free of cost ।।।pls wait

  • @KomalSharma-by3uf
    @KomalSharma-by3uf 3 роки тому +2

    Sir ...Topic Clear 👍

  • @karishmakaushik9491
    @karishmakaushik9491 2 роки тому +1

    First channel so far which is actually to the point, and useful. Kudos !

  • @Boost_Concepts
    @Boost_Concepts 3 роки тому +2

    Sir when if we open a file in write mode. Then can we see its previous data if saved earlier

    • @learncomputer4187
      @learncomputer4187  3 роки тому +1

      Every time data is overwrite ...so if u use append mode then ... previous data also remain in file ..

  • @kuberroadlines6702
    @kuberroadlines6702 2 роки тому +1

    Excellent way of teaching 👏 👌

  • @rstal3221
    @rstal3221 3 роки тому +2

    Sir when i typed once there was a crow. There an invalid syntax error occured....

  • @devbhadana9448
    @devbhadana9448 3 роки тому +2

    Thanks

  • @ecodersofficial
    @ecodersofficial 2 роки тому +5

    What a amazing tutorial!

    • @ecodersofficial
      @ecodersofficial 2 роки тому +1

      Ummm, But how you can use python 3 in windows 7? :/

    • @learncomputer4187
      @learncomputer4187  2 роки тому +1

      Thanks alot for appreciation

    • @ecodersofficial
      @ecodersofficial 2 роки тому +2

      @@learncomputer4187 Thanks goes to you, not me! You shown and solved my problem!!

  • @mstillsustainsabina
    @mstillsustainsabina 3 роки тому +3

    THANK_YOU_SIR 🙏

  • @RajuSingh-ot7zh
    @RajuSingh-ot7zh 4 роки тому +2

    Sir very helpful video..!👌👌

  • @mrblazeff173
    @mrblazeff173 Рік тому +1

    Thanks it worked for me

  • @ashoksinghkushwsha4419
    @ashoksinghkushwsha4419 4 роки тому +3

    Sir, your method of teaching is to good or nice.....

  • @Rishta_hi_Rishta_20
    @Rishta_hi_Rishta_20 2 роки тому +1

    Amazing ..👍👍

  • @arpitakale5281
    @arpitakale5281 Рік тому +1

    informative video

  • @hugowinnberg
    @hugowinnberg 2 роки тому +2

    thx you so mutch!

    • @learncomputer4187
      @learncomputer4187  2 роки тому +1

      Welcome ....pls watch full.playlist of each topic ..if u need ...and don't forget to comment...

  • @nehachauhan8562
    @nehachauhan8562 3 роки тому +2

    Waoo.... channel

  • @ramsu8220
    @ramsu8220 3 роки тому +2

    Was very helpful.... thank you ❤️

  • @ali_k281
    @ali_k281 Рік тому +1

    Can someone help me with this Question?
    Q : Write a program that takes an arbitrary value x, prints TRUE if it is an integer, and it is positive, and it is even (all 3 must be TRUE). or FALSE otherwise

    • @learncomputer4187
      @learncomputer4187  Рік тому +1

      That's simple
      Just take list of numbers
      Enter values in list at run time or compile time
      Acess each element of list one by one using loop
      Then check reminder with 2 and greater than 0
      ......

    • @ali_k281
      @ali_k281 Рік тому

      @@learncomputer4187 can you write it for me?

    • @learncomputer4187
      @learncomputer4187  Рік тому

      x = eval ( input ())
      for i in x:
      If i.isdigit () and i>0 and i ℅2==0 :
      ..........
      Try it in python... When entering value at run time put [ before... for entering list...

  • @harminderkaur5234
    @harminderkaur5234 4 роки тому +3

    THERE IS DOUBT IN LAST ONE QUESTION'S ANSWER

  • @jasveerkaur9796
    @jasveerkaur9796 4 роки тому +2

    Sir last vala topic hai os mai doubt hai please explain again sir

  • @surkewrasoul4711
    @surkewrasoul4711 2 роки тому +1

    Shukrya baye

    • @learncomputer4187
      @learncomputer4187  2 роки тому

      Thanks sir
      Pls give more comments on my other videos if you really like ...
      Complete file handling python :-
      ua-cam.com/play/PLm0NykAqRUFl2ITjk07lI_wGrBEnEKB-S.html

  • @shivangigurjar2959
    @shivangigurjar2959 3 роки тому +1

    hello sir mene b ("e:\
    am\\abc.txt", "w") yahi likha fir run krne k bad error bata raha h ki no such directory exist ..mere me error show horhaa h aisa kyu ..fir me kya likhu

    • @learncomputer4187
      @learncomputer4187  3 роки тому +1

      Folder ram bnana padega ...
      Abc.txt will create open function

  • @harilalkasaudhan5553
    @harilalkasaudhan5553 3 роки тому +1

    sir mene ek atm ka project banaya h usme me chahta ki user jo transactions kr rha h wo sb ....notepad ke ek file me save ho..uske liye kya coding kru....Plz help ya apna number de dijye

    • @learncomputer4187
      @learncomputer4187  3 роки тому +1

      Yes ...u can save in notepad ...or CSV file ...today i m recording my lecture .. tommorow i will upload ...

  • @aanniirr100
    @aanniirr100 2 роки тому +1

    how to work with .data file

    • @learncomputer4187
      @learncomputer4187  2 роки тому +1

      Wath full playlist of mine on data file handling ✋

  • @Dani_650
    @Dani_650 3 роки тому +2

    I am not at all getting

    • @learncomputer4187
      @learncomputer4187  3 роки тому +1

      No problem...pls tell me what is your query or problem..i definitely help you

    • @Dani_650
      @Dani_650 3 роки тому +2

      @@learncomputer4187 I got it thanks

  • @AbhishekYadav-fe2wg
    @AbhishekYadav-fe2wg Місяць тому +1

    Brother please speak in Hindi if possible

  • @Thaseenl
    @Thaseenl 2 роки тому +2

    Ithula yar lam anna university eee 1st year students

  • @EXCELLENCELIGHTMAKER
    @EXCELLENCELIGHTMAKER 2 роки тому +2

    My computer does not understand your language😂

  • @mukundsavaliya75
    @mukundsavaliya75 3 роки тому +1

    Not helpful ..

  • @ArshdeepSingh-nl9lx
    @ArshdeepSingh-nl9lx 2 роки тому +1

    Very good explanation

  • @nirmaldevi9168
    @nirmaldevi9168 3 роки тому +3

    Very good explanation