MODULES IN PYTHON LANGUAGE OR PYTHON3 LANGUAGE
IN YOU HAVE LOTS OF MODULES AND YOU CAN USE IT BY IMPORTING AND YOU CAN USE THE "import" KEYWORD WITH MODULE NAME TO IMPORT ANY MODULE LIKE :
TIME, PYAUTOGUI, TENSERFLOW, RANDOM, DATETIME, MATH, WIKIPIDEA, WEBBROWSER AND ETC.. LOTS OF MODULES AND LIKE THEM ARE AVAILABLE TO MAKE YOUR WORK EASY. YOU CAN YOU ANY MODULE AND ANYTIME. YOU CAN INSTALL THEM BY USING "pip install [module name]" YOU CAN USE THIS COMMAND IN TERMINAL AND IN THE COMMAND PROMPT LIKE:
THE ABOVE IS AN EXAMPLE OF INSTALLING PANDAS MODULE. DIFFERENT TYPES OF MODULES ARE USED IN WORKING DIFFERENT THINGS MODULE ARE LIKE A HELP LINE IN PROGRAMMING IN ANY LANGUAGE BECAUSE YOU DO NOT HAVE MAKE A PROGRAM OR FUNCTION AGAIN AND AGAIN TO DO THE SAME WORK lIKE : YOU USE MATH MODULE TO CALCULATE TAN THETA VALUE BY A FUNCTION TAN(NUMBER)LIKE:
THE IS AND\ EXAMPLE THAT HOW TO USE MATH MODULE TO CALCULATE THE VALUE TAN'S AND YOU CAN CALCULATE LOTS OF THINGS BY USING MATH MODULE AND ONE MODULE HAS LOTS OF FUNCTIONS WITH LOTS OF CLASSES AND WITH ANY MODULE IF DO NOT KNOW THE FUNCTIONS OF ANY MODULE YOU CAN FIND THEM BY USING DIR() FUNCTION WHICH IS AN INBUILT FUNCTION AND YOU CAN USE IT LIKE: AND MODULE ARE VERY IMPORTANT FOR A PROGRAMMER AND THANKS A LOT FOR READING THIS BLOG HAVE A NICE DAY AND READ MORE STUFF ABOUT PYTHON AT PYTHON.ORG WEBSITE.
Comments
Post a Comment