top of page

Moldule List & Basic Definition

Some modules work by defaul like the file system object. Other modules require a call and other require an installation. Below are the requirements for use of the module and other notes.

# For using the date and time module

from time import *

from datetime import datetime

# For using Math, Random, and Decimal Modules

import math,random

from decimal import *

# Allows for a suite of tools for use with the OS, PSUTIL Module

import psutil

 

# Allows for using CSV import, read and export
import csv

 

# For use with MS Windows WMI Queries 

import wmi

 

# For use for sending email and attaching files 

import smtplib

from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.mime.base import MIMEBase
from email import encoders

import socket

To install a module in Windows simply run cmd line as administrator. Some other are more complex installs like one required MSVC 14 or above

 

A basic install example:

> pip install wmi 

bottom of page