Opening a File | open () function | with statement | File Handling | CBSE Class 12 | Comp Sci

Поделиться
HTML-код
  • Опубликовано: 12 ноя 2024

Комментарии • 132

  • @kunjgoel192
    @kunjgoel192 3 года назад +41

    These videos are so good, easily understandable and to the point, that Mam, can easily sell these videos as a package for Computer Science class 12.
    But Wait
    .
    .
    .
    .
    .
    She chooses to help all the students regardless of their financial status unlike Unacademy, Vedantu, Byjus.
    Thank You Mam
    Thank You So Much
    No words can appreciate your hardwork and determination and thought process.
    🙏🙏💯💯👌👌👍👍🤗🤗

  • @subhamdas11
    @subhamdas11 4 года назад +5

    Ma'am aapki videos se bahut help ho rahi hai plz ise continue rakhiyega aur pura syllabus karwa dijiyega . It's a humble request mam. Mujhe aapki videos itni pasand aayi ki ab mera pura computer science ka section aapka videos dekh rha plz ma'am videos regular daalte rahiyega.
    Thank u mam,
    Your sincere student.😊😊

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  4 года назад +4

      Thanku so much...for Golden words and support..🙏🏻🙏🏻😊😊
      Will definitely.. continue to upload..
      Even Almost 95% syllabus completed..
      After that will upload... important Questions and then sample papers..

  • @advancedavenger4257
    @advancedavenger4257 4 года назад +3

    Ma'am fantastic explanation
    Thank you so much ma'am 🤩

  • @anushkabhatt4688
    @anushkabhatt4688 2 года назад +2

    Best channel for computer science.!!👍👍👍
    Thank you mam, your videos are very helpful!

  • @Ktcl6485
    @Ktcl6485 4 года назад +4

    Mam you are explaining the things both theoretically and practically ..and that is a good point about your video ..it helps a lot.. thanks😇

  • @daminigoyal7266
    @daminigoyal7266 3 года назад +3

    Lectures are really helpful

  • @godbreaker748
    @godbreaker748 Год назад +2

    Mam I am going to complete my data file handling ch from your videos and this videos help me a lot

  • @sahilmeme7482
    @sahilmeme7482 4 года назад +7

    Which KV you are teaching??

  • @MohitSingh-qr5fl
    @MohitSingh-qr5fl 4 года назад +2

    Thanks mam ....helping us a lot

  • @anuragpatel5450
    @anuragpatel5450 4 года назад +3

    Your videos are really amazing maam❣️❣️❤️❤️

  • @himanshiyadav478
    @himanshiyadav478 4 года назад +2

    Mam you are just amazing ❤️❤️

  • @harbanslalmandal7350
    @harbanslalmandal7350 2 года назад +4

    Mam u are best 💯 . Mam kindly prepare us for term 1 cs which will be on 21 December. By giving most expected questions.

  • @rakeshgaming9074
    @rakeshgaming9074 Год назад +1

    Wow ma'am,you are really a good explainer ...🥰

  • @purveshgupta9138
    @purveshgupta9138 4 года назад +3

    Mam Superb...🔥 Actually I was having coaching for python for cbse 12 and Now I have left that beacuse of your lectures...
    I thought That you are more than Enough through which I can achieve my dream of 100 in python😊😊...

    • @purveshgupta9138
      @purveshgupta9138 4 года назад +1

      I hope you will Definitely help me In my mission and If I will Succed then I will say it is Happened only because of Swati mam🔥

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  4 года назад +1

      Thanku..

  • @akhilbansal4849
    @akhilbansal4849 4 года назад

    Please provides notes also mam
    Great lectures great content
    Really appreciate you hard work ❤️

  • @ronysedits2866
    @ronysedits2866 3 года назад +1

    2:05
    Mam, In the second example the double inverted comma is there on "r"
    But in the first example there is no comma on r

  • @DolphinOcean-eu7du
    @DolphinOcean-eu7du 11 месяцев назад +1

    Thankyou so much mam ❤❤❤❤

  • @flywithabhi-4082
    @flywithabhi-4082 4 года назад +2

    Mam love your video

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  4 года назад

      Thanku so much..🙏🏻😊

    • @flywithabhi-4082
      @flywithabhi-4082 4 года назад

      Thank u to u very very much . this help me a lot . and I will spread these videos to my extent.

  • @prathvisoni8449
    @prathvisoni8449 3 года назад +1

    The explanation is best but please use def function in every program

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 года назад

      thanks for your suggestion....all the programs are using function definition..

  • @littlebacteria8329
    @littlebacteria8329 4 года назад +1

    Thank you 🇮🇳

  • @TheSaneInternational-SNI
    @TheSaneInternational-SNI 4 года назад +1

    Mam which software do you use to record your videos?
    Your lectures are amazing. One day this channel will be among the top edu channels of india... I am sure... All our well wishes our with you...
    Love and respect to you❤️🙏

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  4 года назад +1

      Thank You so much for ur blessings...🙏🏻😊
      Btw. M using ScreenCast O Matic software..

  • @noorahsachora8981
    @noorahsachora8981 4 года назад +1

    Ma’am so we will get the same results if we use either of the method ? Does it make any difference except the error handling and close function?

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  4 года назад

      Yes... result will be same... except two points... which u mentioned

  • @jaiprakashrajFf09
    @jaiprakashrajFf09 3 года назад +1

    🤘🤘HURRAY !!! ALL CONCEPTS ARE CLEAR
    THANK YOU SO MUCH MA'AM 🤟🤟

  • @VardhanMittal
    @VardhanMittal 4 года назад +1

    Mam after path we have to write filename also

  • @venkatrathnam7199
    @venkatrathnam7199 3 года назад +3

    can u teach the flush fun,sig of file pointer,
    both the topics are missing

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 года назад +1

      Both these concepts today in live session ...
      Plz watch the live session of MCQs of File Handling

    • @venkatrathnam7199
      @venkatrathnam7199 3 года назад

      @@SwatiChawlaofficial can u teach it as
      a seperate vid..detially.i am from chennai and i see only our vid for 12 cs

  • @anshikagrover2322
    @anshikagrover2322 3 года назад +2

    Mam can we open file in any mode means it is the user choice in which mode he has to open the file ??

  • @dmop5071
    @dmop5071 Год назад +2

    Mam when do use split () ??

  • @venkateshp676
    @venkateshp676 2 года назад +2

    mam, can we practice data handling in online python complier?

  • @ayushisingh465
    @ayushisingh465 4 года назад +2

    Mam please upload the python pattern program for class 12..

  • @sumirpasricha7873
    @sumirpasricha7873 10 месяцев назад

    Path kaise find karte hai mam pls tell

  • @yogendrakumaryadav8235
    @yogendrakumaryadav8235 4 года назад +2

    Mam you are best mam please PDF provide kr do

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  4 года назад

      Sure... You can enjoy special perks by joining the membership.
      Have a look at this.
      ruclips.net/channel/UC2vH9rqGh-fJELF8acGfBdwjoin

  • @neetavazirani9495
    @neetavazirani9495 Год назад +2

    Mam, could you pls give link to your ppts for quick revision

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  Год назад

      Sure..You can enjoy special perks by joining the membership.
      Have a look at this.
      ruclips.net/channel/UC2vH9rqGh-fJELF8acGfBdwjoin

  • @VRBRO
    @VRBRO 4 года назад +1

    Mam please share ppt of this chapter

  • @sarathsasikumar2092
    @sarathsasikumar2092 4 года назад +1

    Thanks mam🙏

  • @prachi5544
    @prachi5544 2 года назад +3

    with open("Para.txt","r") as f:
    a=f.read()

    print(f.closed)
    print(f.closed)
    ma'am for this output will be
    False
    True
    can you please explain why r we not getting
    True
    True

    • @tarunzxt3326
      @tarunzxt3326 2 года назад +2

      I think because in 1 one print is inside indentation so file is still open.
      But in second we are out of indentation so file has been automatically closed that's why its true.

  • @payalmahakur7658
    @payalmahakur7658 Год назад +2

    Ma'am is this enough for the cuet ?

  • @tanvipatil3940
    @tanvipatil3940 Год назад +1

    Where I can practice file handling in online compiler??

  • @ritikabudhiraja12tha18
    @ritikabudhiraja12tha18 3 года назад

    mam do we have to first make file in notepad and then copy it and if what is the syntax if we use path of file instead of file name!

  • @skibidiohiorizzler69-f8j
    @skibidiohiorizzler69-f8j 2 месяца назад +1

    mam can you provide the ppts?

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  2 месяца назад

      *Hey, now you can avail all these notes at the discounted rate….*
      *Class - X Information Technology*
      * Employability Skills (Notes) - X rzp.io/l/1mcA8UL
      * Employability Skills (Ques Ans) - X rzp.io/l/2hxw8tY6N
      * NCERT Solutions of CBSE Class 10 IT 402 rzp.io/l/fKUADxvbv
      * Unit - 1 Digital Documentation Advanced using LibreOffice rzp.io/l/GUhTNcTpH
      * Unit - 2 Electronic Spreadsheet Advanced (using LibreOffice) rzp.io/l/PpBEONKRN
      * Unit - 3 DBMS (based on LibreOffice Base) rzp.io/l/XJrYs2P
      * Unit - 4 Managing Health and Safety rzp.io/l/TQWvwOa
      *Class 11 Computer Science (083)*
      * Python rzp.io/l/cKflR95C
      *Class 12 Computer Science (083)*
      * Computational Thinking & Programming - 2 rzp.io/l/wihJhPBO
      * Computer Networks rzp.io/l/OKWrgua
      * Database Management rzp.io/l/z0mu2uBVu
      * Assertion and Reasoning rzp.io/l/TgngGDjb
      *IMPORTANT : After successful payment, don't refresh or go back (Redirecting...... will be shown on screen) , just wait for a while, and then Click on Request Access button, then you will get access to notes on your G-Mail ID within 24 hours.*

  • @VardhanMittal
    @VardhanMittal 3 года назад

    Mam is pickle module this year in syllabus class 12.

  • @anuragpatel5450
    @anuragpatel5450 4 года назад +3

    Maam plz send me ppt of data file handling

  • @krishison
    @krishison 5 месяцев назад +1

    Maam Using VS Code the File appears even though we dont close the file... is it Platform exception?

  • @notriyaverma
    @notriyaverma 3 года назад +1

    mam even after writing whole path with raw string or double slashes and closing the file there is a error saying:
    PermissionError: [Errno 13] Permission denied:
    what should i do now pls perscribe further. thanku :)

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 года назад +1

      The PermissionError: [errno 13] permission denied error occurs when you try to access a file from Python without having the necessary permissions. Either give permissions to that file or try to save your file at another location...

    • @notriyaverma
      @notriyaverma 3 года назад

      @@SwatiChawlaofficial thanks mam

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 года назад

      Done?

    • @notriyaverma
      @notriyaverma 3 года назад +2

      @@SwatiChawlaofficial yes it worked!

  • @nehajadhav3211
    @nehajadhav3211 3 года назад +1

    hii mam i have an dought. when i am pasting the path of file and when running the error is coming i.e permission denied. ehat can be the solution.

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 года назад +1

      plz check if ur file is closed or not..
      otherwise try to save it in different drive or give that directory the permission..

    • @nehajadhav3211
      @nehajadhav3211 3 года назад +1

      @@SwatiChawlaofficial thanks mam....issue solved...i deleted and created new one in drive

  • @remyas4679
    @remyas4679 3 года назад

    Why we are using double slashes ?

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 года назад

      Plz check out the topic Absolute and Relative Path..
      ruclips.net/video/vc7DRPtxLBw/видео.html

    • @remyas4679
      @remyas4679 3 года назад

      @@SwatiChawlaofficial thank u

  • @meesha4937
    @meesha4937 Год назад

    ma'am I have followed all your step and also CLOSED MY FILE but still it shows all blank . what should I do ?

  • @piyushtricksexpert6799
    @piyushtricksexpert6799 10 месяцев назад +1

    ❤❤❤

  • @deepikasharma218
    @deepikasharma218 Год назад +1

    Mam yeh sb program save kaha ho rhe h wo kaise search kre?..

  • @ayesha5977
    @ayesha5977 3 года назад

    ma'am should we start by writing the program in python and then it automatically come is text file.....and also HOW DO WE FIND THE PATH OF THE TEXT FILE??? PLZ REPLY MA'AM

  • @ananyashukla7363
    @ananyashukla7363 4 года назад +1

    Ma'am pls provide the ppt of data file

    • @ananyashukla7363
      @ananyashukla7363 4 года назад

      @@SwatiChawlaofficial thank you ma'am

    • @sambhavgupta4137
      @sambhavgupta4137 4 года назад

      Mam this link is showing "this site can't be reached" what to do?.😕😕

  • @anushkasinha4150
    @anushkasinha4150 Год назад

    mam, are these notes enough for 2023 board examinations??

  • @mishramedicalstor6905
    @mishramedicalstor6905 11 месяцев назад

    Maam what if we don't close the file. 2:01. I don't understand

    • @VaishnaviRavuri
      @VaishnaviRavuri 5 месяцев назад

      Then your data will not be in the file, our responsibility to close if we use open()

  • @iramkhan16173
    @iramkhan16173 22 дня назад

    I closed the file but data is not written

  • @Kotlin2024
    @Kotlin2024 Год назад

    \\ is used because \ is used with escape sequence

  • @learnsomething9068
    @learnsomething9068 3 года назад +1

    mam kucchh bhi samajh me naa aaya aur jo aapne eh likha tha same maine bhi yeh hi likha tha meri toh file baar baar empty hi show ho rhi thi program execute hone ke baad bhi

  • @anikethdey4907
    @anikethdey4907 4 года назад +2

    MAM KAFFI MEHNAT KARTI HAI HINDI AUR ENGLSH DONO MAIN PADATI HAI

  • @mohanraju6157
    @mohanraju6157 4 года назад

    mam can u send ppt of this chapter

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  4 года назад

      Sure... You can enjoy special perks by joining the membership.
      Have a look at this.
      ruclips.net/channel/UC2vH9rqGh-fJELF8acGfBdwjoin

  • @JaiPrakash-jn9ej
    @JaiPrakash-jn9ej 3 года назад

    Ma'am I have followed all your steps but still when I open the file..it shows all blank....😩....what should I do....I tried in both the ways but still😭😭

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 года назад +1

      make sure to close the file also if u r opening it with open()

  • @karanjotsingh5471
    @karanjotsingh5471 3 года назад

    Try to speak in hindi. My english is suffering from bad days

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 года назад +1

      Thanks for your suggestion..
      Actually getting requests for both English as well as Hindi... That's why using bilingual...