Learn Python Scripting With This ONE Project!

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

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

  • @TechWithTim
    @TechWithTim  Год назад +27

    I hope you guys enjoyed this scripting project! I tried to make it as realistic as possible and based on a real world use-case (hence the long project explanation). If you want more intermediate and advanced Python projects make sure to check out programmingexpert.io/tim !

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

      Your videos are great. Helps understanding better.

    •  Год назад

      I recently got my certificate for ProgrammingExpert and it was a really cool course. I especially liked the introduction to Go, since it's easy to use concurrency model was a great way for me to familiarize myself with the subject, although Python's asyncio module is not much harder to use. The part about the design principles was really welcome, although I think it would have been even better if each principle were demonstrated through one or two example problems. Overall though, I really enjoyed the course and already started to apply what I learned in a simple game project, so thanks Tim! :)

  • @zogelmogel
    @zogelmogel Год назад +21

    hands down, Tim is the best programming youtuber. Nobody else explains coding so easier than him. You deserve so much more attention

  • @Anonymous-dk7ek
    @Anonymous-dk7ek Год назад +78

    Hello Tim.Please can you make a video on unit tests and testing in python?

    • @TechWithTim
      @TechWithTim  Год назад +57

      Great idea! Maybe I will add that as a future video.

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

      i need it to

    • @aflous
      @aflous Год назад +3

      Yes please. Can you do it using pytest and hypothesis modules? Would it be interesting to see the advantages of these 2 different approaches

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

      ​@@TechWithTim that'd be great! There are tons of material/docs about testing but they never approach it using a proper real life app as an example. It'd be really awesome to see you doing some TDD and see your whole thought proccess in action!

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

      @@TechWithTim I need it for my software exam at uni in February. So plz make it possible 💛. Thanks 🙏

  • @mmaniyar530
    @mmaniyar530 Год назад +7

    Hi Tim, This was great video. A simple approach and great explanation.
    1. Giving explanation for complex syntax and why this is needed was good approach. This help beginners to think there in a new way.
    2. This simple project has covered almost all the basic concepts to quick start.
    3. Using of main for project was awesome.
    4. It would be great if you add comments in program. This beginners miss to add.
    5. Found one limitation in program. It keeps asking for spinning even if balance is $0 and there is no way to add money once its $0. I have modified the code and fixed it.
    6. If would be great if you give some enhancement challenges in the end of the video.

  • @krismatic_
    @krismatic_ Год назад +5

    Efficiency, practicality, simplicity. This is how everyone should teach and how everyone should learn (imo). Thank you!

  • @shin-jo2801
    @shin-jo2801 Год назад +4

    for the folks who are using python 3.10 you can change the "universal_newline" to "text"
    so
    result = run(command, stdout=PIPE, stdin=PIPE, text=True)

  • @KishoreKumar-011
    @KishoreKumar-011 Год назад +10

    Hello Tim,
    one more add on is in
    "result = subprocess.run(command,stdout=PIPE,stdin=PIPE,universal_newlines=True,shell=True)"
    if we don't use shell=True, there may be chance of getting an "File not Found error".
    I personally faced it.

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

    This tutorial is the best kind of tutorial to follow along. I really appreciate the way you explain the thought process!

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

    I literally first started coding in my life after joining college and I'm genuinely grateful to this man for teaching me what the fuck I am supposed to write and what every character or word means like fr. Not even my teacher could explain this good. I really would be thankful if you could do some research on some basic simple python college /school projects would be and make videos on them for students who are interested in computer science.

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

    Thank you so much :) I've recently got into Python Scripting and your videos are really helpful! Thanks a lot!!

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

    Thankyou so much bro. I was new to scripting with only python knowledge, but i understood every bit of line and its purpose. All because of the way of your teaching.

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

    It's challenging for me to wrap my head around knowing which parameter I need to pass through for each function especially as the script gets longer. I'm sure it'll get easier with more experience! Any advice on how to tackle this problem?

  • @VictorLopez-iz8pe
    @VictorLopez-iz8pe Год назад

    Don't stop, whatever comes to your mind that someone can pay you to post just post. It helps everyone and you seem to be having fun

  • @Kaloris24
    @Kaloris24 Год назад +3

    Hey Tim. I was wondering if you could make a unit tests / testing tutorial with C++ please? I know most of your videos are in Python but I figured you being the awesome programmer you are could do such a thing easily.

  • @alimihakeem841
    @alimihakeem841 Месяц назад

    I found alot of value in this project. Thanks Tim.

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

    Thankyou so much for showing how to script. I am new to scripting and wanted to learn about ideas and variations to automate the task. Can you please teach us more within the scripting realm?

  • @soufianeaknouche2508
    @soufianeaknouche2508 4 месяца назад

    Thank you, it will be very helpful for me in few months (DevOps training)

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

    Thanks for this one.. ive got problem when compiling in my vscode terminal but it works when using cmd prompt.. maybe have issues in vs code.. Great job there

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

    hi Tim, thanks for the great video as usual. I am trying to make a game in python, I know what it should look like, thought about game mechanics and so on, I know how to code specific parts (thanks to you again) but I have problems with how to sort my classes, what should or shouldn't be together in one script/class/.. and similar topics. Would it be possible to make video about this kind of design? (Or if there already is one and I missed it, please somebody give me a link :)) - like lets say I want to have quite complicated rpg with lot of enemies, levels, items, etc.. If I just start writing and continuously adding whatever comes on mind, it is a mess, is there any kind of what to do or not to do, how to start, something like a general template? I saw you writing lot of small games, but i would like to see how to design much bigger project (no need to see whole coding of such project, this is figurable from smaller ones..) It would be great if you could do that :) anyway, thanks for these amazing tutorials.

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

    Great explanation of python scripts for simply understanding

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

    Another great tutorial. Well thought out and very useful. Cheers.

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

    Excellent work Tim

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

    thank you so much bro I really appreciate your insight

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

    Thank you Tim, for a great tutorial, again,
    Simple, well explained, and paced at a reasonable speed.
    None, or at least not many, extra unneeded comments, so many RUclipsrs go overboard with actions and descriptions.
    Very few, if any, corrections and misspellings, again some RUclipsrs put out videos with more (corrected) errors than the video is long.
    Needless to say, these comments are not for Tim, but to prospective viewers. Tim is Great!
    Thanks Tim.

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

    Hi Tim, thanks for your videos. Can you please do something or project working with the calendar showing all holidays.
    Thank you

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

    Great tutorial! I have an idea. I'm going to create a script that creates a virtualenv, starts a new Django project and installs a database driver and other dependencies I usually need.

  • @TobiasGuyTobo
    @TobiasGuyTobo Месяц назад

    Hey thanks for the tutorial, I had an issue when compiling / running the subprocess functions (FileNotFoundError: [WinError 2]), but adding shell=True to the line in the run_command function, result = run(command, stdout=PIPE, stdin=PIPE, universal_newlines=True, shell=True), seemed to fix my issue. The reasoning is on stackoverflow

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

    excellent, just what I needed

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

    Thanks Tim, this was useful.

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

    Thanks a lot...it was good learning...well lectured

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

    Thank you I am learning so much

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

    You know what, I did find value, thanks!

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

    Thank you this was great!

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

    Thank you very much for making it easier.
    ✅✅✅✅✅✅

  • @user-wm5ix7zy3r
    @user-wm5ix7zy3r 9 месяцев назад

    Thanks for your program and

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

    I am going to build a desktop app, should I make code in single python file or make different files for ui, admin, user ?

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

    Excellent!!

  • @munivoltarc
    @munivoltarc 9 месяцев назад

    can you do price action trading , with out using any price lagging indicators, on websocket data streaming is the input of ohlcv data, elliott wave theroy could be your strategy

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

    What does compiling really mean? For me it means go find all the relevant code and put it in one place..
    You started the script with __name__ but you didn't define this data.. don't understand that! Is that variable being imported on one of the modules?

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

    Excellent.great as alwayas.

  • @Kay-qg1vn
    @Kay-qg1vn Год назад +1

    How does one learn python from A - Z?

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

      By building projects and projects for various different topics

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

    Love it

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

    Hey Tim! Could please make a tutorial on tkinter?

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

    excellent thx a lot

  • @Red-dg9ed
    @Red-dg9ed Год назад

    Perfect show ..

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

    bm - 29:25

  • @PotatoQoQ
    @PotatoQoQ 3 месяца назад

    line 106 error :(

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

    😊❤❤ good exercise

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

    Can you please make videos about Julia Thank you

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

      I’ve never tried that programming language. Does it have an easy learning curve? I’m not going to learn it, but I’m still curious.

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

      @@NikitaDrokin It is fast like C but easy as python. You might wanna try it.

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

      I'd better go with rust if I want something fast. However I think Julia is more suitable for DS?

  • @veereshpatel.46
    @veereshpatel.46 Год назад

    Please do javascript & reactjs video like python script

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

    Hi, Tim What's up?

  • @Danny-nt4xi
    @Danny-nt4xi Год назад

    29:00

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

    Hello Tim very nice... What we should learn Python scripting in Python

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

    Nice

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

    First comment & watcher

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

    first comment

  • @nox-0
    @nox-0 Год назад

    I'm starting in python and I created a exe software with tkinter but now I need to run it in android and ios. Any help?

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

      Tkinter is meant for desktop app development so u can't make mobile apps with it. But you can learn other python modules to do that

    • @nox-0
      @nox-0 Год назад

      @@coolpotato6759 appreciate it mate, can you name me some other modules i can work with?

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

      Checkout kivy

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

    👍

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

    🙂

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

    shooooot too advanced for me to fully comprehend.. I'll be back in a month or so ;)

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

    First?

  • @mha_hero
    @mha_hero Месяц назад

    I only know print ('hello world") 💀💀💀

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

    Completely impossible to understand.

  • @doktor.paichiwo
    @doktor.paichiwo 4 месяца назад

    ok, fine video, but why in every single project you make you need to explain all the basic stuff like upgrading the pip, you could get straight to the point sometimes. We don't want to see all different way of installing a module on the system. Im sure you know what i mean. Besides your knowledge is good but teaching style needs improving.

    • @TechWithTim
      @TechWithTim  4 месяца назад +1

      Have you ever watched a tutorial as a complete beginner where someone assumes you know something and because of that they skip over an important topic that leads you to be stuck and not be able to move forward? How much more frustrating is that than simply pressing the fast forward button through content you already understand?

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

    this video is obviously not for new people trying to learn you dont really explain much

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

    I don't know why but I can't listen to him. instant sleep mode

  • @josegarcia2762
    @josegarcia2762 Год назад +5

    This is a great way to waste 42 minutes

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

      why, can you give context?

    • @KevenPirritano
      @KevenPirritano 9 месяцев назад

      Without context, you're just talking out your @$$.

    • @JunaidAnsari-my2cx
      @JunaidAnsari-my2cx 5 месяцев назад

      Is this bad or good? Explain dude

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

    So, you're clearly experimenting with clickbatey titles lately.
    And totally unrelated, I'm experimenting with the unsubscribe button.

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

      Sad to see you go. All the best !

    • @PotatoQoQ
      @PotatoQoQ 3 месяца назад

      blud what? XD