Python Tutorials - "%s %d" % ("string_formatting_in_Python", 3)

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

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

  • @PyMoondra
    @PyMoondra  5 ปีที่แล้ว +1

    Part two has been released so check it out here:
    th-cam.com/video/YSHKdH3Upus/w-d-xo.html

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

    sir if you are reading this comment, i wanna say thank you.....you explained this very well

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

    It was a perfect explanation. Looking forward to seeing the next part. Thank you very much indeed

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

    best youtube video ever ❤️

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

      Thank you so much..

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

    Thank you very very much i have found only you who explain so nicely about module operator once again thank you.

  • @JoelCourtheyn
    @JoelCourtheyn 5 ปีที่แล้ว +1

    Very well done ! I'm looking forward for the next video's about string formatting !

    • @PyMoondra
      @PyMoondra  5 ปีที่แล้ว

      Thank you. Currently editing it.

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

    This is an excellent video !

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

    i really needed a good explanation for the width type and you didn't disappoint
    best explaination

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

    Thank you alot for this video! Very clear and helpful for me! :)

  • @alex_8704
    @alex_8704 5 ปีที่แล้ว +1

    :-) Guido didn't seem to bother to "invent a wheel" and just borrowed the specification from the fprintf() function of the standard C library :-) This is very positive, I think.

    • @PyMoondra
      @PyMoondra  5 ปีที่แล้ว +2

      I think they "tried" to do so (more Pythonic) with .format and f strings (if I remember what i read correctly). I will be release those as well. BTW, are you using Julia? I know you use R for stats stuff, but curious about Julia. I am thinking of picking it up as it seems it's better than Python for more math and science stuff.

    • @alex_8704
      @alex_8704 5 ปีที่แล้ว +1

      @@PyMoondra Thanks to your recommendation, I really recently passed a brand-new intro training on Julia on Linkedin Learning (former Lynda.com) (there are unfortunately only two such courses on Julia there yet), and was impressed. But when I installed the newest version of its interpreter, and IKernel for Jypiter Notebook, and tried to install interesting libraries, I found that they require full match of the interpreter version, like if I have Julia 1.2, the library must be updated for this new version to be instalĺed. And the libraries I wanted (though promoted and with websites) hadn't been updated since version 0.7 in most cases :-) . This was s barrier to play with the language further.

  • @DrAbhinavKumar
    @DrAbhinavKumar 5 ปีที่แล้ว

    This is very very good. I once tried documenting all styles myself. But gave up. But here you are with a very comprehensive video. Thank you.
    I saw you stopped uploads for a long time but have resumed again recently. Keep it up. You'll soon reach the ranks of sentdex and corey.

    • @PyMoondra
      @PyMoondra  5 ปีที่แล้ว

      Thank you for the kind words! Yeah, someone actually helped put together that tutorial as there was too much to look up.
      Yes, I took a break for bit. I was working on a iOS project (which I still need to complete). I was also reading up on microbiology and biochemistry during that time as I am really interested in the health field as well.

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

    Thanks for this great tutorial.

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

    Thank you

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

    this was the most difficult to memorize information about python up to now. I was never a fan of formatting, regardless of the application. But c formatting just made me feel today very dumb.

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

    So modulo s (%s) substitutes the value of the variable by instead of writing the variable's value u write the %s symbol. is this correct? Also why does %d have to represent an integer? I am a beginner self-teaching myself python. any free (with no cost or fees) python courses would be really helpful for me. I am really interested in learning this. Btw thanks for this awesome video i'm sure it will help me :)

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

    is zfill an alternative to zero padding here? Which one's faster?

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

    print("14.5E"% (322.12499636)) printing error (not all arguments gets converted in string formatting).May i know the reason?

  • @Dragon-Slay3r
    @Dragon-Slay3r 2 ปีที่แล้ว

    Python becomes a turtle head trying to eat a tornado