5/13/2023 0 Comments Pip upgrade all![]() When not tutoring, I'm often in a Python REPL or notebook, looking for a quick solution to a problem which is impractical by hand, such as algorithmically substituting colours in a large, generated stylesheet to create a dark-mode user style for a large website which lacks one. ![]() ![]() ![]() (I always teach through reference to documentation, in order to instill the practice of looking stuff up, which means I'm always learning the latest version as I teach it.) In my work, I do a great deal more tutoring of college or university students in mostly first-year programming courses than I do Python development, and I'm always wanting to teach what's current. What scenario does the upgrade-all command try to address?Ī few use cases which come to mind first for me are when learning or teaching Python, or a module for it, and wanting to experiment with or demonstrate a current version, not an outdated one when starting a new project and wanting to build and test it using current modules, not outdated ones or, as I often do, when using Python as a shell-like environment for getting quick answers that are impractical in a standard shell such as Bash. ![]() Seems like pip install -Ur requirements.txt should update all packages, right? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |