My Channel

Packages | What are Packages - Modules in Python | Simple Tutorial | Coding Series

 Python Packages

Hey Guys,

Today we will learn about Packages and their use in Python.

Packages are some things that help us to perform a specific task with only them. For Example, The Pyscreenshot Module helps us to take screenshots using python.

Packages have their own set of syntax to write. Example: Pyscreenshot. grab() should not be written as (Pyscreenshot.grab) and this shows an error.

                                                              Packages - Imagination

There are several or thousands of Packages. They do not come pre-downloaded but you can download the specific Packages as your wish.

Examples of a few packages: Pyautogui, Pyscreenshot, Pygame, webbrowsrer, os, etc.

Packages can be downloaded in the terminal of Pycharm or any other software using pip or conda, Using pip is better - "pip install the package name".

For example, to download Pyautogui for making an Alert Dialog Box, Use: "pip install pyautogui". Just use the syntax to not get errors.

Meet you on the Next Post or Tutorial, Until then Bye!

Please share this to all the People you Know (Get me at least 15 views by sharing)

By the Blog Author.

Post a Comment

2 Comments

  1. This comment has been removed by the author.

    ReplyDelete
  2. "various functions according to their functions." Simply legendary XD

    ReplyDelete