[Tutor] sliced!
Kirk D Bailey
highprimate@howlermonkey.net
Sat, 5 Jan 01:17:03 2002 -0500
OK, I tripped over string.replace(subject, search, replacement) in
string module, and also string.split, so that part is finished, it
now digests the subject line nicely.
Got another question.
---------------------------------------------------------
Def writependings(omitme, list): # write back the pendings,
f6.open('./lists/pending','w') # OMITTING one item.
for item in list:
if item != omitme:
f6.write(item)+CRLF
f6.close()
----------------------------------------------------------
This code creates a error message;
------------------------------------------------------------
ns# ./TLlistmaster.py < testfile
File "./TLlistmaster.py", line 201
Def writependings(omitme, list): # write back the pendings,
^
SyntaxError: invalid syntax
ns#_
--------------------------------------------------------------
Now, whofore would it do an evil thing like that?
end
In total confusion,
Kirk D Bailey
+----------------------------------------------------+
| Providing Excellent email service for free!! |
| Webmaster, Howlermonkey Email services Co. |
| highprimate@howlermonkey.net www.howlermonkey.net/ |
+----------------------------------------------------+
ODD#1.8.01/kdb/sigme
<a href="http://click.linksynergy.com/fs-bin/stat?id=Jy/DqAOH/SU&offerid=2161.100
00026&type=1&subid=0">Return to the Forgotten Realms on a visually dazzling role-playing adventure that brings to
life the grand tradition of Advanced
Dungeons & Dragons through cutting edge art and technology. Now available for
pre-order. Only $39.95 from Outpost.com. FREE SHIPPING. OVERNIGHT.
</a><IMG border=0 width=1 height=1 src="http://ad.linksynergy.com/fs-bin/show?id=Jy/DqAOH/SU&bids=2161.10000026&
type=1&subid=0">