You can also use $ pip search '*text to search for in package descriptions*'. If you are looking for a piece of code to do some particular thing, try searching for it on PyPI. This is where pip goes to find and download the package. Packages are usually (if they are mature enough for widespread use) distributed through the Python Package Index. Some packages will install command-line utility scripts in e.g. A complex package may include multiple modules. Packages serve to provide a vehicle for installation, testing, usage, and maintenance of the source code which modules consist of. #Fews python library how toSee the INSTALLATION section below for info on how to get pip running. To install a package, for example sh, you would do $ pip install shÄepending on your operating system, you may want to prefix that command with sudo otherwise, I believe you will end up just installing the module for your own use rather than in a system-wide capacity. These are user-friendly command-line utilities. easy_install and, better, pip, are the two most common package installers. Packages are the files which are downloaded and installed by installers. Modules consist of Python (and sometimes compiled binary) code they are packaged into zip archives known as packages, along with metadata, installation parameters, test code, etc. The Python Standard Library is itself an extensive curated collection of well-documented modules. Modular components of code that can be imported into your Python code are referred to as modules. "Libraries" of code in the more general sense have more specific names in Python. The Standard Library comes with Python and is installed along with it, making its modules reliably available to any Python code. In Python, the term "library" is most commonly used when referring to the Standard Library.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |