Using Pathlib in Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2024

ความคิดเห็น • 25

  • @arvinflores5316
    @arvinflores5316 2 ปีที่แล้ว +3

    Best pathlib video ever! Reminds me of how Corey Schafer teaches Python.

  • @epg3581
    @epg3581 3 ปีที่แล้ว +4

    I watched a million pathlib videos, but this is the best

  • @ammadkhan4687
    @ammadkhan4687 ปีที่แล้ว

    You are hero man... i was searching for this video on other platforms :(

  • @zacky7862
    @zacky7862 3 ปีที่แล้ว

    After reading many articles and from stockoverflow, I now fully understand
    the difference between PurePath and Path, when and how to use it properly
    Thanks.

  • @LNMLucasMasiero
    @LNMLucasMasiero 3 ปีที่แล้ว +2

    Thanks you so much. You made it so entertaining. I got the feeling you got in 19:18 when I create stable classes as driver to be used on a hole app. Like a Middleware to make easy the work of programming and reusing code or using methods more organized.

  • @baterickpatman
    @baterickpatman 2 ปีที่แล้ว

    MAN! great video, thanks so much. I'm just beginning and this is very helpful You're awesome!

  • @chibuikematthew746
    @chibuikematthew746 3 ปีที่แล้ว +2

    Thanks Man, God Bless you!

  • @MWStranger
    @MWStranger 3 ปีที่แล้ว

    OMG thx a lot for VSC... I was work with Python in half of year in ST3 and powershell 😅🤠
    and now VSC just blow my mind with all its epic fiches 🌌🧙‍♂️💻
    Love your channel from this days 🙏😄📡

  • @natetolbert3671
    @natetolbert3671 3 ปีที่แล้ว

    @10:30 How about "You cannot perform operations that change the state of the OS/FS"

  • @atejap
    @atejap 3 ปีที่แล้ว

    Tks. It's a nice alternative to OS module.

  • @maciekpaciarski9343
    @maciekpaciarski9343 3 ปีที่แล้ว +3

    great work

  • @gabrielhardoim242
    @gabrielhardoim242 3 ปีที่แล้ว +1

    Hello! Do you already have considered to create a course, on Udemy for example, about the script lab with office365's javascript?? Look like you have a good knowledge for this! I will apreciate if you have any material about this that can be share with me!

  • @navemaymon8701
    @navemaymon8701 2 ปีที่แล้ว

    Thank you !

  • @carlosroquesuarezgurruchag8681
    @carlosroquesuarezgurruchag8681 3 ปีที่แล้ว

    great work man

  • @cosmicbandido8186
    @cosmicbandido8186 3 ปีที่แล้ว

    Trying this in a Jupyter notebook on Windows.
    For print(pathlib.Path(__file__) I get a NameError: name '__file__' is not defined

    • @kelvinxg6754
      @kelvinxg6754 3 ปีที่แล้ว

      try on regular code editor or vscode , it's working fine for me

    • @atejap
      @atejap 3 ปีที่แล้ว

      are you on jupyter notebook?

    • @cosmicbandido8186
      @cosmicbandido8186 3 ปีที่แล้ว

      @@atejap yes

  • @KhalilYasser
    @KhalilYasser 3 ปีที่แล้ว +2

    Thanks a lot.

  • @ayoubfatihi1532
    @ayoubfatihi1532 2 ปีที่แล้ว

    Thank you for the tutorial,
    one small thing at (th-cam.com/video/DOgjN7RmHds/w-d-xo.html), is that the touch method does not overwrite the file if it exists, it just update the timestamp to the current time.

  • @XinhLe
    @XinhLe 3 ปีที่แล้ว

    I was forced to change from os.path to pathlib by Sigma Coding.

  • @kelvinxg6754
    @kelvinxg6754 3 ปีที่แล้ว +1

    I think pathlib is better version of os