User:Jkurzik/sandbox

Intro to Imported Libraries and other Functions

 * In this chapter, we will cover some functions from various imported libraries that are commonly asked about, or used in Python. This chapter is not required to fully understand basics of Python. This chapter is meant to show further capability of Python, which can be utilized with what you already know about the language.

math

 * The math library has many functions that are useful for programs that need to perform mathematical operations, that cannot be accomplished using the built in operators.


 * This section assumes you have math training up to and including Trigonometry.

The following list, shows all the functions in the math library:
 * math.ceil


 * math.fmod (Not the most ideal for it's purpose. Will not be explained.)
 * math.frexp (Outside the scope of this tutorial. Will not be explained.)
 * math.fsum

tkinter

 * The tkinter library is a basic GUI library that is built into Python. It will work on all major platforms, although some platforms have bugs which need to be worked around.  We won't be covering those bugs here, as this is geared towards more of a general introduction.


 * This section assumes you have a rough understanding of Object Oriented Programming, as it is quite essential to understand when building a GUI.

To start using tkinter, first you must create a main window: import tkinter root = tkinter.Tk root.title = "Demo Window" root.grid(row=0,column=0)