Need Help in Python
Cousin Stanley
CousinStanley at HotMail.Com
Wed May 5 12:51:13 EDT 2004
Larry ....
Thanks for the reminder to use line drawing characters ....
Example Box follows ....
'''
NewsGroup .... comp.lang.python
Date ......... 2004-05-05
Posted_By .... Larry Bates
Edited_By .... Stanley C. Kitching
'''
# Line drawing characters ....
box_top_left = chr( 218 )
box_bot_left = chr( 192 )
box_bot_right = chr( 217 )
box_top_right = chr( 191 )
vertical = chr( 179 )
horizontal = chr( 196 )
NL = '\n'
fill = ' ' * 8
h_42 = horizontal * 42
SP_42 = ' ' * 42
top = fill + box_top_left + h_42 + box_top_right
sides = ( fill + vertical + SP_42 + vertical + NL ) * 21
sides = sides[ : -1 ]
bot = fill + box_bot_left + h_42 + box_bot_right + NL
print
print top
print sides
print bot
--
Cousin Stanley
Human Being
Phoenix, Arizona
More information about the Python-list
mailing list