Learn Python Scripting With This ONE Project!

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 93

  • @TechWithTim
    @TechWithTim  2 роки тому +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 2 роки тому

      Your videos are great. Helps understanding better.

    •  2 роки тому

      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! :)

  • @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)

  • @zogelmogel
    @zogelmogel 2 роки тому +22

    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 2 роки тому +79

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

    • @TechWithTim
      @TechWithTim  2 роки тому +58

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

    • @moraxgaming8375
      @moraxgaming8375 2 роки тому +1

      i need it to

    • @aflous
      @aflous 2 роки тому +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 роки тому +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 2 роки тому

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

  • @krismatic_
    @krismatic_ Рік тому +5

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

  • @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.

  • @sreeramcr31
    @sreeramcr31 4 місяці тому

    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.

  • @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.

  • @VictorLopez-iz8pe
    @VictorLopez-iz8pe 2 роки тому

    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

  • @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 роки тому +2

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

  • @Kaloris24
    @Kaloris24 2 роки тому +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 3 місяці тому

    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 6 місяців тому

    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

  • @stevemorse5052
    @stevemorse5052 2 роки тому

    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 UA-camrs go overboard with actions and descriptions.
    Very few, if any, corrections and misspellings, again some UA-camrs 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.

  • @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?

  • @relaxtone217
    @relaxtone217 2 роки тому

    Great explanation of python scripts for simply understanding

  • @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.

  • @roseestimable7560
    @roseestimable7560 Рік тому

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

  • @irissvetlana2839
    @irissvetlana2839 Рік тому

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

  • @paulthomas1052
    @paulthomas1052 2 роки тому +2

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

  • @stephenwilliams5092
    @stephenwilliams5092 Рік тому

    Thanks Tim, this was useful.

  • @LubulaChikwekwe
    @LubulaChikwekwe Рік тому

    Thank you I am learning so much

  • @TobiasGuyTobo
    @TobiasGuyTobo 3 місяці тому

    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

  • @bucky7466
    @bucky7466 2 роки тому

    Excellent work Tim

  • @davidhoffman676
    @davidhoffman676 Рік тому +1

    Hey Tim! Could please make a tutorial on tkinter?

  • @takeshikovacs1081
    @takeshikovacs1081 2 роки тому

    excellent, just what I needed

  • @pythonfoundations
    @pythonfoundations 2 роки тому

    You know what, I did find value, thanks!

  • @SkyFly19853
    @SkyFly19853 2 роки тому

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

  • @timwebster85
    @timwebster85 2 роки тому

    Thank you this was great!

  • @manojastrouniverse
    @manojastrouniverse Рік тому

    thank you so much bro I really appreciate your insight

  • @munivoltarc
    @munivoltarc 11 місяців тому

    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

  • @توحید-ص7ص
    @توحید-ص7ص 11 місяців тому

    Thanks for your program and

  • @ondrasuchanek6467
    @ondrasuchanek6467 2 роки тому +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.

  • @vaslot
    @vaslot 7 місяців тому

    Excellent!!

  • @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 ?

  • @mehdismaeili3743
    @mehdismaeili3743 Рік тому

    Excellent.great as alwayas.

  • @Red-dg9ed
    @Red-dg9ed Рік тому

    Perfect show ..

  • @tcgvsocg1458
    @tcgvsocg1458 2 роки тому

    excellent thx a lot

  • @veereshpatel.46
    @veereshpatel.46 2 роки тому

    Please do javascript & reactjs video like python script

  • @siva_subramaniam
    @siva_subramaniam Рік тому

    bm - 29:25

  • @allthingstechy
    @allthingstechy 2 роки тому +1

    Love it

  • @shivamjain3022
    @shivamjain3022 Рік тому

    😊❤❤ good exercise

  • @aayamshrestha5982
    @aayamshrestha5982 2 роки тому +1

    Can you please make videos about Julia Thank you

    • @NikitaDrokin
      @NikitaDrokin 2 роки тому +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 2 роки тому

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

    • @aflous
      @aflous 2 роки тому

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

  • @MyDiscovery2021
    @MyDiscovery2021 Рік тому

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

  • @jannatgaoshiqqalb3598
    @jannatgaoshiqqalb3598 2 роки тому

    Hi, Tim What's up?

  • @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?

  • @Kay-qg1vn
    @Kay-qg1vn 2 роки тому +1

    How does one learn python from A - Z?

    • @aliibrahim5479
      @aliibrahim5479 Рік тому

      By building projects and projects for various different topics

  • @chrissyaboyy
    @chrissyaboyy Рік тому

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

  • @hehheeas
    @hehheeas 2 роки тому

    Nice

  • @Danny-nt4xi
    @Danny-nt4xi Рік тому

    29:00

  • @eliber
    @eliber 2 роки тому

    First comment & watcher

  • @PotatoQoQ
    @PotatoQoQ 5 місяців тому

    line 106 error :(

  • @mha_hero
    @mha_hero 3 місяці тому

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

  • @fernandoalmeida2101
    @fernandoalmeida2101 2 роки тому

    👍

  • @shenzmao
    @shenzmao Рік тому

    🙂

  • @doktor.paichiwo
    @doktor.paichiwo 6 місяців тому

    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  6 місяців тому +2

      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?

  • @gjedda63
    @gjedda63 Рік тому

    Completely impossible to understand.

  • @matqquie5787
    @matqquie5787 Рік тому

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

  • @nox-0
    @nox-0 2 роки тому

    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 2 роки тому +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 2 роки тому

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

    • @aflous
      @aflous 2 роки тому +1

      Checkout kivy

  • @codeworld5511
    @codeworld5511 2 роки тому +1

    first comment

  • @seanbernard6516
    @seanbernard6516 2 роки тому +1

    First?

  • @linxo5262
    @linxo5262 Рік тому

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

  • @josegarcia2762
    @josegarcia2762 Рік тому +5

    This is a great way to waste 42 minutes

    • @Black17Star
      @Black17Star Рік тому

      why, can you give context?

    • @KevenPirritano
      @KevenPirritano 11 місяців тому

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

    • @JunaidAnsari-my2cx
      @JunaidAnsari-my2cx 6 місяців тому

      Is this bad or good? Explain dude

  • @EvenTheDogAgrees
    @EvenTheDogAgrees 2 роки тому

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

    • @TechWithTim
      @TechWithTim  2 роки тому +1

      Sad to see you go. All the best !

    • @PotatoQoQ
      @PotatoQoQ 5 місяців тому

      blud what? XD