PyQt5 Tutorial - Setup and a Basic GUI Application

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

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

  • @pugo7925
    @pugo7925 5 лет назад +181

    It's really funny because recently I've registered to Skillshare to learn PyQt5 and now I find this tutorial which explain it much better and for free.
    Thank you.

    • @ori61511
      @ori61511 4 года назад +7

      why did you search for a tutorial if you got one?

    • @arjix8738
      @arjix8738 3 года назад +28

      @@ori61511 because he either:
      1) got it in his recommendations (he never said he searched for this video)
      2) the tutorial he already had was bad and he didnt understand it, so he searched for other tutorials

  • @imacoder3160
    @imacoder3160 2 года назад +3

    For those like me who could not understand how to build the program, do this: open command line in the folder where you place your .py file and run python .py build

  • @TwenOalley
    @TwenOalley 2 года назад +77

    they missed their chance to call the module QtPy

  • @kapildeshmukh7878
    @kapildeshmukh7878 5 лет назад +18

    Thanks for sharing. I'm developing NLP tools for my internship and I wanted to dabble into GUIs so that I can make neat little proof of concept programs.
    Please keep doing what you're doing.

    • @BiancaAguglia
      @BiancaAguglia 5 лет назад +1

      @Kapil I hope you'll post some videos about your work. It would be great to see projects like those. 😊

  • @chaddhinds5105
    @chaddhinds5105 4 года назад +2

    When it comes to actually teaching for understanding your videos are the best ive come across its one thing to just code along but to actually understand it is a different matter.

  • @islandcave8738
    @islandcave8738 4 года назад +275

    4:27 That's not what passing `sys.argv` is doing. It's passing the command line arguments to the Qt Application. `sys.argv` are the command line arguments in python. sys.argv[0] is the name of your program, sys.argv[1] is the first command line argument, sys.argv[2] is the second, etc. You can use those in QApplication however you want, or not at all.
    In Qt C++, you pass in (int argc, char** argv), which is the same thing, argv being the command line arguments (char**, because it is a pointer to a pointer of chars), (argv for argument values), and argc being how many arguments (argc for argument count), these come from the optional C/C++ main function paramaters (int argc, char** argv). (char** argv can also be written as char* argv[] or in other words, a pointer to char arrays, either way, they are the same thing in C/C++).
    In Qt Java, you pass in args from main(String args[]) which are the command line arguments in java (an array of strings).
    I suspect it's the same concept in Qt for all languages that have Qt.

  • @the-name-is-max
    @the-name-is-max 3 года назад +28

    I'm just starting to learn PyQt5 and this course looks promising! Nice job!

  • @Furiac.
    @Furiac. 11 месяцев назад

    coming from java this is so much easier thank the lord. been learning java in university, but now im making a personal project so i am trying to learn python

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

    Hey Dud! Firstly, I learn English and design with python. I researched on RUclips and I found you. You are very very good teaching Python. Well, I develop my English because of you as well as I learn new Python skills. Thank you bro! I want to meet you and talk about python and programing.

  • @albin6382
    @albin6382 4 года назад +10

    @00:04:36 sys.argv is a list of command parameters to the program. So for example if you type python program.py hello world, your sys.argv will be a list like [ "path/to/python" , "program.py" , "hello" , "world" ]

  • @Clement-xy9iv
    @Clement-xy9iv 5 лет назад +6

    Two words : THANK YOU !
    Looks much better than Tkinter.

  • @wernerw.1328
    @wernerw.1328 3 года назад +19

    As a German I looked at a German Tutorial of course first - but I didn´t work. So I came here and hallelujah. - Captain I will sail with you all the Seven Seas.

    • @miguelangelvillafuerte3328
      @miguelangelvillafuerte3328 3 года назад

      Heyyy, wait for me... Do you have space for another sailor !?

    • @russeuk0053
      @russeuk0053 3 года назад

      ja ich versteh leider englisch nicht soo gut...

  • @soupnoodles
    @soupnoodles 3 года назад +9

    I love your more faced paced teaching style, its much easier to understand and learning is much faster this way. Most python tutorials either treat you like an absolute beginner, or treat you like you know everything, this is a good balance, and i absolutely love this channel!!!
    +1 Subscriber

    • @Foxtro
      @Foxtro 3 года назад

      bro i swear I see you on every python video in the world 💀

    • @hayek2912
      @hayek2912 2 года назад

      @@Foxtro lmao😂

  • @stanknight9159
    @stanknight9159 2 года назад +1

    God Bless you!
    Thank you for introducing me to QT Designer.
    You saved my sanity!

  • @Wallee580
    @Wallee580 2 года назад

    I've been pushing off learning PyQt5 for a LONG time but it actually seems easy xD

  • @rebelScience
    @rebelScience 4 года назад +7

    Exactly what I needed for my new project in Bioinformatics! Amazing stuff dude! Will definitely donate a bit later when I have some extra money. Will also suggest your videos on my new channel.

  • @justinstar9710
    @justinstar9710 5 лет назад +2

    I think the sys.argv is to make the program to take CLI arguments.
    QApplication() requires a list anyway, so just empty list like QApplication([]) works too.

  • @elprquex
    @elprquex 5 лет назад +37

    First thank you for your time and effort , second can you do more video about GUI for making program interact with internet.Thank you.

  • @wilbertraymundrayos4175
    @wilbertraymundrayos4175 5 лет назад +14

    MORE PLEASEEEEE!!! I love this tutorial

  • @bluesdog88
    @bluesdog88 4 года назад

    If anyone gets an error, try this:
    Go to => Python38>lib>site-packages>PyQt5>Qt>plugins
    In plugins copy platform folder
    After that go to Python38>lib>site-packages>PyQt5_tools>Qt>bin
    paste folder here . Do copy and replace.

  • @codespotlight9146
    @codespotlight9146 5 лет назад +2

    Inspired by your channel I am making my own django series!

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

    what a nice intro. I liked it more than Tkinter

  • @MiskoKatua
    @MiskoKatua 4 года назад +1

    Good beginners tut. Thnx!

  • @duongng8069
    @duongng8069 4 года назад +1

    Thank you a lot. I am trying to enable VTK in PyQt, so it will be so great that you make a video to show that.

  • @mastershooter64
    @mastershooter64 4 года назад +2

    wow this is much easier and better than tkinter, I wonder what tkinter has that pyQt5 doesn't.

    • @AthyskTFM
      @AthyskTFM 4 года назад

      Tkinter is not good for complex programs

  • @MrSensei1231
    @MrSensei1231 3 года назад +7

    If anyone has any problems I couldn't get this to work at all with Python 3.9, had to roll back to 3.8.6.
    It kept giving me all sorts of weird errors, saying python wasn't installed, then python wouldn't initialize QT plugins. Rolling back to 3.8.6 fixed everything. Hope that helps someone. It literally took me about 2 hours of agony to work this out!

  • @fadop3156
    @fadop3156 5 лет назад +6

    @TechWithTim - 4:22 - = sys.argv are the arguments given while starting the program in commandline. For example:
    "python yourfile.py argument1 arg2 ..."
    So thats why if you print out sys.argv it is mostly a list of nothing or just the filename... Sry for my bad english

  • @arpitagec9
    @arpitagec9 5 лет назад +24

    Great! Very nice video. ☺️
    If you would cover database connectivity with the implementation of Pyqt5, it would be great. Hope to see interesting stuffs.!

  • @davidgrove1600
    @davidgrove1600 5 лет назад +5

    Subscribed just for this series, and you are my only subscription with the bell on! Please do a few dozen on this subject. This is exactly where I want to be (especially if I could get designer working on my chromebook).

    • @roietbd2992
      @roietbd2992 4 года назад +2

      I have also subscribed because of this series. Everything is super easy when Tim is doing a video about it, I don't know why.

  • @pfahey2
    @pfahey2 3 года назад

    Nice Introduction, Brisk and functional. Looking forward to more, thanks

  • @richardcsanaki5531
    @richardcsanaki5531 3 года назад +5

    Thank you for these tutorials, they are amazing! :D

  • @barunbasnet
    @barunbasnet 5 лет назад +3

    Really appreciate your efforts for the content and the quality of the video. Huge thumps up and subscribed.
    Keep up the good work.

  • @mbonuchinedu2420
    @mbonuchinedu2420 4 года назад +1

    Thanks tim, your videos are really helpful.
    Thanks

  • @delbandtaha5539
    @delbandtaha5539 5 лет назад +19

    Great job as always Tim!
    In the future, it would be great to show how the window can save the entries to a database or something. Maybe I'm getting ahead of myself though, LOL.

  • @gilsonpontespereira
    @gilsonpontespereira 5 лет назад +20

    More zoom in code, please! :)

  • @MouseKeyboardPlayer
    @MouseKeyboardPlayer 4 года назад

    Just a heads up for Mac users (like myself). Pyqt5-tools is only available for Windows, but you can download PySide2, it includes almost everything in pyqt5-tools; pyqt5, pyuic5 and the qdesigner. Just pip3 install PySide2.

    • @zName1
      @zName1 2 года назад

      Thank you.

  • @OkayNoway
    @OkayNoway 2 года назад

    Thanks for this tutorial, Tim!

  • @里明方
    @里明方 3 месяца назад

    nice intro video for PyQt5

  • @rathnakartr1427
    @rathnakartr1427 3 года назад

    U are awesome bro... Very detailed explaination

  • @mutiara4345
    @mutiara4345 18 дней назад

    nice tutorialh bro. Keep it UP!!

  • @argishtib
    @argishtib 3 года назад +3

    There is one important thing that should have been discussed: How to go back after creating .py file to .ui file. This is key if you want to make continuous design changes in .ui. As far as I have searched there is no easy way to do this. Sucks because this is a really great simple GUI tool.

    • @wasa01234567899
      @wasa01234567899 11 месяцев назад

      just save a copy of the .ui when you need some changes

    • @phamhuutri1996
      @phamhuutri1996 10 месяцев назад

      @@wasa01234567899can you explain more on this? Im interested as I now have a task to modify a GUI designed by pyqt5 and I am learning how to do it

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

    Upvoted for sublime

  • @davidguimaraes3663
    @davidguimaraes3663 4 года назад

    That was great intro into PyQt5, thanks!

  • @alecrepp
    @alecrepp 4 года назад +1

    This video is so informative and well made keep it up

  • @harshvalecha
    @harshvalecha 5 лет назад +2

    That's a great stuff to learn!!! Nice work👍

  • @megatomek2000
    @megatomek2000 4 года назад

    You saved my college assignment 😜😜😜😜

  • @MdMubin-bp7wp
    @MdMubin-bp7wp 4 года назад

    It's a nice video. Thanks a lot Tim!

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

    This is amazing, thanks a lot!

  • @kimberleymataure5356
    @kimberleymataure5356 3 года назад

    This is saving my degree x thank you so much

  • @amilcar_fernando
    @amilcar_fernando 3 года назад

    very top, nice introduction

  • @ayoubmourid7720
    @ayoubmourid7720 4 года назад

    Big Thanks From Morocco Bro ! for this useful tutorial. :)

    • @abdelmoula2
      @abdelmoula2 4 года назад

      Hello, you can also check this free tutorial on PyQt5 and how to Build Real Software
      skl.sh/3cGLbfs

  • @peterhildenhagen5298
    @peterhildenhagen5298 3 года назад

    Thank you very much, good explanations

  • @BrandonJacobson
    @BrandonJacobson 5 лет назад +1

    Awesome! I plan on adding a transparent image instead of a basic window. I'm excited to see if I can learn how to do that.

  • @shahrinbaharin3929
    @shahrinbaharin3929 4 года назад +1

    After some tinkering and research, installation that works for me:
    1. Install latest python3 64 bit version from: www.python.org/downloads/release/python-385/ (you must select the include PATH check box during installation)
    2. Install Qt Designer from here: build-system.fman.io/qt-designer-download
    3. Following the tutorial give me this error: ModuleNotFoundError: No module named 'PyQt5'
    4. Open cmd and type: pip3 install pyqt5
    Now everything works!

  • @lorenzoguetta6603
    @lorenzoguetta6603 4 года назад

    Thanks Tim!! I love you

  • @MrD215
    @MrD215 4 года назад +1

    QT and PyQt5 are from two different companies. The editor for QT is called QT Creator. The Editor for PyQt5 is called QT Designer. I was also confuse about that.

  • @mohammedwais1467
    @mohammedwais1467 3 года назад +1

    Hi! for multiple version of Pythons, it is better to use "python -m pip install PyQt5" instead of "pip install pyqt5"

  • @cemrek.
    @cemrek. 4 года назад

    YOU ARE A LIFE SAVER!

  • @hungdoan9148
    @hungdoan9148 4 года назад

    Awesome Video! Thanks!

  • @SkyFly19853
    @SkyFly19853 5 лет назад +23

    Another useful tutorial...
    I really thank you because I also plan to make videos about Python and Ruby.
    💯💯💯
    Are you going to make videos about other modules (2d, panda 3d)?

    • @boinbo8090
      @boinbo8090 4 года назад +1

      @@abdelmoula2 are you self promoting 10 months after he posted this comment :/

  • @mrquestionmark6202
    @mrquestionmark6202 4 года назад

    You are just Amazing Bro, Keep it up!!!

    • @abdelmoula2
      @abdelmoula2 4 года назад

      Hello, you can also check this free tutorial on PyQt5 and how to Build Real Software
      skl.sh/3cGLbfs

  • @brpawankumariyengar4227
    @brpawankumariyengar4227 3 года назад

    Great video …thanks

  • @NewsSphereNetwork
    @NewsSphereNetwork 4 года назад

    Thanks man that helps me a lot

  • @sectorx20
    @sectorx20 5 лет назад +3

    Thank you a lot! So far I trying decide which language should I improve my skills with Qt and almost lost time with C++ because I pretty connect with that ui stuff.

    • @tetra.
      @tetra. 3 года назад

      how's it going now?

  • @edwardwilliamsams6589
    @edwardwilliamsams6589 5 лет назад

    One word: Awesome

  • @PhG1961
    @PhG1961 8 месяцев назад

    Awesome video. Btw, about the position of the window... why not retrieve the screen dimensions and center the window within the screen?

  • @parisanaderi8913
    @parisanaderi8913 4 года назад

    great and so useful. tnx a lot

  • @kishan4651
    @kishan4651 5 лет назад

    I really loved ur stuff?! Please make a video on how to build plugin with single button

  • @MrRockso99
    @MrRockso99 3 года назад

    great video- thanks

  • @kcvinu
    @kcvinu 4 года назад +3

    Explained very well. Could you please make a video about how to convert this PyQt application into an exe file ?

    • @dergerat2199
      @dergerat2199 4 года назад +2

      There is a programm called pyinstaller which converts python programms with all libraries needed into an .exe file

    • @kcvinu
      @kcvinu 4 года назад +1

      @@dergerat2199 Thank you. Let me check it. :)

    • @kcvinu
      @kcvinu 4 года назад +1

      @Der Gerät, I've installed it and create my first Qt application. But it seem's there is a problem in one of the dlls. It says that VCRUNTIME140.dll is either not designed to run on Windows or it contains an error.
      But actually it was upx problem. When i run with --noupx, everything is fine.

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

    Hi can you help me - I used pip to install PyGT5 and when importing my code says it cant find the module, any idea why?

  • @شایانخردمند
    @شایانخردمند 4 года назад

    thank you very much it was cool

  • @hoangminhle167
    @hoangminhle167 4 года назад

    Thank you, what a useful video.

  • @fcmorena246
    @fcmorena246 4 года назад

    thanks, love this tutorial

  • @beatmaker1620
    @beatmaker1620 4 года назад

    Thanks a lot dude!

  • @JAWSH8
    @JAWSH8 2 года назад +2

    Hi there Tim!
    I've used your channel a LOT so far and I've followed your PyQt tutorials to a point where I want to actually deploy my GUI app across platforms. How do I do this?! *anguish*
    I was curious if you're ever going to make a pyqtdeploy tutorial to ios. This is something that is not available on RUclips. I've searched and no one has really done a definitive guide to pyqtdeploy. You've mentioned in your PyQt tutorials that it is package able to other operating systems. I know how to do this with pyinstaller, but I'm very confused about how to use the pyqt tool, pyqtdeploy, to deploy the app to native binary, and have a working ios app.
    Thank you for your time and dedication to education.

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

    For everyone wathing this in 2023 like me:
    pyqt5 -tools is not compatible with any python version after 3.9.
    so if you have 3.10 version like me, you probably get en error during instalation as follows :
    error: subprocess-exited-with-error
    × Preparing metadata (pyproject.toml) did not run successfully.
    │ exit code: 1
    _____________________________________________________________________________________________
    hook = backend.prepare_metadata_for_build_wheel
    AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'
    _____________________________________________________________________________________________
    note: This error originates from a subprocess, and is likely not a problem with pip.
    error: metadata-generation-failed
    × Encountered error while generating package metadata.
    ╰─> See above for output.
    note: This is an issue with the package mentioned above, not pip.
    hint: See above for details.
    _____________________________________________________________________________________________
    I've found that the best solution is just to downgrade to 3.9
    Downgrading can cause compatibility issues and may break certain packages or features that are only available in the newer version. So bare that in mind!!!
    Few words for Tim:
    I've just wanted to thank you. All this knowledge that you share whith us is just priceless. Coding changed my life it's like superpower. I was waiting for a letter from Hogwarts, but then i realized that real magic is Coding. You don't know me but I'am seeing you every day, I consider you my Bro in Code.

  • @rutvikrana512
    @rutvikrana512 5 лет назад +12

    Appreciate your efforts... but I learned Kivy from your tutorials and got deep into it .made one app and one game and I am making ‘Word Finding’ game now....I personally like kivy very much.
    Can you please make Android Studio tutorials because it’s very hard to get good resources to learn it...😊

    • @buttplug22
      @buttplug22 4 года назад

      Hey, I know this comment is quite old, but is kivy better and more usable than PyQt?

    • @flipndip5122
      @flipndip5122 4 года назад +1

      @@buttplug22 I'd argue that PyQT has surpassed kivyx since his comment was made.

    • @Flamiooo
      @Flamiooo 4 года назад

      @@flipndip5122 according to my research kivy isn't that popular either, there are fewer tutorials of kivy than there are of pyqt5, I know kivy and i have made a quiz game using it, and trust me, i had to search and write a lot while writing the code, and sometimes it just doesn't turn out the way I want it to

    • @flipndip5122
      @flipndip5122 4 года назад

      @@Flamiooo yeah I've learned PY is best used as a backend. I wouldn't use it for any sort of GUI

  • @mateuszkacaa438
    @mateuszkacaa438 4 года назад +1

    Hi guys!
    I see many of you have problem with 'No module named 'PyQt5'.'
    So i created some instructions to help you solve this problem.
    First of all, check out how and why we are using virtualenv and pylint:
    'Virtualenv and why you should use virtual environments' by Corey Shafter:
    ruclips.net/video/N5vscPTWKOk/видео.html
    'Pylint Tutorial - How to Write Clean Python' by Real Python:
    ruclips.net/video/fFY5103p5-c/видео.html
    Now we can start creating our project.
    1. Create a project folder
    2. Install virtualenv package:
    py -m pip install virtualenv
    3. Create venv:
    py -m pip venv venv_name
    4. Now to work in venv activate it:
    venv_name\Scripts\activate.bat
    5. Optionally update pip
    python -m pip install --upgrade pip
    6. Install pylint
    py -m pip install pyqt5
    7. Install PyQt5
    py -m pip install pyqt5
    8. Create main.py and write code from video
    And this is point where you probably meet the problem.
    Error occurs because "Pylint doesn't load any C extensions by default, because those can run arbitrary code."
    For more check out this:
    stackoverflow.com/questions/56726580/no-name-qapplication-in-module-pyqt5-qtwidgets-error-in-pylint
    So, we need add some more settings to our linting process.
    Open settings.json(if you use VSC, otherwise this file may have a different name) and add settings:
    "python.linting.enabled": true,
    "python.linting.pylintEnabled": true,
    "python.linting.pylintPath": "venvname\\Scripts\\pylint.exe",
    "python.linting.pylintArgs": ["--extension-pkg-whitelist=PyQt5"]
    And that's all :)
    I hope this will help you :)

  • @antibayou1
    @antibayou1 4 года назад +11

    why does "from PyQt5 import QtWidgets" not work for me

    • @graysongarrett6739
      @graysongarrett6739 4 года назад +3

      You're not alone I need a fix for this
      "
      from PyQt5 import QtWidgets
      ImportError: DLL load failed: The specified module could not be found.
      "

    • @bullethead950
      @bullethead950 2 года назад +1

      @@graysongarrett6739 it's most likely an enviroment variable issue

  • @andgat3512
    @andgat3512 5 лет назад

    Wonderful video! Thank you very very much!

  • @romariocarvalhoneto7831
    @romariocarvalhoneto7831 5 лет назад +1

    Waiting to learn how to call them in the code and do stuff. Click and make magic!!!

    • @markusg.6812
      @markusg.6812 5 лет назад

      def foo():
      print("HEYo")
      foo()
      >>>HEYo

  • @tolkien11
    @tolkien11 4 года назад

    Thank god i gave up on tkinter. And thank you!

  • @XengShi
    @XengShi 4 года назад

    ThankYou Sir for Making this Playlist....

  • @kithenry
    @kithenry 2 года назад

    this guy knows everything lol

  • @rishilkadakia4779
    @rishilkadakia4779 3 года назад +3

    4:27 That's not what passing sys.argv does. It passes the command line arguments to the QT application.
    5:55 You said if you set the x position and y position to 1920 and 1080, it will show up in the right-hand corner of your screen. This is not entirely true. Yes, if you have a 1080p monitor, it will, because FHD is 1920 x 1080, but what if you have a 720p monitor, or a 1440p monitor, or a 4k monitor?

  • @devikitchen1073
    @devikitchen1073 4 года назад

    just designer in cmd it will automatically open ptqt designer make sure u install pyqt5

  • @neopoligraf9991
    @neopoligraf9991 4 года назад

    Thanks a lot!

  • @thanhhieu5783
    @thanhhieu5783 4 года назад

    very good

  • @daringblitz2316
    @daringblitz2316 5 лет назад

    Tech With Tim Sorry if this is the wrong place to ask the following questions, but I've seen no way of asking in a more private manner.
    I've kind of taken notice of your chair and comparing how it looks to what I find displeasing about my office chair, so I wanted to ask: Do you like your chair? How wobbly (forward and back) is it when locked upright? and do you know if it is still available for retail?
    I've only found you on YT recently but I'm enjoying all of your content. Hope to keep seeing more. Blitz

  • @AKHILKumar-kh8rz
    @AKHILKumar-kh8rz 5 лет назад +3

    Do python voice assistant bro

  • @mohammedk.h.f3016
    @mohammedk.h.f3016 Год назад

    Thanks

  • @forTodaysAdventure
    @forTodaysAdventure 3 года назад +1

    could I use pyqt5 to create an app using python that takes advantage of the pyautogui library? (for windows)

  • @tkinter4428
    @tkinter4428 4 года назад

    Thanks.

  • @ricardodomingo2250
    @ricardodomingo2250 4 года назад

    Hi Tim,
    This is Ricardo, first of all I'm really impressed with all the content you created. It's incredible how easy and accesible you make it for everyone to learn.
    I have just one question as I am trying to build a kind of form application. I saw through your profile and you never really got in to Tkinter. Do you think PyQt5 is a better GUI builder than Tkinter? I consider myself a begginer in GUIs and I don't really know which one might be the best one for me.
    Thanks in advanced,
    Regards!

    • @augustusburr
      @augustusburr 4 года назад +1

      in one vid, he mentioned that pyqt5 is useful to make more complex application, and its a little bit more capable than tkinter

    • @ricardodomingo2250
      @ricardodomingo2250 4 года назад

      PowerTube thanks a lot for the early response!! Hope everything’s fine these days!

  • @joevinso9907
    @joevinso9907 3 года назад +2

    Sir Tim, just a question only and hope you answer, how to change the logo of your application on the top right corner using the Pyqt5?

  • @arshamsharifnia5474
    @arshamsharifnia5474 4 года назад

    please continue
    w8ing for #9

  • @paragchaudhari2066
    @paragchaudhari2066 3 года назад

    sys.argv
    The list of command line arguments passed to a Python script. argv[0] is the script name (it is operating system dependent whether this is a full pathname or not). If the command was executed using the -c command line option to the interpreter, argv[0] is set to the string '-c'. If no script name was passed to the Python interpreter, argv[0] is the empty string.
    To loop over the standard input, or the list of files given on the command line, see the fileinput module.
    See also sys.orig_argv.

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

    great tutorial!
    idk if thats just a linux thing, but my window is ignoring the starting position. it gets always placed in the way with minimal overlap.

  • @enesdukan
    @enesdukan 11 месяцев назад

    i love you man