Ultimate Guide to Datetime! Python date and time objects for beginners

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

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

  • @azizmiya
    @azizmiya 2 ปีที่แล้ว +18

    Hi There. Just a comment. Regarding printing format strings, I gonna say this is better and easier: { print(f"Today is: {today}") }

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

      Thank you so much for your tip Aziz! 😀

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

      ​@@PythonSimplified It's a pleasure. Your vids always are crystal clear

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

      I think it's more common like that

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

      disagree.
      f-strings shine when one passes word-like variables such that the f-strings reads like a proper sentence.
      things start to go south very quickly however once one starts to pass function calls.
      this is precisely when `.format` method starts to shine.
      so you see, neither one of them is better than the other, they complement each other.
      allow me to demonstrate:
      ```
      from datetime import date
      def verify(f):
      def g(wd: int) -> str:
      assert 0 str:
      return {
      0: 'Monday',
      1: 'Tuesday',
      2: 'Wednesday',
      3: 'Thursday',
      4: 'Friday',
      5: 'Saturday',
      6: 'Sunday',
      }[wd]
      @verify
      def daycat(wd: int) -> str:
      return 'weekday' if wd < 5 else 'weekend'
      @verify
      def action(wd: int) -> str:
      return 'time to go to work' if wd < 5 else 'time to chill'
      wd = date.today().weekday()
      print(f'Today is {weekday(wd)}, {daycat(wd)}. {action(wd).capitalize()}!')
      print('Today is {weekday}, {daycat}. {action}!'.format(
      weekday = weekday(wd),
      daycat = daycat(wd),
      action = action(wd).capitalize(),
      ))
      ```
      and yes, you could extract all these function calls outside, but you would not only have to come up with new names for the variables, but you would also unnecessarily pollute your namespace, assuming you would only need these function call one time.

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

      @@michalbotor Thanks Michal

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

    yes, we can do!
    from datetime import datetime
    user = user.datetime()
    start = user.strftime("%m/%d/%Y/%A, %H:%M:%S:%p")
    print("Date & Time:",start)
    your tutorial is easy to understandable :) and thanks for this.

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

    Thank you so much!!! I have been struggling with writing the middle of a program for 2 months. After following the steps in your video and struggling with line 50 to discover my system had to have string properties assigned to add timezone offset I went to my program assigned my date object as a string and my program worked. So simple but so much grief. Would have never found it without your video!!!

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

    It's difficult to understand how being almost 3 am you look so plenty of energy and shining (every square centimeter of your face) You are awesome Mariya Sha!! I can't find anything for complain. UR Simply a perfect teacher, trainner and TH-camr. You find the way to build the bridge between learners and the new knowledge.

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

    I used datetime module several times in my python projects but always looking for solutions to specific situations and I've never tried to arrange my knowledge. Thanks a lot for this video. It is really helpful. I discovered your channel few weeks ago and it will surely be one of my favourites

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

    Funny I was watching this (almost) on your birthday! Happy birthday!

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

      Thank you so much Christopher!! 😀😀😀

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

    I don't know if I haven't looked for more channels but I think this is the first blog about python done in a more fluid way. Thanks for giving us this, I really need to practice

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

      Thank you so much for your lovely comment Luis! 😀
      Supper happy to help! 😊

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

    Quite the tribute @5:49! That caught my attention as everyones favourite electrician. 😎

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

    Thanks for the video! datetime objects was being a challenge for me. I wasted at least 30 minutes looking for ways to convert my dataframe's date column which were integers.

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

      Hi Matheus 😃
      If you're working with Pandas, there's a special conversion method which you might find useful, try:
      my_df["date"] = pd.to_datetime(my_df["date"])
      It might be a quicker 😉
      And thank you so much for your lovely comment! 😊

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

    I have struggled with Python's date and time methods. This video was really helpful for me. Thanks!

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

      Thank you so much for the lovely comment, Lars! 😀
      Super happy I could help! 😊

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

    I started learning Python because it is a readily available tool to interact with date/time based data. Going from zero knowledge of programming, to trying to deal with "milliseconds since 1 Jan 1900" date/time, and associated data was challenging, but satisfying to solve. I wish this video had been around a couple of years ago, but I still learned a few cool things from it too.
    Mariya, can you please send this back in time? ("import time_machine as tm" doesn't work in my version of Python)

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

      I would try a different import statement: "from quantum_realm import time_travel, x_particles, lucky_underware" 🤣🤣🤣 hahahahaha
      I'm super glad you liked the video! and you're right - I should have filmed it a while back, it's quite a basic topic but also easy to miss! 😉
      I find that many folks are using strings instead of date objects without even suspecting there's a special data type for them!

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

      @@PythonSimplified If i succeed in getting quantum_realm imported, I'll be sure to post some new comments 6 months ago.

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

      @@cerealport2726 🤣🤣🤣🤣🤣

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

      (please include the winning lottery numbers when you do so! 🤣🤣🤣)

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

    9:04 - 9:09: For people who like it precise. An if condition helps out :)

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

    The subject of time seems so trivial because we are supposed to be familiar with it; after all, we all use time daily, right? This explains why when dealing with a subject that involves time, the coding complication it brings seems a little too much to do for "something so simple". But the truth is, it is a pretty complex subject. If you don't spend the time to study it, it will always be a problem. Thank you very much for taking time to put this together.

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

    Thank you very much for this excellent video! I was searching for the solution of my problem and I found the clues here. My point was to print out the current date and time only with hour, minutes and seconds. And I did it like this:
    now = datetime.now()
    current_time = now.strftime("On %A, %d of %B, %Y at %X")
    print(current_time)
    -> On Tuesday, 24 of May, 2022 at 18:54:20
    You are awesome!!

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

    Спасибо. Очень хорошая подача. Нет "воды". Классно.

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

      Спасибо большое! рада что вам понравилось! 😀😀

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

    Great video. Speaking of interesting dates your birthday this year is on quite interesting day.

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

      hahahaha I agree! plus being a Gemini whos' born on the 22nd is always a bonus! 😁

  • @Wyatt-Barton
    @Wyatt-Barton 2 ปีที่แล้ว

    Bingo! I just spent so much time trying to figure this out and your video cleared it up really quickly. Thanks

  • @Steven-ki9sk
    @Steven-ki9sk 2 ปีที่แล้ว +1

    Very good presentation. Thanks

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

    Hello. Unfortunately my English is not very good. Come from Germany.
    But I would like to take this opportunity to compliment you on your very informative videos. And yes, I can understand most of it.
    Thanks for so much Python input.

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

    Clean and fast code, I love it. Belated happy birthday too XD

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

    Thank you! Very useful! ❤

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

      Thank you so much! I'm super happy to help! 😊

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

    Your tutorials very clear and understandable! Thank you!

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

      Thank you so much Slon! Glad you like them! 😊

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

    this is what i need thank you ....i have hard time :)
    chernobyl you really think is a good time to talk about it :)

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

      Yeyy! Super happy you found it useful! 😁
      Everybody talks so much about Ukraine in recent days - feels like if I don't include it in a video - nobody is going to watch it 🙃
      It's actually one of those dates that you remember for years (specially the time!! 01:23:4 is absolutely insane!!) I've done a report on Chernobyl when I was in 12th grade and it's still in my memory since then! 🤪
      The other memorable date I had in mind was September 1st 1939... but it might not be the best time to talk about WW2 either 😅😅

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

    Wow! So glad I found your channel! This is super helpful!

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

      Thank you so much Sherry! Super happy to help!! 😊😊😊

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

    one of the bests, thanks
    and I have a question, what if we want to prompt the user for time or date?
    I really have a tough time struggling with the errors. :(

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

    Happy birthday^^ Thank you so much for lots of great videos!!

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

    Wow, I followed you great up until Your line #50, I got errors there googled and googled and could find no help for my error. I thought my version of python was different than yours, I added a date and used datetime and it worked great. Tried a lot of other things too, finally entered it as: "my_time=time.fromisoformat(str("15:33:08-07:00"))' and wham it worked!!! My system with time must have read the "-" and stored something as an integer, Just had to tell the program that this is a string. You have wonderful energy and do an excellent job of converting high tech into common English, a rare gift. Thank You so much!!!!

    • @winandfx
      @winandfx 25 วันที่ผ่านมา

      str("15:33:08-07:00") is the same as "15:33:08-07:00" because it's already a string. Maybe you added an extra quote somewhere.

    • @chalmerditmars7037
      @chalmerditmars7037 25 วันที่ผ่านมา

      @@winandfx Could be but somehow it seemed to have gotten out of that format.

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

    please 🥺 complete python tutorial for absolute beginners 🥰your talking way is easy and understandable
    one part please 🥺

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

    I think if you make a playlist, it will be amazing to solve the questions of the Rank Hacker site

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

      Hi Pouya! 😀
      I generally try to stay away from things that include the word "hacker" in them 😅
      I'm already known for my bot-making tutorials (which probably ended up terrorizing some of my cyber security collogues, and actually some of the techniques I've shared ended up being used against me by Instagram imposters and DoS folks hahahaha 🤣🤣🤣 which is ironic... but totally deserved!! I can't really complain about it 🤪)
      So even if I get involved only in simple white-hat stuff and share it on this channel, eventually it will be used against me! But I wish I could! it's a super interesting topic! 😊
      By the way, the name of one of my best friends in Canada is also Pooya! (he just spells it a bit differently 😉)

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

      hi 🖐🏻
      thankyou for reply
      I think making videos about solving Python questions can be useful for programmers.
      You are right about my name, both modes of writing are correct.⚘⚘

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

    8:05: and beeauuuutiful 😄❤❤❤

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

    Happy birthday :* thanks for tutorials ;)

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

      Thank you so much fnuker!! 😊😊😊

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

    I am binging on these tutorials😊

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

    Excellent video as always,
    full of useful information! Thanks!
    תודה! 😀

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

      Thank you so much Balazs! Super happy you liked it! 😁 בכיף!

  • @mehdismaeili3743
    @mehdismaeili3743 10 หลายเดือนก่อน

    Excellent. Great as always.

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

    Can u do a tutorial on kivy date picker Widget and also an example project on that?
    I'm currently working on an activity that takes date input from user and wait for that particular time (then do some task like: reminder, showing a toast message etc.). I've used DatepickerDialog in Android studio, but I wanna know how it could be implemented in kivy

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

      Thank you so much for suggesting! 😀
      I'll definitely look into it! I have a few upcoming GUI projects (Pygame, DearPyGUI redo and Tkinter redo), I might be able to cover another Kivy app as well! 😉
      BTW KivyMD has some really nice date and time pickers: kivymd.readthedocs.io/en/0.104.1/components/pickers/index.html
      You might like them more than their Kivy equivalents... I actually always prefer KivyMD, especially when it comes to mobile apps! 😊

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

    I'm first🔥❤️🇳🇵

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

    awesome! could you make a video talking about time series? thanks!

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

    Dear Mariya, thanks for all your videos. They are awesome! Keep up the good work. 🥳😊

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

    Hey Hey, Just a question about the use of {} placeholders rather than using print(f"it's the {now.minute}th minute of the {now.hour}......") Is there a reason why you use place holders rather than putting the variable directly in the curly braces?

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

      I should have read the comments....

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

    Great content🤓 THX

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

      Yeeeey!! Thank you so much, I'm glad you liked it! 😁

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

      I like it because you are going on persistent 😎 also you mentioned Nicola Tesla, I liked that very much. Did you know his birthday without looking🤓?

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

      hahaha nope! I must admit that I've googled this one! 😉
      However the Chernobyl disaster date - I remember it since 12th grade! I've done a report on it for English class and it's in my brain ever since... God knows why 🤷‍♀️ hahaha

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

    Doesn't the time difference come from the implementation needing to call the function twice for each instance? Because you're essentially calling the function 2^(idx-1) times for the Fibonacci problem, as opposed to what happens with the loop on the first problem

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

    14:44 I was muttering the same date just before you said it while watching "2022, 5, 2..." how could this be? :) Anyway, thanks for this great video, very useful.

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

      hahahaha great minds think alike? 😉
      Thank you so much for your comment! 😊

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

      @@PythonSimplified I think so 🙂

  • @Babu-so4sj
    @Babu-so4sj 2 ปีที่แล้ว

    Ur soo active and genius

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

    Maria, you are great! 👍

  • @MS-qk5cz
    @MS-qk5cz ปีที่แล้ว

    very helpful video, thanks for your help

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

    Write a python function to get well formatted date. Input date format to the function is "DD/MM/YYYY" and the output format must be "DD Month YYYY".
    Eg. If "15/05/1995" is the input to the function then it must return "15 May 1995" string.
    You must use following MONTH list in your code.
    MONTH = [None, 'Jan', 'Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']
    Test Cases (INPUT=>OUTPUT)
    1. '01/01/2001' => '01 Jan 2001'
    2. '20/5/2010' => '20 May 2010'
    3. '9/9/2021' => '9 Sep 2021'

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

    Really Nice!! How would you accomplish the task of rounding time to the next 15mins?

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

    Very helpful! Great video! Thanks

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

      Thank you so much Marcelo! I'm glad you liked it! 😊

  • @Alphabet_-_
    @Alphabet_-_ 2 ปีที่แล้ว +2

    Thumbs UP☝👍👍

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

      Thank you so much Alphabet! 😀
      Where did you get the third thumb?? 🤪 hahahahaha

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

    C est fantastic.

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

    Great video! Thanks! Very helpful!

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

      Thank you so much Gábor! Always happy to help! 😊

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

    Maria can you do the next lesson about apscheduler?

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

      Hi Shahobiddin! 😀
      I just checked out their documentation and I believe there's a better solution for this... are you looking to schedule certain events in your app? like a calendar that sends you reminders? or did you have another functionality in mind? 😁

  • @M.I.S
    @M.I.S 2 ปีที่แล้ว +1

    please teach more OOP (abstract ) and database(no sql and mongodb) for python.

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

      Thank you so much for requesting Davood! 😀
      I'll film something about abstract OOP classes soon, while MongoDB will take a bit of time but it's definitely on my list 😉

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

    great tutorial, you earned a sub!

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

    Thank you, very informative and helpful

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

    I had difficulty converting integer timestamp into readable time, I finally used pandas to do the conversion for me.

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

    Great video

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

    thanks A LOT TEACHER GOS BLESS YOU Awesonne from SENEGAL

  • @benedictehon8296
    @benedictehon8296 10 หลายเดือนก่อน

    Please can u recommend a book to study for basic python

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

    Please make video on tensorflow directml

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

    Good Morn'ng!

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

    Very cool tutorial, I like how you're concise and to the point.

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

    can you also make a video on how to implement timer in py . If you know any source then pls share it as my project requires a timer logic where I start timer of 10mins and if time is elapsed , I call a function but if not then I reset timer . any idea how can this be implemented?
    thanks a bunch for making python tutorials like these :D

  • @jslacasa
    @jslacasa 7 วันที่ผ่านมา

    Awesome tutorials

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

    Thanks for all your videos. Very well done.
    You have a very cute accent and I hate to mess with it, but I feel like I should maybe helpfully point out that when we use the verb “attribute” in English, it rhymes with “contribute” and “tribute”, just like you say it. But when we use the noun “attribute” I almost always hear the emphasis on the “at”. So “ATtribute”. Crazy, maybe. Or maybe to help distinguish the noun from the verb. Who knows. Not sure if you want to reduce your accent or not. It is a cute accent.
    Anyway. Thanks for the vids.

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

      Thank you so much Joel! 😀
      Are you sure it's not a British pronunciation? I'm yet to hear “ATtribute” here in North America, but my British lecturers from UoL use it all the time! 😊
      Also, I don't know if accent is something you choose to have... 😅 or else you're an actor or something! hahaha
      It's just how your mouth reacts when your brain commands it to things, if you could control it - we'd all speak like Morgan Freeman! 🤣🤣🤣

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

      @Oversight so noun versus verb kind of situation, eh? KK guys, I'll try it the other way around next time I say attribute! 😉

  • @Code-Shake-code
    @Code-Shake-code ปีที่แล้ว

    Happy late Birthday! 😁

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

    Can you make a tutorial on how to use python to scrape mobile applications?

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

      Usually mobile applications have a desktop equivalent and they're really easy to target! 😊
      For example - instead of accessing Instagram through the phone, navigate to instagram.com on your computer and then you can scrape it with no problem with Selenium! Same goes for other social media platforms like Facebook, LinkedIn, Twitter, etc.
      I have a bunch of tutorials with Selenium scraping social media, it's the go-to tool when you don't want to be detected as a bot! 😉
      ⭐ web scraping entire Facebook image gallery with Selenium:
      th-cam.com/video/SsXcyoevkV0/w-d-xo.html
      ⭐ web scraping Instagram images with Selenium:
      th-cam.com/video/iJGvYBH9mcY/w-d-xo.html
      ⭐ automating LinkedIn contacts using Selenium:
      th-cam.com/video/7aIb6iQZkDw/w-d-xo.html
      In terms of scraping the actual mobile app - you may run into issues as you won't be dealing with DOM elements (which you see in web applications) but you'll be dealing with GUI widgets which are much more complex to target if you're not familiar with the source code.
      You can easily find the source code of web applications through the "developer tools", but in terms of mobile apps - it's a completely different ball game! 🙃

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

      @@PythonSimplified thanks

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

    do on async/await or asyncio .... please!

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

    Thanks!

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

      You're absolutely welcome! have fun! 😀

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

    can we do python programming and app development in mobile ☹️I don't have laptop

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

    Madam please and please help me. I developed E-learning management systems where I want the admin sqlite3 database (user_loader(UserMixin) should be different from the students own how do I go about it. Sir please help 😢 because the project is my final year project that I will be submitting ending of this month

  • @65senshi
    @65senshi 2 ปีที่แล้ว

    How can you work out the age of a person from their original birthdate to the current date now? So for example, 33 years, 54 days old.....

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

    Hello, you Can you help my idea of "date" put into to database of SQLite. Eg likes Birthday or Date of Birth. My idea is can you do "Qt designer" is "QtDateEdit" of the object is "dateEdit"
    I am trying to work out the python programming for input into the database. You to you.

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

      Hi Andre 😀
      SQL actually has a special data type for dates and you can insert and select them from a table quite conveniently.
      You can find more info in this W3 Schools tutorial: www.w3schools.com/sql/sql_dates.asp
      I'll be covering SQL in much more detail in an upcoming tutorial, but I don't want you to wait for so long! 😉
      Good luck with your project and I hope it helps! 😊

  • @engr.malikiftikharahmad8751
    @engr.malikiftikharahmad8751 ปีที่แล้ว

    Excellent.

  • @DJ-ej9jj
    @DJ-ej9jj ปีที่แล้ว

    Happy Belated Birthday :)

  • @martinb.8912
    @martinb.8912 2 ปีที่แล้ว

    Great videos keep it up! :)

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

    Typical programmer, still working at the 43rd minute of the second hour of the day! 😂

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

      hahahahaha don't forget the 000th microsecond 🤣🤣🤣

  • @mas-daym
    @mas-daym 11 หลายเดือนก่อน

    Idk why, I did import date
    But it cannot be read, it keeps showing traceback

  • @trtlphnx
    @trtlphnx 2 ปีที่แล้ว +4

    Love Your Presentations: YOu Are Incredible, Thanks Sweetie ~

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

      Thank you so much trtlphnx! 😀😀😀

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

    great video as a beginner I learned a lot today, but it's hard to concentrate on the code, she is very beautiful.

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

      Thank you so much for the lovely comment Wagner Jose!! 😀😀😀
      I'm super happy you found this tutorial helpful and I hope you'll be able to concentrate better on the upcoming videos! 😜 (I'm trying to decrease makeup levels from one video to another hahaha)

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

      @@PythonSimplified Don't do this please I promise I will focus on the code !

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

      hahahahaha ok you convinced me!🤣🤣🤣

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

    Thank you @Mariya - the best - (\/)

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

    awesome!

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

    respect☺☺

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

    ❤❤

  • @gobyg-major2057
    @gobyg-major2057 2 ปีที่แล้ว

    5:42 365* not 356…also 3 zeros after seconds actually means milliseconds…u need 6 zeros for microseconds…..

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

    Python is beautiful like you!

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

    I would build a keylogger with dates.

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

    Hi there. I have the following error:
    When i type this line :
    formatiert = today.strftime("%Y %m %d %H %M %S alltogether %X")
    print(formatiert)
    i get:
    2022 06 27 00 00 00 alltogether 00:00:00
    So somehow %H,%M,%S are not working for me. Neither does %X.
    Would be glad if someone could tell me what i am doing wrong

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

      are you using a date or datetime? 7:43

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

      @@brianmiller1077 sth like that was the error. i was using the wrong module :-) Thanks anyhow for your reply !

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

    "Round brackets" => parentheses

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

    It a type of trivia, here's my b-date but what year was I born? My guess is 5/22/95 ;)

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

      hahahaha you're quite close Matthew! 😀

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

    Who will help me with my timezone assignment, new to python.

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

    please kivy tutorial

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

    my_date = date(2022, 5, 24) 😁

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

    🤯🤯🤯🤯🤯

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

    And that voice!!

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

    my question you are hacker programmer or developer ? 🙂

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

      Most certainly not a hacker! programmer and developer for sure :)
      But no shady stuff on my end!!!
      Well... that if we don't count bots as shady XDDDD

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

      @@PythonSimplified can we create app python programming in mobile??

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

      @@PythonSimplified I am Soo much 🥰😍 happy that I got reply response one request for kivy tutorial how long video no matter but full from beginning to advance please I will watch I want to watch

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

    😍

  • @Babu-so4sj
    @Babu-so4sj 2 ปีที่แล้ว

    Ur from??

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

      I was born in Crimea, but I live in Canada :)

    • @Babu-so4sj
      @Babu-so4sj 2 ปีที่แล้ว

      Ur sooo active and genius

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

    05:40 Humans do make mistakes 😨.

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

    5:40 xD