Python_2  1.0
Classes | Namespaces | Functions
_01a_fracao.py File Reference

Classes

class  _01a_fracao.Fracao
 A simple class for creating fraction objects (rational numbers). More...
 

Namespaces

 _01a_fracao
 A very simple fraction class.
 

Functions

def _01a_fracao.mdc (x, y)
 mdc is a general use function, defined outside the class. More...
 
def _01a_fracao.main ()
 Main program for testing. More...
 
_10_tkmpg123.playerState.__init__
def __init__(self)
Definition: _10_tkmpg123.py:378
_08b_clock_bezier.buildClock
def buildClock(e)
Definition: _08b_clock_bezier.py:114
Lesson48.Torus
def Torus(MinorRadius, MajorRadius)
Definition: Lesson48.py:109
_08c_clock.clock.world
world
Default window.
Definition: _08c_clock.py:98
_10_tkmpg123.play_url
def play_url(e=None)
Definition: _10_tkmpg123.py:256
_08c_clock.clock.places
places
List of available places for the clock.
Definition: _08c_clock.py:162
_14_lesson5.ReSizeGLScene
def ReSizeGLScene(Width, Height)
Definition: _14_lesson5.py:88
_08c_clock.clock.showImage
showImage
Whether to use the logo image.
Definition: _08c_clock.py:105
mapper.mapper
Definition: mapper.py:12
_11_tkradio.changeStation
def changeStation(st)
Definition: _11_tkradio.py:467
_08c_clock.clock.oneMin
oneMin
One minute is six degrees.
Definition: _08c_clock.py:128
_08c_clock.clock.local
local
Clock region and city.
Definition: _08c_clock.py:208
_12a_poly.help
def help(event)
Definition: _12a_poly.py:516
_08c_clock.clock.fiveMin
fiveMin
Five minutes or an hour is thirty degrees.
Definition: _08c_clock.py:126
_08a_pack_circles.Timer.task
task
Definition: _08a_pack_circles.py:109
_11_tkradio.FMRec.__pid
__pid
Definition: _11_tkradio.py:269
_01c_vector.vector.__setPosition
def __setPosition(self, v)
Set this vector position.
Definition: _01c_vector.py:89
_06_ping.testit.__init__
def __init__(self, ip)
Definition: _06_ping.py:46
_01d_AgendaTest.AgendaTest.test_eq
def test_eq(self)
Definition: _01d_AgendaTest.py:43
_08c_clock.makeThread.__action
__action
Definition: _08c_clock.py:64
_05e_pascal.Pascal.__init__
def __init__(self, first_level, last_level, newline='\n', center=True)
Create a binomial array as a list of lines.
Definition: _05e_pascal.py:37
_07_alarme_class.clockState.player
player
Definition: _07_alarme_class.py:448
ArcBall.sumDot
def sumDot(a, b)
Definition: ArcBall.py:38
_12a_poly.eps
def eps(d)
angular displacement as a function of the sign of a number of pixels.
Definition: _12a_poly.py:102
_01b_AgendaTest.AgendaTest.a1
a1
Definition: _01b_AgendaTest.py:28
_01e_fracoesTest.FracaoTest.test_add
def test_add(self)
Definition: _01e_fracoesTest.py:66
_12_tet.cbClicked
def cbClicked(event)
Definition: _12_tet.py:113
_08b_clock_bezier._hand.__minute
__minute
Definition: _08b_clock_bezier.py:45
_01d_Agenda.personalData.lPhone
lPhone
Contact phone list.
Definition: _01d_Agenda.py:27
_01e_fracoesTest.FracaoTest.test_eq
def test_eq(self)
Definition: _01e_fracoesTest.py:44
_11_tkradio.FMRec.__init__
def __init__(self)
Definition: _11_tkradio.py:265
ArcBall.ArcBallT.setBounds
def setBounds(self, NewWidth, NewHeight)
Definition: ArcBall.py:73
_01b_AgendaTest.AgendaTest.test_putPhone
def test_putPhone(self)
Definition: _01b_AgendaTest.py:64
_08b_clock_bezier._hand.getTindx
def getTindx(self)
Definition: _08b_clock_bezier.py:62
NeHeGL.main
def main()
Definition: NeHeGL.py:114
sort_file
Sort the lines of a file.
Definition: sort_file.py:1
_07_alarme_class.alarm.__dplayer
__dplayer
Definition: _07_alarme_class.py:96
_01a_fracao.Fracao.__add__
def __add__(self, f)
Operator +.
Definition: _01a_fracao.py:90
_01a_fracao.Fracao.den
den
Denominator.
Definition: _01a_fracao.py:74
_15_julia.display
def display()
Definition: _15_julia.py:164
_07_alarme_class.alarm.makeThread.__init__
def __init__(self, func)
Constructor.
Definition: _07_alarme_class.py:194
_08c_clock.clock.incPlace
def incPlace(self, event)
Increment the clock place.
Definition: _08c_clock.py:393
mapper.main
def main()
Definition: mapper.py:78
_12a_poly.vecScale
def vecScale(v, s)
Return vector v * s.
Definition: _12a_poly.py:43
_05e_pascal.Pascal.binomialArray
def binomialArray(self, n)
Compute n lines of the binomial array.
Definition: _05e_pascal.py:73
Getch._GetchUnix.__call__
def __call__(self)
Definition: Getch.py:30
_11_tkradio.mouse_leave
def mouse_leave(event)
Definition: _11_tkradio.py:672
_01d_Agenda.personalData.getlPhone
def getlPhone(self)
Returns the phone list of this contact.
Definition: _01d_Agenda.py:36
_01e_fracoesTest.FracaoTest.test_rdiv
def test_rdiv(self)
Definition: _01e_fracoesTest.py:55
_08b_clock_bezier._hand.getType
def getType(self)
Definition: _08b_clock_bezier.py:65
_11_tkradio.mute
def mute()
Definition: _11_tkradio.py:490
bell.showPlot
def showPlot(show=True, file_name="bell.png")
Draw the graphics.
Definition: bell.py:163
_07_alarme_class.volume.voldown
def voldown(self)
Definition: _07_alarme_class.py:398
_09_tkhanoi.main
def main()
Definition: _09_tkhanoi.py:321
_04a_barchart_demo.autolabel
def autolabel(rects)
Definition: _04a_barchart_demo.py:38
_15_julia.main
def main(argv=None)
Definition: _15_julia.py:208
_12a_poly.resize
def resize(event)
Definition: _12a_poly.py:451
_12_tet.wheelUp
def wheelUp(event)
Definition: _12_tet.py:137
_07_alarme_class.location.__exe
__exe
Definition: _07_alarme_class.py:40
_08a_pack_circles.Timer.run
def run(self)
Definition: _08a_pack_circles.py:111
_06_ping.testit.lifeline
lifeline
Definition: _06_ping.py:55
_07_alarme_class.volume.__init__
def __init__(self, s, loc, intialvol)
Definition: _07_alarme_class.py:334
_08c_clock.clock.imgSize
def imgSize(self)
Return the canvas size.
Definition: _08c_clock.py:258
_11_tkradio.setStation
def setStation(ind)
Definition: _11_tkradio.py:459
_08c_clock.makeThread.__del__
def __del__(self)
Destructor.
Definition: _08c_clock.py:69
_12a_poly.cbClicked
def cbClicked(event)
Definition: _12a_poly.py:388
_12a_poly.vecSub
def vecSub(v1, v2)
Return vector v2 - v1.
Definition: _12a_poly.py:37
Getch._GetchWindows.__init__
def __init__(self)
Definition: Getch.py:45
_05a_roman.main
def main(argv=None)
Definition: _05a_roman.py:24
digitalClock.EntryWithIntVar.var
var
Var used as the textvariable of this entry.
Definition: digitalClock.py:176
_08c_clock.clock.toggleImage
def toggleImage(self, event)
Toggles the displaying of a background image, when the 'i' key is pressed.
Definition: _08c_clock.py:346
_01c_vector.vector.__x
__x
Definition: _01c_vector.py:72
_08b_clock_bezier._hand.getCurveData
def getCurveData(self, type)
Definition: _08b_clock_bezier.py:86
_11_tkradio.FMRec.run
def run(self)
Definition: _11_tkradio.py:288
_07_alarme_class.alarm.makeThread.run
def run(self)
Starts this thread.
Definition: _07_alarme_class.py:213
_08c_clock.clock.bordercolor
bordercolor
Default circle outline color.
Definition: _08c_clock.py:327
_14_lesson5.main
def main()
Definition: _14_lesson5.py:200
_11_tkradio.radioState
Definition: _11_tkradio.py:753
_01d_Agenda.personalData.getAddress
def getAddress(self)
Returns the address of this contact.
Definition: _01d_Agenda.py:43
_01d_Agenda.Agenda.remContact
def remContact(self, nome)
Removes a given contact from the address book.
Definition: _01d_Agenda.py:149
_01e_fracoesTest.FracaoTest.f2
f2
Definition: _01e_fracoesTest.py:30
_08b_clock_bezier._hand.__width
__width
Definition: _08b_clock_bezier.py:51
mplayertv.getLocale
def getLocale()
Definition: mplayertv.py:62
_01d_AgendaTest.AgendaTest.test_eq2
def test_eq2(self)
Definition: _01d_AgendaTest.py:51
_01d_Agenda.Agenda.putPhone
def putPhone(self, nome, phones=None, addr='')
Associates new phones and an address to the given name.
Definition: _01d_Agenda.py:102
_08c_clock.clock.paint_text
def paint_text(self, x, y, txt, color=None, font=None)
Draws a text at a given point.
Definition: _08c_clock.py:452
_08b_clock_bezier._hand.__second
__second
Definition: _08b_clock_bezier.py:46
_11_tkradio.radioState.station
station
Definition: _11_tkradio.py:762
_01b_AgendaTest.AgendaTest.setUp
def setUp(self)
Two Agenda objects to be used in the tests.
Definition: _01b_AgendaTest.py:27
_01e_fracoesTest.FracaoTest.test_repr
def test_repr(self)
Definition: _01e_fracoesTest.py:38
_01a_fracaoTest.FracaoTest.test_zeroden_Exception
def test_zeroden_Exception(self)
Definition: _01a_fracaoTest.py:77
mtTkinter._Tk._creationThread
_creationThread
Definition: mtTkinter.py:82
_01a_fracaoTest.FracaoTest.setUp
def setUp(self)
Two fraction objects to be used in the tests.
Definition: _01a_fracaoTest.py:27
_01e_fracoes.Fracoes.__setitem__
def __setitem__(self, i, f)
Sets the ith fraction to f.
Definition: _01e_fracoes.py:69
_05c_sinx_x.centerWindow
def centerWindow(w)
Definition: _05c_sinx_x.py:60
_01f_vector.vector.__neg__
def __neg__(self)
Negation operator.
Definition: _01f_vector.py:42
_01d_Agenda.Agenda.__eq__
def __eq__(self, other)
Compares two agendas.
Definition: _01d_Agenda.py:142
_08c_clock.clock.bezelImg
bezelImg
Definition: _08c_clock.py:133
GLU
_08c_clock.clock.roman
roman
Roman numerals.
Definition: _08c_clock.py:155
_01a_fracao.Fracao.__radd__
def __radd__(self, f)
Operador right side addition.
Definition: _01a_fracao.py:108
Getch._Getch
Definition: Getch.py:11
_07_alarme_class.pid.__PIDOF
__PIDOF
Definition: _07_alarme_class.py:421
getcdmp.GetCD
def GetCD()
Definition: getcdmp.py:52
mapper.mapper.viewportToWindow
def viewportToWindow(self, x, y)
Maps a single point from screen coordinates to window (world) coordinates.
Definition: mapper.py:65
ArcBall.Matrix4fSetRotationFromMatrix3f
def Matrix4fSetRotationFromMatrix3f(NewObj, three_by_three_matrix)
Sets the rotational component (upper 3x3) of a given matrix to the matrix values in the T precision M...
Definition: ArcBall.py:225
mtTkinter._Tk._checkPeriod
_checkPeriod
Definition: mtTkinter.py:86
_11_tkradio.radio
def radio(cmd)
Definition: _11_tkradio.py:399
ArcBall.Matrix3fT
def Matrix3fT()
Definition: ArcBall.py:154
_07_alarme_class.clockState.__str__
def __str__(self)
Definition: _07_alarme_class.py:455
_08c_clock.clock.flu
flu
Resized PIL logo image.
Definition: _08c_clock.py:301
digitalClock.EntryWithIntVar.entry
entry
Entry to receive the initial time of the regressive clock.
Definition: digitalClock.py:178
_01a_fracao.Fracao
A simple class for creating fraction objects (rational numbers).
Definition: _01a_fracao.py:59
_01c_vector.vector.__getitem__
def __getitem__(self, i)
Index operator [ ] for reading.
Definition: _01c_vector.py:66
getcdmp.GetCDMountPoint
def GetCDMountPoint()
Definition: getcdmp.py:17
mtTkinter._Tk._tk
_tk
Definition: mtTkinter.py:75
_01f_vector.vector.__getitem__
def __getitem__(self, i)
Index operator [ ] for reading.
Definition: _01f_vector.py:72
_12a_poly.translate
def translate(poly, t)
Translate a polyhedron.
Definition: _12a_poly.py:65
mtTkinter._TkAttr
Definition: mtTkinter.py:93
_06_ping.main
def main(argv=None)
Definition: _06_ping.py:93
_05e_pascal.Pascal.fmtRow
def fmtRow(self, r, pad=True)
Formats a row of the Pascal triangle.
Definition: _05e_pascal.py:216
_01e_fracoesTest.FracaoTest.test_str
def test_str(self)
Definition: _01e_fracoesTest.py:35
_11_tkradio.help
def help(e=None)
Definition: _11_tkradio.py:770
_04c_fs.fs
def fs(filename, prt=True)
Definition: _04c_fs.py:22
Getch._GetchUnix.__init__
def __init__(self)
Definition: Getch.py:25
_07_alarme_class.alarm.__fplayer
__fplayer
Definition: _07_alarme_class.py:325
mtTkinter._Tk.__init__
def __init__(self, tk, mtDebug=0, mtCheckPeriod=10)
Definition: mtTkinter.py:74
_03_pyplot_two_subplots.f
def f(t)
Definition: _03_pyplot_two_subplots.py:17
_01a_fracaoTest.FracaoTest.test_rdiv
def test_rdiv(self)
Definition: _01a_fracaoTest.py:42
_11_tkradio.getpid
def getpid(proc)
Definition: _11_tkradio.py:746
bell.plot
def plot(x, xlabel="", ylabel="")
Plot the curve by using matplotlib.
Definition: bell.py:73
_08b_clock_bezier._hand
Holds clock handles shape and size.
Definition: _08b_clock_bezier.py:40
_12a_poly.ROT_Y
def ROT_Y(y)
counter-clockwise rotation about the Y axis
Definition: _12a_poly.py:88
_07_alarme_class.volume.mouse_wheel
def mouse_wheel(self, event)
Definition: _07_alarme_class.py:407
_12a_poly.centroid
def centroid(vtx)
Centroid of a convex face.
Definition: _12a_poly.py:68
_07_alarme_class.alarm.__init__
def __init__(self, loc, h=12, m=0)
Definition: _07_alarme_class.py:71
ArcBall.ArcBallT.click
def click(self, NewPt)
Definition: ArcBall.py:113
_08c_clock.clock.pincolor
pincolor
Handle origin color.
Definition: _08c_clock.py:328
_01a_fracaoTest.FracaoTest
Class for testing certain aspects of the behavior of the Fracao.
Definition: _01a_fracaoTest.py:21
_11_tkradio.killProc
def killProc(pid)
Definition: _11_tkradio.py:186
bell.main
def main(argv=None)
Main program for plotting the curve.
Definition: bell.py:175
_07_alarme_class.alarm.stop
def stop(self)
Definition: _07_alarme_class.py:279
_01a_fracao.Fracao.simplifica
def simplifica(self)
Simplifies this fraction, by dividing either the numerator or the denominator by its gcd.
Definition: _01a_fracao.py:244
mplayerdvd.getLocale
def getLocale()
Definition: mplayerdvd.py:26
_08c_clock.clock.redraw
def redraw(self)
Redraws the whole clock.
Definition: _08c_clock.py:354
_12_tet.resize
def resize(event)
Definition: _12_tet.py:158
_01a_fracao.Fracao.__rtruediv__
def __rtruediv__(self, f)
Operador right side float division (python 3).
Definition: _01a_fracao.py:194
ArcBall.ArcBallT.m_EnVec
m_EnVec
Definition: ArcBall.py:60
_07_alarme_class.main
def main(argv=None)
Definition: _07_alarme_class.py:467
mplayertv.getSubList
def getSubList(fbase)
Definition: mplayertv.py:159
_09_tkhanoi.init
def init()
Definition: _09_tkhanoi.py:109
_08c_clock.clock.setColors
def setColors(self)
Sets the clock colors.
Definition: _08c_clock.py:322
_02_matrix.p
p
Definition: _02_matrix.py:46
mtTkinter._Tk._debug
_debug
Definition: mtTkinter.py:85
_04d_boxplot_demo.center
int center
Definition: _04d_boxplot_demo.py:17
digitalClock.digitalClock.tickDown
def tickDown(self)
Starts a regessive chronograph by counting time backwards, from the number of seconds set,...
Definition: digitalClock.py:91
_10_tkmpg123.fini
def fini(msg="")
Definition: _10_tkmpg123.py:363
_01a_fracaoTest.FracaoTest.test_mul
def test_mul(self)
Definition: _01a_fracaoTest.py:67
_01d_AgendaTest.AgendaTest.test_getAddr
def test_getAddr(self)
Definition: _01d_AgendaTest.py:87
mapper2.mapper2
Definition: mapper2.py:16
_01f_vector.vector.norm
def norm(self)
Returns the norm (length, magnitude) of the vector.
Definition: _01f_vector.py:55
_11_tkradio.enter
def enter()
Definition: _11_tkradio.py:506
_08c_clock.makeThread.run
def run(self)
Starts this thread.
Definition: _08c_clock.py:75
_08c_clock.clock.fluImg
fluImg
Logo image.
Definition: _08c_clock.py:132
_07_alarme_class.alarm.__tid
__tid
thread id of the alarm
Definition: _07_alarme_class.py:85
_01d_Agenda.personalData.setAddress
def setAddress(self, addr)
Sets the address of this contact.
Definition: _01d_Agenda.py:50
_01a_fracao.Fracao.__init__
def __init__(self, num=1, den=1)
Constructor.
Definition: _01a_fracao.py:65
_04b_wc.wc
def wc(filename, prt=True)
Definition: _04b_wc.py:22
_06_ping.testit.run
def run(self)
Definition: _06_ping.py:79
_10_tkmpg123.createMenu
def createMenu(loc)
Definition: _10_tkmpg123.py:57
_10_tkmpg123.playerState
Definition: _10_tkmpg123.py:375
mtTkinter._TkAttr.__call__
def __call__(self, *args, **kwargs)
Definition: mtTkinter.py:102
_01e_fracoesTest.FracaoTest.test_float_Exception
def test_float_Exception(self)
Definition: _01e_fracoesTest.py:101
data.main
def main(argv=None)
Main program for plotting the curve.
Definition: data.py:95
_07_alarme_class.volume.getVolume
def getVolume(self)
Definition: _07_alarme_class.py:363
_12_tet.drawTet
def drawTet(tet, col)
Definition: _12_tet.py:70
_05e_pascal.Pascal.binomial_cumulative_distribution
def binomial_cumulative_distribution(self, p, n, x=None)
Compute the probability of getting at most successes in trials, which is the sum of the first term...
Definition: _05e_pascal.py:124
_07_alarme_class.volume.__scale
__scale
Definition: _07_alarme_class.py:337
_10_tkmpg123.click
def click(event)
Definition: _10_tkmpg123.py:204
_11_tkradio.previous
def previous(e=None)
Definition: _11_tkradio.py:548
digitalClock.digitalClock._pause
_pause
Chrono paused state: on of off.
Definition: digitalClock.py:44
digitalClock.main
def main(argv=None)
Main program for testing.
Definition: digitalClock.py:187
_09_tkhanoi.do_hanoi
def do_hanoi(n)
Definition: _09_tkhanoi.py:40
_16_sierpinski_arrowhead.draw
def draw(c, points, contour=False)
Draw lines, given in points, on canvas c.
Definition: _16_sierpinski_arrowhead.py:94
_01d_Agenda.personalData
Class for aggregating all personal data in a single object.
Definition: _01d_Agenda.py:15
_08b_clock_bezier._hand.setInTick
def setInTick(self, i)
Definition: _08b_clock_bezier.py:80
_08a_pack_circles.animation
def animation(p)
Definition: _08a_pack_circles.py:90
_01a_fracao.Fracao.__rmul__
def __rmul__(self, f)
Operador right side multiplication.
Definition: _01a_fracao.py:142
_01a_fracao.Fracao.__eq__
def __eq__(self, f)
Operator ==.
Definition: _01a_fracao.py:83
_11_tkradio.init
def init(loc, player='mplayer')
Definition: _11_tkradio.py:125
digitalClock.makeThread.run
def run(self)
Method representing the thread's activity.
Definition: digitalClock.py:164
mplayertv.play
def play(fplayer, path, ext, subtitles, movie, movieOriginal, lparam)
Definition: mplayertv.py:203
_01e_fracoes.Fracoes.__repr__
def __repr__(self)
Returns each fraction in list "lfracoes".
Definition: _01e_fracoes.py:87
_08c_clock.clock._ALL
_ALL
Handles' tag.
Definition: _08c_clock.py:116
_01e_fracoesTest.FracaoTest.f3
f3
Definition: _01e_fracoesTest.py:33
mapper2.mapper2.world
world
Three vertices of a triangle in world coordinates.
Definition: mapper2.py:44
_01d_Agenda.main
def main()
Main program for testing.
Definition: _01d_Agenda.py:187
mapper.mapper.c_2
c_2
Definition: mapper.py:38
_08b_clock_bezier.hands
def hands(aa)
Definition: _08b_clock_bezier.py:151
digitalClock.digitalClock.time1
time1
Not used.
Definition: digitalClock.py:38
_07_alarme_class.volume.setChannel
def setChannel(self, channel)
Definition: _07_alarme_class.py:376
_01f_vector.vector.__repr__
def __repr__(self)
Print this vector.
Definition: _01f_vector.py:68
_12a_poly.ROT_X
def ROT_X(x)
counter-clockwise rotation about the X axis
Definition: _12a_poly.py:82
_12a_poly_interface.keyPressed
def keyPressed(event)
Mapeia as teclas númericas de 1 a 5 para seleção de um dos sólidos.
Definition: _12a_poly_interface.py:53
digitalClock.digitalClock
Displays in a label the current time.
Definition: digitalClock.py:26
_08c_clock.clock.bezelPath
bezelPath
Definition: _08c_clock.py:103
mtTkinter._Tk._eventQueue
_eventQueue
Definition: mtTkinter.py:78
_01d_AgendaTest.AgendaTest.a2
a2
Definition: _01d_AgendaTest.py:29
_10_tkmpg123.play_file
def play_file()
Definition: _10_tkmpg123.py:243
_05e_pascal.Pascal.__str__
def __str__(self)
Creates the pascal triangle between two levels, using the binomial array.
Definition: _05e_pascal.py:257
ArcBall.Matrix3fSetIdentity
def Matrix3fSetIdentity()
Definition: ArcBall.py:190
Getch._GetchUnix
Definition: Getch.py:24
_01d_Agenda.Agenda.dic
dic
Dictionary for associating a contact name to a personalData object.
Definition: _01d_Agenda.py:94
Getch._GetchWindows.__call__
def __call__(self)
Definition: Getch.py:48
_07_alarme_class.location
Class for adjusting the environment, according to the operating system and locale: bindir,...
Definition: _07_alarme_class.py:34
_12_tet.cbMottion
def cbMottion(event)
Definition: _12_tet.py:121
_01e_fracoes.Fracoes.__init__
def __init__(self, filename)
Constructor.
Definition: _01e_fracoes.py:26
_08b_clock_bezier._hand.setTindx
def setTindx(self, t)
Definition: _08b_clock_bezier.py:71
_07_alarme_class.volume.__card
__card
Definition: _07_alarme_class.py:340
_01d_Agenda.Agenda.getPhone
def getPhone(self, nome, index)
Retrieves the index-th phone of a given contact.
Definition: _01d_Agenda.py:120
_12a_poly.drawBbox
def drawBbox()
Draw the current polygon bounding box.
Definition: _12a_poly.py:150
_01f_vector.vector.__truediv__
def __truediv__(self, s)
Operator / : division by an scalar.
Definition: _01f_vector.py:64
mtTkinter._pressOk
def _pressOk(root, button)
Definition: mtTkinter.py:236
ArcBall.Vector3fDot
def Vector3fDot(u, v)
Definition: ArcBall.py:169
_08c_clock.clock.hwidth
hwidth
Handle width.
Definition: _08c_clock.py:122
_07_alarme_class.alarm.__kill__
def __kill__(self, pid)
Definition: _07_alarme_class.py:273
_09_tkhanoi.hanoi
def hanoi(n, ffrom, to, work)
Definition: _09_tkhanoi.py:99
_08b_clock_bezier.main
def main()
Definition: _08b_clock_bezier.py:262
_08a_pack_circles.Timer.callback
callback
Definition: _08a_pack_circles.py:107
Getch._Getch.impl
impl
Definition: Getch.py:17
_01e_fracoes.Fracoes
Process fractions on a given file.
Definition: _01e_fracoes.py:18
_01a_fracao.Fracao.__rsub__
def __rsub__(self, f)
Operador right side subtraction.
Definition: _01a_fracao.py:220
_07_alarme_class.alarm.getInitialDir
def getInitialDir(self)
Definition: _07_alarme_class.py:307
_05e_pascal.Pascal.__repr__
def __repr__(self)
Creates the pascal triangle between two levels.
Definition: _05e_pascal.py:229
mapper.mapper.__windowToViewport
def __windowToViewport(self, x, y)
Maps a single point from world coordinates to viewport (screen) coordinates.
Definition: mapper.py:45
mapper.mapper.fx
fx
Definition: mapper.py:25
NeHeGL.ReSizeGLScene
def ReSizeGLScene(Width, Height)
Definition: NeHeGL.py:82
_10_tkmpg123.stop
def stop()
Definition: _10_tkmpg123.py:188
_08b_clock_bezier._hand.__init__
def __init__(self, zero=0.0, h=0.40, m=0.75, s=0.85)
Definition: _08b_clock_bezier.py:41
_08c_clock.clock.paint_arc
def paint_arc(self, x, y, t0, t1, radius=None, color=None, border=None)
Draws an arc at a given point.
Definition: _08c_clock.py:489
_01b_Agenda.Agenda.__str__
def __str__(self)
For printing an address book x by using just print x.
Definition: _01b_Agenda.py:80
mplayertv.main
def main(argv=None)
Definition: mplayertv.py:267
_08c_clock.clock.canvas
canvas
Canvas for drawing.
Definition: _08c_clock.py:141
_08c_clock.clock.draw_handle
def draw_handle(self, angle, len, wid=None, color=None)
Draw a handle.
Definition: _08c_clock.py:414
_11_tkradio.rec_on
def rec_on()
Definition: _11_tkradio.py:645
_08c_clock.clock.lwidth
lwidth
Circle and arc border width.
Definition: _08c_clock.py:124
_01c_vector.vector.__repr__
def __repr__(self)
Print this vector.
Definition: _01c_vector.py:62
_01d_Agenda.Agenda.__str__
def __str__(self)
For printing an address book x by using just print x.
Definition: _01d_Agenda.py:175
_08c_clock.clock.setTimeZone
def setTimeZone(self, place=0)
Sets the timezone for the clock.
Definition: _08c_clock.py:198
_11_tkradio.IRRec.__on
__on
Definition: _11_tkradio.py:205
Triangulations_2
_08c_clock.clock.debug
debug
Debugging state.
Definition: _08c_clock.py:110
_06_ping.testit.getLocale
def getLocale(self)
Definition: _06_ping.py:72
ArcBall._test
def _test()
Definition: ArcBall.py:328
_08a_pack_circles.randomPoint
def randomPoint(xmax, ymax)
Definition: _08a_pack_circles.py:33
_01e_fracoesTest.FracaoTest.test_div
def test_div(self)
Definition: _01e_fracoesTest.py:85
_01d_AgendaTest.AgendaTest.test_getPhone
def test_getPhone(self)
Definition: _01d_AgendaTest.py:79
mapper.mapper.viewport
viewport
Definition: mapper.py:22
_07_alarme_class.clockState.min
min
Definition: _07_alarme_class.py:452
_01c_vector.vector.__mul__
def __mul__(self, s)
Operator * : multiplication by an scalar.
Definition: _01c_vector.py:53
_10_tkmpg123.start_play
def start_play(song="")
Definition: _10_tkmpg123.py:387
_01d_AgendaTest.AgendaTest.setUp
def setUp(self)
Two Agenda objects to be used in the tests.
Definition: _01d_AgendaTest.py:27
_15_julia.init
def init()
Definition: _15_julia.py:153
ArcBall.unit_test_ArcBall_module
def unit_test_ArcBall_module()
Definition: ArcBall.py:272
_13_VoronoiDemo.init
def init()
Definition: _13_VoronoiDemo.py:112
_01b_AgendaTest.AgendaTest.test_eq
def test_eq(self)
Definition: _01b_AgendaTest.py:41
_11_tkradio.getFreq
def getFreq(s)
Definition: _11_tkradio.py:658
_01c_vector.vector.__iter__
def __iter__(self)
Return an iterator for this vector.
Definition: _01c_vector.py:77
getcdmp.main
def main(argv=None)
Definition: getcdmp.py:119
_08b_clock_bezier._hand.setWidth
def setWidth(self, w)
Definition: _08b_clock_bezier.py:74
_11_tkradio.radioState.__str__
def __str__(self)
Definition: _11_tkradio.py:765
mapper2.main
def main()
Definition: mapper2.py:102
_08c_clock.clock.fontSmall
fontSmall
Text font small.
Definition: _08c_clock.py:153
mplayertv.selectFile
def selectFile()
Definition: mplayertv.py:238
ArcBall.Point2fT
def Point2fT(x=0.0, y=0.0)
Definition: ArcBall.py:163
_10_tkmpg123.playerState.__str__
def __str__(self)
Definition: _10_tkmpg123.py:383
_01a_fracao.mdc
def mdc(x, y)
mdc is a general use function, defined outside the class.
Definition: _01a_fracao.py:49
digitalClock.EntryWithIntVar
Create an entry and its associate StringVar.
Definition: digitalClock.py:171
_08b_clock_bezier.makeThread
Creates a new thread.
Definition: _08b_clock_bezier.py:223
_10_tkmpg123.playerState.pos
pos
Definition: _10_tkmpg123.py:381
_07_alarme_class.alarm.makeThread
Class for creating a new thread.
Definition: _07_alarme_class.py:187
digitalClock.makeThread.__action
__action
Definition: digitalClock.py:147
GLUT
sort_file.sort_file
def sort_file()
Sort the lines in the file named on standard input, outputting the sorted lines on stdout.
Definition: sort_file.py:20
_08b_clock_bezier._hand.getScale
def getScale(self)
Definition: _08b_clock_bezier.py:59
_08c_clock.clock.root
root
tkinter root
Definition: _08c_clock.py:118
ArcBall.Vector3fT
def Vector3fT()
Definition: ArcBall.py:160
_11_tkradio.loopon
def loopon()
Definition: _11_tkradio.py:619
_07_alarme_class.clockState.hour
hour
Definition: _07_alarme_class.py:451
_08b_clock_bezier.makeThread.run
def run(self)
Method representing the thread's activity.
Definition: _08b_clock_bezier.py:249
mplayerdvd.playvcd
def playvcd(device, chp)
Definition: mplayerdvd.py:80
_11_tkradio.radioState.loop
loop
Definition: _11_tkradio.py:758
digitalClock.digitalClock.__init__
def __init__(self, clock, secs=0, ent=None, time='')
Constructor.
Definition: digitalClock.py:34
_10_tkmpg123.pause
def pause()
Definition: _10_tkmpg123.py:170
_01a_fracao.Fracao.__neg__
def __neg__(self)
Operator -.
Definition: _01a_fracao.py:225
_04c_fs.main
def main(argv=None)
Definition: _04c_fs.py:74
mapper.mapper.windowToViewport
def windowToViewport(self, *p)
Maps points from world coordinates to viewport (screen) coordinates.
Definition: mapper.py:75
_11_tkradio.IRRec.lirc_handle
lirc_handle
Definition: _11_tkradio.py:204
ArcBall.ArcBallT._mapToSphere
def _mapToSphere(self, NewPt)
Definition: ArcBall.py:81
_07_alarme_class.pid
Retrives the process identification (pid), given the process name.
Definition: _07_alarme_class.py:418
_05e_pascal.Pascal
Class for generating and applying pascal triangles on some applications, such as probability and stat...
Definition: _05e_pascal.py:35
_08c_clock.clock.imgPath
imgPath
Image logo path.
Definition: _08c_clock.py:102
_08b_clock_bezier._hand.setType
def setType(self, t)
Definition: _08b_clock_bezier.py:68
_10_tkmpg123.main
def main(argv=None)
Definition: _10_tkmpg123.py:419
_01a_fracaoTest.FracaoTest.test_rop
def test_rop(self)
Definition: _01a_fracaoTest.py:47
_11_tkradio.FMRec.__on
__on
Definition: _11_tkradio.py:270
_01a_fracao.Fracao.__mul__
def __mul__(self, f)
Operator *.
Definition: _01a_fracao.py:125
Lesson48.Initialize
def Initialize(Width, Height)
Definition: Lesson48.py:34
mapper.mapper.windowVecToViewport
def windowVecToViewport(self, x, y)
Maps a single vector from world coordinates to viewport (screen) coordinates.
Definition: mapper.py:55
_07_alarme_class.location.os
def os(self)
Definition: _07_alarme_class.py:64
_07_alarme_class.volume.on_move
def on_move(self, value=0)
Definition: _07_alarme_class.py:384
_08c_clock.clock.decPlace
def decPlace(self, event)
Decrement the clock place.
Definition: _08c_clock.py:402
_01e_fracoesTest.FracaoTest.f1
f1
Definition: _01e_fracoesTest.py:29
_12a_poly.init
def init()
Definition: _12a_poly.py:251
_10_tkmpg123.init
def init(loc)
Definition: _10_tkmpg123.py:38
mapper2.mapper2.T
T
Hold the world to GPS transformation matrix.
Definition: mapper2.py:62
_11_tkradio.rec
def rec()
Definition: _11_tkradio.py:637
mplayerdvd.readDir
def readDir(dir)
Definition: mplayerdvd.py:51
_01c_vector.vector.__add__
def __add__(self, v)
Operator +.
Definition: _01c_vector.py:31
_07_alarme_class.location.tempdir
def tempdir(self)
Definition: _07_alarme_class.py:65
_07_alarme_class.volume.__gmixer
__gmixer
Definition: _07_alarme_class.py:336
_01a_fracao.Fracao.__str__
def __str__(self)
Controls how a fraction is printed.
Definition: _01a_fracao.py:233
_12a_poly.toggleDebug
def toggleDebug(event)
Definition: _12a_poly.py:510
ArcBall.ArcBallT.__str__
def __str__(self)
Definition: ArcBall.py:65
_05e_pascal.Pascal.last_level
last_level
last level of the triangle to be shown.
Definition: _05e_pascal.py:41
_13_VoronoiDemo.display
def display()
Definition: _13_VoronoiDemo.py:45
_07_alarme_class.alarm.__pid
__pid
process id of the running player
Definition: _07_alarme_class.py:83
_07_alarme_class.pid.getpid
def getpid(self, proc)
Definition: _07_alarme_class.py:434
_07_alarme_class.clockState.on
on
Definition: _07_alarme_class.py:449
_07_alarme_class.pid.__init__
def __init__(self)
Definition: _07_alarme_class.py:419
_01d_Agenda.personalData.address
address
Contact address.
Definition: _01d_Agenda.py:52
_08c_clock.clock.bezel
bezel
Resized PIL logo image.
Definition: _08c_clock.py:307
_05e_pascal.Pascal.lineFeed
lineFeed
string used to signify the end of a line of text and the start of a new one.
Definition: _05e_pascal.py:46
_15_julia.keyboard
def keyboard(key, x, y)
Definition: _15_julia.py:187
_01b_AgendaTest.AgendaTest.test_repr
def test_repr(self)
Definition: _01b_AgendaTest.py:60
_11_tkradio.radioState.pos
pos
Definition: _11_tkradio.py:763
_12a_poly.getNormal
def getNormal(poly)
Polygon normal by Newell's method.
Definition: _12a_poly.py:110
_10_tkmpg123.getUser
def getUser()
Definition: _10_tkmpg123.py:320
_16_sierpinski_gasket.draw
def draw(c, points, contour=False)
Draw triangles, given in points, on canvas c.
Definition: _16_sierpinski_gasket.py:86
_01a_fracaoTest.FracaoTest.test_iadd
def test_iadd(self)
Definition: _01a_fracaoTest.py:57
_01a_fracao.Fracao.__rfloordiv__
def __rfloordiv__(self, f)
Operador right side integer division.
Definition: _01a_fracao.py:203
_07_alarme_class.alarm.off
def off(self)
Definition: _07_alarme_class.py:231
_07_alarme_class.volume.getChannel
def getChannel(self)
Definition: _07_alarme_class.py:373
mtTkinter._TkAttr.__init__
def __init__(self, tk, attr)
Definition: mtTkinter.py:98
_01f_vector.vector.__mul__
def __mul__(self, s)
Operator * : multiplication by an scalar.
Definition: _01f_vector.py:59
mplayertv.getInitialDir
def getInitialDir()
Definition: mplayertv.py:228
mtTkinter._CheckEvents
def _CheckEvents(tk)
Definition: mtTkinter.py:160
_11_tkradio.getStation
def getStation(frequency)
Definition: _11_tkradio.py:409
mapper2.mapper2.viewport
viewport
Three vertices of a triangle in GPS coordinates.
Definition: mapper2.py:46
_12a_poly_interface.mainInterface
def mainInterface()
Definition: _12a_poly_interface.py:74
_11_tkradio.setCurStation
def setCurStation(frequency)
Definition: _11_tkradio.py:420
_07_alarme_class.volume
Class for setting parameters related to the volume control: mixer, channel, card, volume level,...
Definition: _07_alarme_class.py:333
mplayerdvd.main
def main(argv=None)
Definition: mplayerdvd.py:101
_11_tkradio.radioState.net
net
Definition: _11_tkradio.py:759
mtTkinter._Tk
Definition: mtTkinter.py:69
_10_tkmpg123.about
def about(e=None)
Definition: _10_tkmpg123.py:217
_08b_clock_bezier._hand.__scale
__scale
Definition: _08b_clock_bezier.py:52
_08c_clock.clock.delta
delta
A time difference of deltahours.
Definition: _08c_clock.py:139
_08c_clock.clock.__init__
def __init__(self, root, place=0, sImage=True, w=400, h=400, useThread=False, debug=False)
Constructor.
Definition: _08c_clock.py:96
_08c_clock.clock.circlesize
circlesize
Default circle radius.
Definition: _08c_clock.py:114
_10_tkmpg123.list_entry_clicked
def list_entry_clicked(event)
Definition: _10_tkmpg123.py:327
mplayerdvd.playdvd
def playdvd(device, chp)
Definition: mplayerdvd.py:58
_08c_clock.clock.bgcolor
bgcolor
Default background color.
Definition: _08c_clock.py:324
mapper.mapper.fy
fy
Definition: mapper.py:26
_11_tkradio.trigger
def trigger()
Definition: _11_tkradio.py:555
_08c_clock.makeThread
Class for creating a new thread.
Definition: _08c_clock.py:56
NeHeGL.keyPressed
def keyPressed(*args)
Definition: NeHeGL.py:103
_13_VoronoiDemo.mouse
def mouse(button, state, x, y)
Definition: _13_VoronoiDemo.py:101
_01a_fracao.Fracao.__iadd__
def __iadd__(self, f)
Operator +=.
Definition: _01a_fracao.py:113
ArcBall.Vector3fCross
def Vector3fCross(u, v)
Definition: ArcBall.py:174
_16_sierpinski_gasket.Sierpinski
def Sierpinski(a, b, c, n, fourth=False)
Creates a Sierpinski Gasket, by recursively partitioning an initial triangle (a,b,...
Definition: _16_sierpinski_gasket.py:45
_08c_clock.clock.paint_circle
def paint_circle(self, x, y, radius=None, color=None, border=None)
Draws a circle at a given point.
Definition: _08c_clock.py:468
_08c_clock.clock.poll
def poll(self)
Animates the clock, by redrawing the handles, after a certain time interval.
Definition: _08c_clock.py:504
_15_julia.reshape
def reshape(w, h)
Definition: _15_julia.py:173
_01a_fracaoTest.FracaoTest.test_float_Exception
def test_float_Exception(self)
Definition: _01a_fracaoTest.py:81
_01a_fracao.Fracao.__truediv__
def __truediv__(self, f)
Operator /.
Definition: _01a_fracao.py:159
GL
_01f_vector.vector.__sub__
def __sub__(self, v)
Operator -.
Definition: _01f_vector.py:47
_01d_AgendaTest.AgendaTest.test_remContact
def test_remContact(self)
Definition: _01d_AgendaTest.py:92
_01b_Agenda.Agenda
Class for holding an address book.
Definition: _01b_Agenda.py:15
_07_alarme_class.pid.str2num
def str2num(self, datum)
Definition: _07_alarme_class.py:423
_01b_AgendaTest.AgendaTest.test_getPhone
def test_getPhone(self)
Definition: _01b_AgendaTest.py:73
_01a_fracaoTest.FracaoTest.test_reduce
def test_reduce(self)
Definition: _01a_fracaoTest.py:38
_05c_sinx_x.resize
def resize(event)
Definition: _05c_sinx_x.py:90
_08a_pack_circles.Timer.__init__
def __init__(self, root, callback, delay)
Definition: _08a_pack_circles.py:105
_07_alarme_class.alarm.__root
__root
the root of the music directory
Definition: _07_alarme_class.py:95
_01d_Agenda.Agenda.__repr__
def __repr__(self)
Used to print a human readable presentation of an object.
Definition: _01d_Agenda.py:158
digitalClock.digitalClock.clock
clock
Label for displaying the clock.
Definition: digitalClock.py:40
ArcBall.ArcBallT
Definition: ArcBall.py:57
_07_alarme_class.clockState.song
song
Definition: _07_alarme_class.py:450
_08c_clock.main
def main(argv=None)
Main program for testing.
Definition: _08c_clock.py:525
_01b_Agenda.Agenda.getPhone
def getPhone(self, nome, index)
Retrieves the index-th phone of a given contact.
Definition: _01b_Agenda.py:39
_04b_wc.main
def main(argv=None)
Definition: _04b_wc.py:64
_08b_clock_bezier._hand.getWidth
def getWidth(self)
Definition: _08b_clock_bezier.py:56
_11_tkradio.FMRec.stop
def stop(self)
Definition: _11_tkradio.py:278
_11_tkradio.radioState.chn
chn
Definition: _11_tkradio.py:760
_08b_clock_bezier.makeThread.__del__
def __del__(self)
Object destructor.
Definition: _08b_clock_bezier.py:242
_05b_dns.reverseDns
def reverseDns(IP, ldns)
Definition: _05b_dns.py:16
_08c_clock.clock.timezone
timezone
Clock time zone.
Definition: _08c_clock.py:205
_04e_boxplot_demo.fake_bootstrapper
def fake_bootstrapper(n)
plt.show()
Definition: _04e_boxplot_demo.py:186
_07_alarme_class.alarm.__player
__player
it can be anything
Definition: _07_alarme_class.py:75
mtTkinter._testThread
def _testThread(root)
Definition: mtTkinter.py:201
Kernel
_01b_Agenda.Agenda.__init__
def __init__(self)
Constructor.
Definition: _01b_Agenda.py:18
_01d_AgendaTest.AgendaTest.test_getPhone2
def test_getPhone2(self)
Definition: _01d_AgendaTest.py:83
_01e_fracoesTest.FracaoTest.test_reduce
def test_reduce(self)
Definition: _01e_fracoesTest.py:51
_13_VoronoiDemo.reshape
def reshape(wid, hgt)
Definition: _13_VoronoiDemo.py:90
_01c_vector.vector.dotProd
def dotProd(self, v)
Dot product operator.
Definition: _01c_vector.py:45
_05e_pascal.Pascal.getNextRow
def getNextRow(self, curr_row)
Computes the next row of a Pascal triangle, given the current row.
Definition: _05e_pascal.py:200
_12_tet.init
def init()
Definition: _12_tet.py:84
mtTkinter._TkAttr._tk
_tk
Definition: mtTkinter.py:99
_05e_pascal_zip.pascal
def pascal(nlines, line=[1])
A Pascal Triangle generator.
Definition: _05e_pascal_zip.py:50
_11_tkradio.net
def net()
Definition: _11_tkradio.py:565
_12a_poly.veclen
def veclen(p, q)
Length of vector from point p = (x1,y1,...,x1n) to q = (x,y,...,xn).
Definition: _12a_poly.py:47
mtTkinter._TkAttr._attr
_attr
Definition: mtTkinter.py:100
_11_tkradio.IRRec.__init__
def __init__(self, lirc_handle)
Definition: _11_tkradio.py:200
mapper.mapper.__init__
def __init__(self, world, viewport, ydown=True, noDistortion=True)
Constructor.
Definition: mapper.py:20
_01d_AgendaTest.AgendaTest.test_putPhone
def test_putPhone(self)
Definition: _01d_AgendaTest.py:69
mapper2.mapper2.windowVecToViewport
def windowVecToViewport(self, x, y)
Maps a single vector from world coordinates to viewport (screen) coordinates.
Definition: mapper2.py:81
_11_tkradio.next
def next(e=None)
Definition: _11_tkradio.py:541
_11_tkradio.radioState.volume
volume
Definition: _11_tkradio.py:757
_07_alarme_class.alarm.__start__
def __start__(self)
Definition: _07_alarme_class.py:160
_05d_prime.main
def main(argv=None)
Definition: _05d_prime.py:22
_06_ping.testit.ip
ip
Definition: _06_ping.py:50
_07_alarme_class.volume.__ivol
__ivol
Definition: _07_alarme_class.py:343
ArcBall.Matrix4fT
def Matrix4fT()
Definition: ArcBall.py:151
_01b_Agenda.Agenda.__eq__
def __eq__(self, other)
Compares two agendas.
Definition: _01b_Agenda.py:47
_01d_Agenda.personalData.__repr__
def __repr__(self)
Used to print a human readable presentation of an object.
Definition: _01d_Agenda.py:70
_07_alarme_class.alarm.play
def play(self)
Definition: _07_alarme_class.py:237
ArcBall.ArcBallT.m_StVec
m_StVec
Definition: ArcBall.py:59
_07_alarme_class.alarm.__useThreading
__useThreading
selects the threading model
Definition: _07_alarme_class.py:89
_07_alarme_class.location.exe
def exe(self)
Definition: _07_alarme_class.py:63
_08c_clock.clock.circlecolor
circlecolor
Default circle fill color.
Definition: _08c_clock.py:326
_01e_fracoesTest.FracaoTest.setUp
def setUp(self)
Two fraction objects to be used in the tests.
Definition: _01e_fracoesTest.py:28
digitalClock.makeThread.__del__
def __del__(self)
Object destructor.
Definition: digitalClock.py:157
_07_alarme_class.alarm.__loc
__loc
locale information
Definition: _07_alarme_class.py:91
_12a_poly.cbMotion
def cbMotion(event)
Definition: _12a_poly.py:405
_08a_pack_circles.Timer.restart
def restart(self)
Definition: _08a_pack_circles.py:122
_05e_pascal_zip.main
def main()
Definition: _05e_pascal_zip.py:58
_07_alarme_class.alarm.trigger
def trigger(self)
Creates a thread to run the alarm.
Definition: _07_alarme_class.py:219
mapper2.mapper2.ys
ys
Definition: mapper2.py:41
ArcBall.Quat4fT
def Quat4fT()
Definition: ArcBall.py:157
_01f_vector.main
def main()
Main program for testing.
Definition: _01f_vector.py:89
Getch._Getch.__call__
def __call__(self)
Definition: Getch.py:21
_12a_poly.wheelUp
def wheelUp(event)
Definition: _12a_poly.py:430
_01a_fracao.Fracao.__div__
def __div__(self, f)
Operator /.
Definition: _01a_fracao.py:149
bell.pdf
def pdf(x)
A custom function to calculate the probability distribution function.
Definition: bell.py:56
_01c_vector.vector.__getPosition
def __getPosition(self)
Return this vector position.
Definition: _01c_vector.py:85
_07_alarme_class.alarm.getPlayer
def getPlayer(self)
Definition: _07_alarme_class.py:312
mapper.mapper.world
world
Definition: mapper.py:21
_01e_fracoesTest.FracaoTest.test_getitem
def test_getitem(self)
Definition: _01e_fracoesTest.py:90
_07_alarme_class.alarm.getTime
def getTime(self)
Definition: _07_alarme_class.py:154
_01c_vector.vector.norm
def norm(self)
Returns the norm (length, magnitude) of the vector.
Definition: _01c_vector.py:49
_11_tkradio.mouse_enter
def mouse_enter(event)
Definition: _11_tkradio.py:677
_12a_poly.EPS
def EPS(d)
angular displacement as a function of a number of pixels.
Definition: _12a_poly.py:98
_05e_pascal.Pascal.subscript
subscript
translation table for creating subscript.
Definition: _05e_pascal.py:51
_01d_AgendaTest.AgendaTest.test_remContact2
def test_remContact2(self)
Definition: _01d_AgendaTest.py:103
_07_alarme_class.alarm.__pp
__pp
player process
Definition: _07_alarme_class.py:81
_07_alarme_class.location.getLocale
def getLocale(self)
Definition: _07_alarme_class.py:54
_01c_vector.vector.position
position
A property for this vector position.
Definition: _01c_vector.py:94
_01e_fracoes.Fracoes.__str__
def __str__(self)
Returns the sum and product of all entries of "lfracoes".
Definition: _01e_fracoes.py:77
_10_tkmpg123.kill
def kill(pid)
Definition: _10_tkmpg123.py:182
_01b_Agenda.Agenda.__repr__
def __repr__(self)
Used to print a human readable presentation of an object.
Definition: _01b_Agenda.py:63
bell.plot3
def plot3(x, title="", xlabel="", ylabel="", fig=None, ax=None)
Plot the histogram by using matplotlib.
Definition: bell.py:133
_01c_vector.vector.__init__
def __init__(self, *coords)
Constructor.
Definition: _01c_vector.py:27
_01b_AgendaTest.AgendaTest.test_eq2
def test_eq2(self)
Definition: _01b_AgendaTest.py:47
_12a_poly.crossProd
def crossProd(U, V)
Return cross product U x V.
Definition: _12a_poly.py:71
_01e_fracoesTest.FracaoTest.test_iadd
def test_iadd(self)
Definition: _01e_fracoesTest.py:70
_11_tkradio.str2num
def str2num(datum)
Definition: _11_tkradio.py:735
_01e_fracoesTest.FracaoTest.test_ioerror_Exception
def test_ioerror_Exception(self)
Definition: _01e_fracoesTest.py:105
_01a_fracaoTest.FracaoTest.f2
f2
Definition: _01a_fracaoTest.py:29
_08b_clock_bezier.incrType
def incrType(e)
Definition: _08b_clock_bezier.py:167
_12_tet.createZeroMat
def createZeroMat(m, n)
Definition: _12_tet.py:30
ArcBall.Matrix3fMulMatrix3f
def Matrix3fMulMatrix3f(matrix_a, matrix_b)
Definition: ArcBall.py:193
_07_alarme_class.location.slash
def slash(self)
Definition: _07_alarme_class.py:61
_01b_AgendaTest.AgendaTest.test_putPhone2
def test_putPhone2(self)
Definition: _01b_AgendaTest.py:69
_12a_poly.DrawObj
def DrawObj(obj, col)
Draw a polyhedron.
Definition: _12a_poly.py:172
_12_tet.wheel
def wheel(event)
Definition: _12_tet.py:151
_01d_Agenda.personalData.__str__
def __str__(self)
Used to print a human readable presentation of an object.
Definition: _01d_Agenda.py:81
_10_tkmpg123.preferences
def preferences()
Definition: _10_tkmpg123.py:199
_05e_pascal.Pascal.binomial_expansion
def binomial_expansion(self, e, html=False)
Compute the binomial expansion of .
Definition: _05e_pascal.py:169
_11_tkradio.internetRadio
def internetRadio(freq)
Definition: _11_tkradio.py:427
_01c_vector.main
def main()
Main program for testing.
Definition: _01c_vector.py:97
mapper2.mapper2.__init__
def __init__(self, world, viewport, ydown=True)
Constructor.
Definition: mapper2.py:33
_11_tkradio.chn
def chn()
Definition: _11_tkradio.py:628
_16_sierpinski_arrowhead.Sierpinski_arrowhead_curve
def Sierpinski_arrowhead_curve(order, length)
Creates a Sierpinski Arrowhead curve, by recursively breaking an initial line, starting at a given po...
Definition: _16_sierpinski_arrowhead.py:40
_16_sierpinski_gasket.main
def main(argv=None)
Main program.
Definition: _16_sierpinski_gasket.py:107
_12a_poly.normalize
def normalize(p)
Normalize a vector.
Definition: _12a_poly.py:50
_05e_pascal.Pascal.first_level
first_level
first level of the triangle to be shown.
Definition: _05e_pascal.py:39
_07_alarme_class.location.__os
__os
Definition: _07_alarme_class.py:36
_12_tet.matMul
def matMul(mat1, mat2)
Definition: _12_tet.py:38
digitalClock.digitalClock.nsecs
nsecs
Initial number of second for the regressive chrono.
Definition: digitalClock.py:36
_11_tkradio.rec_off
def rec_off()
Definition: _11_tkradio.py:651
_01a_fracao.Fracao.num
num
Numerator.
Definition: _01a_fracao.py:72
_01c_vector.vector.__setitem__
def __setitem__(self, i, val)
Index operator [ ] for writing.
Definition: _01c_vector.py:70
_14_lesson5.InitGL
def InitGL(Width, Height)
Definition: _14_lesson5.py:72
_08b_clock_bezier.stopClock
def stopClock()
Definition: _08b_clock_bezier.py:216
_08a_pack_circles.draw
def draw()
Definition: _08a_pack_circles.py:76
_08c_clock.clock.font
font
Text font.
Definition: _08c_clock.py:151
_08c_clock.clock.polar2Cartesian
def polar2Cartesian(self, angle, radius=1)
Convert a vector from polar to cartesian coordinates.
Definition: _08c_clock.py:253
_01a_fracaoTest.FracaoTest.test_sub
def test_sub(self)
Definition: _01a_fracaoTest.py:63
_12a_poly.toggleObj
def toggleObj(event)
Definition: _12a_poly.py:489
_01f_vector.vector
A n-D vector with the following operations: +, -, dotProd, neg, norm, len, iter, *,...
Definition: _01f_vector.py:24
_01a_fracaoTest.FracaoTest.test_add
def test_add(self)
Definition: _01a_fracaoTest.py:53
_12a_poly.drawFace
def drawFace(p, pc, cent, col1, col)
Draw a face of the polyhedron, if it is visible.
Definition: _12a_poly.py:240
_01e_fracoesTest.FracaoTest.test_zeroden_Exception
def test_zeroden_Exception(self)
Definition: _01e_fracoesTest.py:97
ArcBall.ArcBallT.__init__
def __init__(self, NewWidth, NewHeight)
Definition: ArcBall.py:58
_11_tkradio.IRRec
Definition: _11_tkradio.py:197
_10_tkmpg123.playerState.volume
volume
Definition: _10_tkmpg123.py:379
_01e_fracoes.Fracoes.Reader
def Reader(self, f)
Reads a file with a numerator (int) and denominator (int) per line.
Definition: _01e_fracoes.py:43
_07_alarme_class.location.__bindir
__bindir
Definition: _07_alarme_class.py:38
_01d_Agenda.Agenda.__init__
def __init__(self)
Constructor.
Definition: _01d_Agenda.py:92
_12_tet.matTrans
def matTrans(mat)
Definition: _12_tet.py:53
_01d_Agenda.personalData.__eq__
def __eq__(self, other)
Compares two personal data.
Definition: _01d_Agenda.py:62
_11_tkradio.IRRec.run
def run(self)
Definition: _11_tkradio.py:212
_01a_fracao.main
def main()
Main program for testing.
Definition: _01a_fracao.py:255
_10_tkmpg123.ctm
def ctm(s)
Definition: _10_tkmpg123.py:369
_01b_AgendaTest.AgendaTest
Class for testing certain aspects of the behavior of the Agenda.
Definition: _01b_AgendaTest.py:21
_08b_clock_bezier._hand.__intick
__intick
Definition: _08b_clock_bezier.py:49
_12a_poly.getNormalLine
def getNormalLine(p, C, col)
Return a line corresponding to a face normal.
Definition: _12a_poly.py:213
ArcBall.ArcBallT.drag
def drag(self, NewPt)
Definition: ArcBall.py:118
_01d_AgendaTest.AgendaTest
Class for testing certain aspects of the behavior of the Agenda.
Definition: _01d_AgendaTest.py:21
ArcBall.Vector3fLength
def Vector3fLength(u)
Definition: ArcBall.py:185
_15_julia.julia
def julia(c, kcolor)
Definition: _15_julia.py:77
mtTkinter._Tk__init__
def _Tk__init__(self, *args, **kwargs)
Definition: mtTkinter.py:136
_11_tkradio.FMRec
Definition: _11_tkradio.py:262
_08c_clock.clock.viewport
viewport
Default viewport.
Definition: _08c_clock.py:100
_01c_vector.vector.__sub__
def __sub__(self, v)
Operator -.
Definition: _01c_vector.py:41
_12a_poly.exit
def exit(event)
Definition: _12a_poly.py:526
_07_alarme_class.alarm.__del__
def __del__(self)
Definition: _07_alarme_class.py:143
mapper.mapper.f
f
Definition: mapper.py:30
mplayertv.getFormat
def getFormat(fbase, code1, code2)
Definition: mplayertv.py:87
getcdmp.Log
def Log(s, prt=False)
Definition: getcdmp.py:47
mplayertv.getOs
def getOs()
Definition: mplayertv.py:70
_11_tkradio.main
def main(argv=None)
Definition: _11_tkradio.py:797
mplayerdvd.getParam
def getParam(p)
Definition: mplayerdvd.py:36
mapper2.mapper2.I
I
Inverse matrix of T.
Definition: mapper2.py:64
_05e_pascal.main
def main(argv=None)
Main function for testing.
Definition: _05e_pascal.py:276
_01f_vector.vector.__iter__
def __iter__(self)
Return an iterator for this vector.
Definition: _01f_vector.py:81
_08b_clock_bezier.getTime
def getTime()
Definition: _08b_clock_bezier.py:201
_07_alarme_class.clockState
Holds the state of the clock (used for persistency).
Definition: _07_alarme_class.py:443
mapper2.mapper2.__windowToViewport
def __windowToViewport(self, x, y)
Maps a single point from world coordinates to viewport (screen) coordinates.
Definition: mapper2.py:71
_01f_vector.vector.__setitem__
def __setitem__(self, i, val)
Index operator [ ] for writing.
Definition: _01f_vector.py:76
_08a_pack_circles.main
def main()
Definition: _08a_pack_circles.py:127
_01d_Agenda.Agenda.getAddr
def getAddr(self, nome)
Retrieves the address of a given contact.
Definition: _01d_Agenda.py:134
_12a_poly.transpose
def transpose(M)
Transpose a matrix.
Definition: _12a_poly.py:53
_05e_pascal.Pascal.binomial_coefficient
def binomial_coefficient(self, n, m, method=0)
Compute choose or Combination .
Definition: _05e_pascal.py:95
_07_alarme_class.clockState.volume
volume
Definition: _07_alarme_class.py:447
_01b_Agenda.Agenda.dic
dic
Dictionary for associating a contact name to a telephone list.
Definition: _01b_Agenda.py:20
_05e_pascal.Pascal.superscript
superscript
translation table for creating superscript.
Definition: _05e_pascal.py:49
_08a_pack_circles.randomRadius
def randomRadius(x, y, xmax, ymax, rmin, rmax)
Definition: _08a_pack_circles.py:39
mapper2.mapper2.windowToViewport
def windowToViewport(self, *p)
Maps points from world coordinates to viewport (screen) coordinates.
Definition: mapper2.py:99
_08a_pack_circles.Timer.stop
def stop(self)
Definition: _08a_pack_circles.py:116
_08c_clock.clock.decimal
decimal
Decimal numerals.
Definition: _08c_clock.py:158
_07_alarme_class.alarm.__on
__on
alarm state: ON or OFF
Definition: _07_alarme_class.py:87
Lesson48.Draw
def Draw()
Definition: Lesson48.py:140
_08b_clock_bezier._hand.__hour
__hour
Definition: _08b_clock_bezier.py:44
web-scraper.get_city_tmin_and_tmax
def get_city_tmin_and_tmax(index, offline=False, debug=False)
Retorna uma tupla com o nome da cidade indicada, e suas temperaturas mínima e máxima.
Definition: web-scraper.py:52
_10_tkmpg123.buildPlayer
def buildPlayer(loc, ivol)
Definition: _10_tkmpg123.py:99
_05e_pascal.Pascal.center
center
whether to center the lines of the triangle.
Definition: _05e_pascal.py:44
Getch.getch
getch
Definition: Getch.py:53
mplayertv.getPlayer
def getPlayer()
Definition: mplayertv.py:250
_08b_clock_bezier._hand.__type
__type
Definition: _08b_clock_bezier.py:53
_07_alarme_class.alarm.__song
__song
Definition: _07_alarme_class.py:303
digitalClock.makeThread.debug
debug
Definition: digitalClock.py:148
digitalClock.digitalClock.ent
ent
Entry for displaying the regressive chrono.
Definition: digitalClock.py:42
_12a_poly.toggleNormal
def toggleNormal(event)
Definition: _12a_poly.py:482
data.toGPA
def toGPA(df, subjects)
Change numerical grades for letters.
Definition: data.py:64
_12a_poly.vecAdd
def vecAdd(v1, v2)
Return vector v2 + v1.
Definition: _12a_poly.py:40
_01e_fracoes.Fracoes.lfracoes
lfracoes
A list, which aggregates objects of type Fracao.
Definition: _01e_fracoes.py:28
_04e_boxplot_demo.title
title
Definition: _04e_boxplot_demo.py:115
_06_ping.testit.pingaling
pingaling
Definition: _06_ping.py:54
_06_ping.testit.status
status
Definition: _06_ping.py:51
_07_alarme_class.volume.__channel
__channel
Definition: _07_alarme_class.py:339
_14_lesson5.keyPressed
def keyPressed(*args)
Definition: _14_lesson5.py:193
_11_tkradio.radioState.__init__
def __init__(self, intial_station)
Definition: _11_tkradio.py:756
_11_tkradio.FMRec.__del__
def __del__(self)
Definition: _11_tkradio.py:273
Lesson48.Upon_Click
def Upon_Click(button, button_state, cursor_x, cursor_y)
Definition: Lesson48.py:81
_08a_pack_circles.distance2Circles
def distance2Circles(p, l)
Definition: _08a_pack_circles.py:48
_11_tkradio.set_rec_type
def set_rec_type()
Definition: _11_tkradio.py:365
digitalClock.digitalClock.tick
def tick(self)
Updates the clock display.
Definition: digitalClock.py:51
_08b_clock_bezier._hand.setScale
def setScale(self, s)
Definition: _08b_clock_bezier.py:77
_11_tkradio.IRRec.stop
def stop(self)
Definition: _11_tkradio.py:207
_12a_poly.bbox
def bbox(p)
Bounding Box of a polyhedron.
Definition: _12a_poly.py:57
_01e_fracoesTest.FracaoTest.test_sub
def test_sub(self)
Definition: _01e_fracoesTest.py:76
_08b_clock_bezier.makeThread.__init__
def __init__(self, func)
Constructor.
Definition: _08b_clock_bezier.py:230
_12a_poly.wheelDown
def wheelDown(event)
Definition: _12a_poly.py:437
ArcBall.ArcBallT.m_AdjustHeight
m_AdjustHeight
Definition: ArcBall.py:62
_01b_AgendaTest.AgendaTest.test_str
def test_str(self)
Definition: _01b_AgendaTest.py:56
_11_tkradio.readStations
def readStations()
Definition: _11_tkradio.py:515
_07_alarme_class.alarm.makeThread.__del__
def __del__(self)
Object destructor.
Definition: _07_alarme_class.py:205
_06_ping.testit
Class for pinging a given IP, in its own thread.
Definition: _06_ping.py:43
_07_alarme_class.alarm.makeThread.__action
__action
Definition: _07_alarme_class.py:196
_07_alarme_class.alarm.__minute
__minute
minute to stop the alarm
Definition: _07_alarme_class.py:79
_01a_fracao.Fracao.__sub__
def __sub__(self, f)
Operator -.
Definition: _01a_fracao.py:208
_10_tkmpg123.playerState.playlist
playlist
Definition: _10_tkmpg123.py:380
_15_julia.xrange
xrange
Definition: _15_julia.py:75
_12a_poly.toggleFill
def toggleFill(event)
Definition: _12a_poly.py:475
_12a_poly_interface.draw
def draw()
Desenha um dado sólido na tela de acordo com as opções escolhidas na interface.
Definition: _12a_poly_interface.py:43
_07_alarme_class.volume.volup
def volup(self)
Definition: _07_alarme_class.py:389
_01a_fracao.Fracao.__rdiv__
def __rdiv__(self, f)
Operador right side integer division (python 2).
Definition: _01a_fracao.py:185
_01c_vector.vector.__y
__y
The two coordinates of this vector.
Definition: _01c_vector.py:74
digitalClock.digitalClock._tickDown
def _tickDown(self)
Manages the process of counting time backwards.
Definition: digitalClock.py:107
_01d_Agenda.Agenda
Class for holding an address book.
Definition: _01d_Agenda.py:89
_08c_clock.clock.arc
arc
Day light arc.
Definition: _08c_clock.py:242
_01f_vector.vector.__array
__array
vector data
Definition: _01f_vector.py:32
_08c_clock.clock.paint_hms
def paint_hms(self)
Draws the three handles.
Definition: _08c_clock.py:424
_09_tkhanoi.move_ring
def move_ring(n, to)
Definition: _09_tkhanoi.py:240
web-scraper.main
def main(argv=None)
Programa principal.
Definition: web-scraper.py:95
_01a_fracao.Fracao.__floordiv__
def __floordiv__(self, f)
Operator //.
Definition: _01a_fracao.py:169
_08b_clock_bezier._hand.setOutTick
def setOutTick(self, o)
Definition: _08b_clock_bezier.py:83
ArcBall.Matrix3fSetRotationFromQuat4f
def Matrix3fSetRotationFromQuat4f(q1)
Definition: ArcBall.py:233
_12a_poly.wheel
def wheel(event)
Definition: _12a_poly.py:444
_08c_clock.clock.longitude
longitude
Current latitude and longitude.
Definition: _08c_clock.py:202
_08b_clock_bezier.incrWidth
def incrWidth(e)
Definition: _08b_clock_bezier.py:174
_07_alarme_class.alarm.__hour
__hour
hour to start the alarm
Definition: _07_alarme_class.py:77
_08a_pack_circles.Timer.root
root
Definition: _08a_pack_circles.py:106
mapper.mapper.c_1
c_1
Definition: mapper.py:37
Getch._GetchWindows
Definition: Getch.py:44
_12_tet.translate
def translate(x, y, dx, dy)
Definition: _12_tet.py:65
_07_alarme_class.alarm.getdPlayer
def getdPlayer(self)
Definition: _07_alarme_class.py:317
digitalClock.digitalClock.thirty
def thirty(self)
Increments chrono time by thirty seconds.
Definition: digitalClock.py:76
_01b_AgendaTest.AgendaTest.a2
a2
Definition: _01b_AgendaTest.py:29
_05c_sinx_x.main
def main()
Definition: _05c_sinx_x.py:94
_13_VoronoiDemo.main
def main(argv=None)
Definition: _13_VoronoiDemo.py:116
_08c_clock.clock.timecolor
timecolor
Default handle color.
Definition: _08c_clock.py:325
_01e_fracoes.main
def main(argv=None)
Main method.
Definition: _01e_fracoes.py:99
_08c_clock.makeThread.debug
debug
Definition: _08c_clock.py:65
_01e_fracoes.Fracoes.__getitem__
def __getitem__(self, i)
Returns the ith fraction.
Definition: _01e_fracoes.py:60
data.readSheet
def readSheet()
Read the spreadsheet.
Definition: data.py:44
_12a_poly.matMul
def matMul(m1, m2)
Return m1 x m2 (m1 multiplied by m2).
Definition: _12a_poly.py:32
_11_tkradio.execmd
def execmd(cmd)
Definition: _11_tkradio.py:393
_08c_clock.makeThread.__init__
def __init__(self, func)
Constructor.
Definition: _08c_clock.py:62
_12a_poly.getNormal2
def getNormal2(p)
Face normal vector.
Definition: _12a_poly.py:79
mtTkinter._Tk.__getattr__
def __getattr__(self, name)
Definition: mtTkinter.py:88
_07_alarme_class.volume.__grep
__grep
Definition: _07_alarme_class.py:341
_01e_fracoesTest.FracaoTest
Class for testing certain aspects of the behavior of the Fracoes.
Definition: _01e_fracoesTest.py:22
_11_tkradio.fini
def fini()
Definition: _11_tkradio.py:476
_08c_clock.clock.T
T
Window to Viewport mapping.
Definition: _08c_clock.py:143
NeHeGL.InitGL
def InitGL(Width, Height)
Definition: NeHeGL.py:67
_10_tkmpg123.aplay
def aplay(song)
Definition: _10_tkmpg123.py:300
_01b_AgendaTest.AgendaTest.test_remContact
def test_remContact(self)
Definition: _01b_AgendaTest.py:81
_07_alarme_class.clockState.__init__
def __init__(self)
Definition: _07_alarme_class.py:446
_07_alarme_class.location.__tempdir
__tempdir
Definition: _07_alarme_class.py:39
_01f_vector.vector.__add__
def __add__(self, v)
Operator +.
Definition: _01f_vector.py:37
_08a_pack_circles.Timer.delay
delay
Definition: _08a_pack_circles.py:108
_01f_vector.vector.__len__
def __len__(self)
Return this vector length.
Definition: _01f_vector.py:85
_01f_vector.vector.__init__
def __init__(self, *coords)
Constructor.
Definition: _01f_vector.py:29
mplayerdvd.getExt
def getExt(fname)
Definition: mplayerdvd.py:96
_07_alarme_class.location.bindir
def bindir(self)
Definition: _07_alarme_class.py:62
_08c_clock.clock.placeIndex
placeIndex
Current clock place index.
Definition: _08c_clock.py:185
_01e_fracoesTest.FracaoTest.test_mul
def test_mul(self)
Definition: _01e_fracoesTest.py:80
mapper.mapper.ys
ys
Definition: mapper.py:27
_10_tkmpg123.state
bool state
Definition: _10_tkmpg123.py:33
digitalClock.makeThread
Creates a new thread.
Definition: digitalClock.py:138
_08b_clock_bezier._hand.___0
___0
Definition: _08b_clock_bezier.py:47
_08a_pack_circles.Timer
Definition: _08a_pack_circles.py:102
_07_alarme_class.alarm.setTime
def setTime(self, h=12, m=0)
Definition: _07_alarme_class.py:148
_05b_dns.main
def main(argv=None)
Definition: _05b_dns.py:30
Getch._Getch.__init__
def __init__(self)
Definition: Getch.py:15
_08b_clock_bezier.makeThread.debug
debug
Definition: _08b_clock_bezier.py:233
_01c_vector.vector
A vector 2D with the following operations: +, -, dotProd, neg, norm, len, iter, *,...
Definition: _01c_vector.py:22
_07_alarme_class.clockState.pos
pos
Definition: _07_alarme_class.py:453
digitalClock.digitalClock.running
running
Chrono state: running of not running.
Definition: digitalClock.py:46
_12_tet.wheelDown
def wheelDown(event)
Definition: _12_tet.py:144
_11_tkradio.radioState.mute
mute
Definition: _11_tkradio.py:761
ArcBall.Matrix4fSVD
def Matrix4fSVD(NewObj)
Definition: ArcBall.py:196
_12_tet.main
def main()
Definition: _12_tet.py:163
_12a_poly.ROT_Z
def ROT_Z(z)
counter-clockwise rotation about the Z axis
Definition: _12a_poly.py:93
mapper2.mapper2.viewportToWindow
def viewportToWindow(self, x, y)
Maps a single point from screen coordinates to window (world) coordinates.
Definition: mapper2.py:90
_07_alarme_class.volume.__mixer
__mixer
Definition: _07_alarme_class.py:335
colors.main
def main()
Definition: colors.py:95
_16_sierpinski_arrowhead.main
def main(argv=None)
Main program.
Definition: _16_sierpinski_arrowhead.py:105
_12a_poly.makeBox
def makeBox(box)
Make a bounding box.
Definition: _12a_poly.py:140
_01b_Agenda.Agenda.putPhone
def putPhone(self, nome, lista)
Associates new phones to the given name.
Definition: _01b_Agenda.py:27
_01b_AgendaTest.AgendaTest.test_getPhone2
def test_getPhone2(self)
Definition: _01b_AgendaTest.py:77
_05c_sinx_x.p
def p(c)
Definition: _05c_sinx_x.py:38
_01d_Agenda.personalData.__init__
def __init__(self, listOfPhones=None, addr='')
Constructor from a phone list and an address.
Definition: _01d_Agenda.py:21
_08c_clock.clock.deltahours
deltahours
UTC offset.
Definition: _08c_clock.py:137
_01a_fracaoTest.FracaoTest.test_div
def test_div(self)
Definition: _01a_fracaoTest.py:72
_01a_fracaoTest.FracaoTest.test_eq
def test_eq(self)
Definition: _01a_fracaoTest.py:31
_08b_clock_bezier._hand.__outtick
__outtick
Definition: _08b_clock_bezier.py:50
_01c_vector.vector.__neg__
def __neg__(self)
Negation operator.
Definition: _01c_vector.py:36
ArcBall.Matrix4fSetRotationScaleFromMatrix3f
def Matrix4fSetRotationScaleFromMatrix3f(NewObj, three_by_three_matrix)
Definition: ArcBall.py:206
_07_alarme_class.alarm.setSong
def setSong(self, file)
Definition: _07_alarme_class.py:300
_05e_pascal.Pascal.exponent
def exponent(self, val, type=False)
Return a superscript string for the given value.
Definition: _05e_pascal.py:145
_12a_poly_interface.setSolid
def setSolid(selection)
Define o sólido a ser desenhado de acordo com a seleção feita pelo usuário.
Definition: _12a_poly_interface.py:70
_01b_Agenda.main
def main()
Main program for testing.
Definition: _01b_Agenda.py:92
digitalClock.makeThread.__init__
def __init__(self, func)
Constructor.
Definition: digitalClock.py:145
_01e_fracoesTest.FracaoTest.test_setitem
def test_setitem(self)
Definition: _01e_fracoesTest.py:93
_07_alarme_class.alarm
Builds an alarm for playing a music (mp3 file) at a pre-determined time.
Definition: _07_alarme_class.py:68
_08b_clock_bezier.trigger
def trigger()
Creates a thread for the clock.
Definition: _08b_clock_bezier.py:255
_01b_Agenda.Agenda.remContact
def remContact(self, nome)
Removes a given contact from the address book.
Definition: _01b_Agenda.py:54
_01c_vector.vector.__truediv__
def __truediv__(self, s)
Operator / : division by an scalar.
Definition: _01c_vector.py:58
_07_alarme_class.volume.__loc
__loc
Definition: _07_alarme_class.py:338
_01d_AgendaTest.AgendaTest.test_str
def test_str(self)
Definition: _01d_AgendaTest.py:61
_08b_clock_bezier.updateClock
def updateClock()
Definition: _08b_clock_bezier.py:207
_01b_AgendaTest.AgendaTest.test_remContact2
def test_remContact2(self)
Definition: _01b_AgendaTest.py:90
mplayertv.getOptions
def getOptions(base, ext)
Definition: mplayertv.py:112
_08c_clock.clock
Class for drawing a simple analog clock.
Definition: _08c_clock.py:85
mplayertv.bindir
string bindir
Definition: mplayertv.py:60
_08b_clock_bezier.resize
bool resize
Definition: _08b_clock_bezier.py:106
_01d_Agenda.personalData.setlPhone
def setlPhone(self, l)
Appends a phone list to this contact phone list.
Definition: _01d_Agenda.py:58
_08b_clock_bezier.setClock
def setClock(hour, minute, second)
Definition: _08b_clock_bezier.py:185
Lesson48.Upon_Drag
def Upon_Drag(cursor_x, cursor_y)
Definition: Lesson48.py:61
_08b_clock_bezier._hand.__tindx
__tindx
Definition: _08b_clock_bezier.py:54
_12a_poly.main
def main()
Definition: _12a_poly.py:531
mplayertv.getParamList
def getParamList(player, path, ext, subtitles, movie, options)
Definition: mplayertv.py:175
_08c_clock.clock.resize
def resize(self, event)
Called when the window changes, by means of a user input.
Definition: _08c_clock.py:268
_05c_sinx_x.stop
def stop()
Definition: _05c_sinx_x.py:81
_08b_clock_bezier.makeThread.__action
__action
Definition: _08b_clock_bezier.py:232
_11_tkradio.setstation
def setstation()
Definition: _11_tkradio.py:452
_01a_fracaoTest.FracaoTest.f1
f1
Definition: _01a_fracaoTest.py:28
_01e_fracoesTest.FracaoTest.test_rop
def test_rop(self)
Definition: _01e_fracoesTest.py:60
ArcBall.ArcBallT.m_AdjustWidth
m_AdjustWidth
Definition: ArcBall.py:61
_01f_vector.vector.dotProd
def dotProd(self, v)
Dot product operator.
Definition: _01f_vector.py:51
_11_tkradio.start_irrec
def start_irrec()
Definition: _11_tkradio.py:336
_10_tkmpg123.readm3u
def readm3u(m3u)
Definition: _10_tkmpg123.py:280
getcdmp.GetMount
def GetMount()
Definition: getcdmp.py:110
_05e_pascal.Pascal.binomial_array
binomial_array
Binomial array.
Definition: _05e_pascal.py:83
_12a_poly.dotProd
def dotProd(u, v)
Return the dot product of two vectors.
Definition: _12a_poly.py:76
_07_alarme_class.alarm.setPlayer
def setPlayer(self, plid)
Definition: _07_alarme_class.py:322
_07_alarme_class.fini
def fini()
Definition: _07_alarme_class.py:460
_01d_AgendaTest.AgendaTest.a1
a1
Definition: _01d_AgendaTest.py:28
digitalClock.EntryWithIntVar.__init__
def __init__(self, root)
Constructor.
Definition: digitalClock.py:174
_01d_AgendaTest.AgendaTest.test_repr
def test_repr(self)
Definition: _01d_AgendaTest.py:65
_01c_vector.vector.__len__
def __len__()
Return this vector length.
Definition: _01c_vector.py:81
digitalClock.digitalClock.pause
def pause(self)
Pauses the regressive chrono.
Definition: digitalClock.py:71
mplayertv.parseFileName
def parseFileName(fname)
Definition: mplayertv.py:145
_08c_clock.clock.pad
pad
Viewport margin (pad)
Definition: _08c_clock.py:120
_07_alarme_class.location.__init__
def __init__(self)
Definition: _07_alarme_class.py:35
_07_alarme_class.volume.setVolume
def setVolume(self, v)
Definition: _07_alarme_class.py:353
bell.plot2
def plot2(x, title="")
Plot the curve by using seaborn.
Definition: bell.py:105
_14_lesson5.DrawGLScene
def DrawGLScene()
Definition: _14_lesson5.py:100
mapper
Definition: mapper.py:1
_11_tkradio.loop
def loop()
Definition: _11_tkradio.py:581
_10_tkmpg123.clear
def clear(e=None)
Definition: _10_tkmpg123.py:314
_12a_poly.drawAxes
def drawAxes()
Draw coordinate axes.
Definition: _12a_poly.py:125