[Tutor] python module
alan.gauld@bt.com
alan.gauld@bt.com
Thu, 10 May 2001 10:50:23 +0100
------_=_NextPart_001_01C0D936.A1EFC2C0
Content-type: text/plain; charset="iso-8859-1"
1. I want to know how's the module work and how to used them.
Assuming you can already program in another language check the officual
tutor and reference docum,entation that came with Python or at
www.python.org <http://www.python.org> .
If you are new to programing check my web tutor at
http://www.crosswinds.net/~agauld <http://www.crosswinds.net/~agauld>
in the Functionas and Modules section
2. How to set path during programming.
Which path? There are 2 to consider: the OS path and the PYTHONPATH
Both are settable, one via os(?) module (getenv()?) setemnv()?) the other
via
the sys module.
3. How to print, how to activate printer, how to set them on and off
and is it user friendly.
How user friendly will epend on hopw you program it. It definitely is not
programmer
friendly and dependfs entirely on your operating system. There is a PDF
generating
module available which makes nice output at least slightly more platform
independant
or you can generate HTML and use IE or Netscape to print it for you. In all
cases
the actual printing to paper is system dependant tho'.
HTH
Alan G
------_=_NextPart_001_01C0D936.A1EFC2C0
Content-type: text/html; charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.00.3013.2600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
<DIV><FONT face=Arial>1. I want to know how's the module work and how to used
them.<FONT color=#0000ff size=2><SPAN
class=350204909-10052001> </SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN
class=350204909-10052001></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN
class=350204909-10052001>Assuming you can already program in another language
check the officual tutor and reference docum,entation that came with Python or
at <A
href="http://www.python.org">www.python.org</A>.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN
class=350204909-10052001></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN
class=350204909-10052001>If you are new to programing check my web tutor
at</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN
class=350204909-10052001></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN
class=350204909-10052001><A
href="http://www.crosswinds.net/~agauld">http://www.crosswinds.net/~agauld</A></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN
class=350204909-10052001></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN
class=350204909-10052001>in the Functionas and
Modules section</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN
class=350204909-10052001> </SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial>2. How to set path during programming.</FONT></DIV>
<DIV><FONT face=Arial><SPAN class=350204909-10052001><FONT color=#0000ff
size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN class=350204909-10052001><FONT color=#0000ff
size=2>Which path? There are 2 to consider: the OS path and the
PYTHONPATH</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=350204909-10052001><FONT color=#0000ff
size=2>Both are settable, one via os(?) module (getenv()?) setemnv()?)
the other via </FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=350204909-10052001><FONT color=#0000ff
size=2>the sys module.</FONT> </SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN
class=350204909-10052001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN
class=350204909-10052001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN class=350204909-10052001> </SPAN>3. How to
print, how to activate printer, how to set them on and off <SPAN
class=350204909-10052001><FONT color=#0000ff
size=2> </FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=350204909-10052001> </SPAN>and is it
user friendly.<FONT color=#0000ff size=2><SPAN
class=350204909-10052001> </SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN
class=350204909-10052001></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN
class=350204909-10052001>How user friendly will epend on hopw you program it.
It definitely is not programmer </SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN
class=350204909-10052001>friendly and dependfs entirely on your operating
system. There is a PDF generating </SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN
class=350204909-10052001>module available which makes nice output at least
slightly more platform independant</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN
class=350204909-10052001>or you can generate HTML and use IE or Netscape to
print it for you. In all cases </SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN
class=350204909-10052001>the actual printing to paper is system dependant
tho'.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN
class=350204909-10052001></SPAN></FONT></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=350204909-10052001>HTH</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=350204909-10052001></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=350204909-10052001>Alan
G</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=350204909-10052001></SPAN></FONT> </DIV></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C0D936.A1EFC2C0--