From david.nearing@ns.sympatico.ca Mon Oct 1 02:17:02 2001 From: david.nearing@ns.sympatico.ca (David Nearing) Date: Sun, 30 Sep 2001 18:17:02 -0700 Subject: [Tutor] gym 10 Message-ID: <20010930211843.AAA28705@mail-ns00s0.ns.sympatico.ca@[142.177.210.22]> ****VIRUS ALERT***** This message originally contained a virus. The virus content has been removed. --Aliant Telecom. From sales@dazoneusa.com Mon Oct 1 04:44:29 2001 From: sales@dazoneusa.com (sales@dazoneusa.com) Date: Mon, 1 Oct 2001 12:44:29 +0900 (´ëÇѹα¹ Ç¥ÁؽÃ) Subject: [Tutor] DaZoneUSA proudly presents new release of Webebuilder 5.1 Message-ID: <3BB4745E.14915@kang.dazone.co.kr> --Boundary-=_xySfjCJEVwhXthkmkcNbdHTzTpGz Content-Type: Text/HTML Content-Transfer-Encoding: base64 PGh0bWw+DQoNCjxoZWFkPg0KPHRpdGxlPkRhWm9uZVVTQSBwcm91ZGx5IHByZXNlbnRzIG5ldyBy ZWxlYXNlIG9mIFdlYmVidWlsZGVyIDUuMSE8L3RpdGxlPg0KPGxpbmsgcmVsPSJzdHlsZXNoZWV0 IiBocmVmPSJodHRwOi8vd3d3LmRhem9uZXVzYS5jb20vc3R5bGUuY3NzIiB0eXBlPSJ0ZXh0L2Nz cyI+DQo8L2hlYWQ+DQoNCjxib2R5IGJnY29sb3I9IiNGRkZGRkYiIHRleHQ9ImJsYWNrIiBsaW5r PSJibHVlIiB2bGluaz0icHVycGxlIiBhbGluaz0icmVkIiBsZWZ0bWFyZ2luPSIwIiBtYXJnaW53 aWR0aD0iMCIgdG9wbWFyZ2luPSIwIiBtYXJnaW5oZWlnaHQ9IjAiPg0KPHRhYmxlIGJvcmRlcj0i MCIgY2VsbHBhZGRpbmc9IjAiIGNlbGxzcGFjaW5nPSIwIiB3aWR0aD0iNzU5IiBoZWlnaHQ9IjEw MCUiPg0KICA8dHIgYWxpZ249ImxlZnQiIHZhbGlnbj0idG9wIj4NCiAgICA8dGQgYmdjb2x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IzNiI+IA0KICAgICAgICAgICAgICAgICAgPGRpdiBhbGlnbj0iY2VudGVyIj4gDQogICAgICAg ICAgICAgICAgICAgIDxwPjxmb250IHNpemU9IjIiPkNyZWF0ZSBwcm9mZXNzaW9uYWxseSBsb29r aW5nIGRhdGFiYXNlLWRyaXZlbiANCiAgICAgICAgICAgICAgICAgICAgICB3ZWJzaXRlIHdpdGhv dXQgd2ViLXByb2dyYW1taW5nIGtub3dsZWRnZSE8L2ZvbnQ+PC9wPg0KICAgICAgICAgICAgICAg ICAgPC9kaXY+DQogICAgICAgICAgICAgICAgPC90ZD4NCiAgICAgICAgICAgICAgPC90cj4NCiAg ICAgICAgICAgICAgPHRyPiANCiAgICAgICAgICAgICAgICA8dGQgd2lkdGg9IjMlIiByb3dzcGFu PSIyIj4mbmJzcDs8L3RkPg0KICAgICAgICAgICAgICAgIDx0ZCB3aWR0aD0iOTclIj4gDQogICAg ICAgICAgICAgICAgICA8cD48aW1nIHNyYz0iaHR0cDovL3d3dy5kYXpvbmV1c2EuY29tL2ltZy9z dWJfaW1nL3Byb2R1Y3RfZWJ1aWxkZXJfdGl0bGUuZ2lmIiB3aWR0aD0iNTAwIiBoZWlnaHQ9IjMy MSI+PGJyPg0KICAgICAgICAgICAgICAgICAgPC9wPg0KICAgICAgICAgICAgICAgIDwvdGQ+DQog ICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgIDx0cj4gDQogICAgICAgICAgICAgICAg PHRkIHdpZHRoPSI5NyUiIGhlaWdodD0iMTAyIj4gDQogICAgICAgICAgICAgICAgICA8cD48Yj5X ZWJlQnVpbGRlcjwvYj4gaXMgYSBjb21wbGV0ZSBmcmFtZXdvcmsgZm9yIGludGVncmF0aW5nIA0K ICAgICAgICAgICAgICAgICAgICBXZWIgYW5kIERhdGFiYXNlIHRlY2hub2xvZ2llcy4gV2ViZUJ1 aWxkZXIgaW5jbHVkZXMgZGV2ZWxvcG1lbnQgDQogICAgICAgICAgICAgICAgICAgIHRvb2xzIHBs dXMgYWRkaXRpb25hbCBwYWNrYWdlZCBzb2Z0d2FyZSBtb2R1bGVzIHdpdGggdmFyaW91cyANCiAg ICAgICAgICAgICAgICAgICAga2V5IGZ1bmN0aW9ucy4gQWxsIGZlYXR1cmVzIGFyZSBkZXNpZ25l ZCB0byBtYWtlIFdlYmVCdWlsZGVyIA0KICAgICAgICAgICAgICAgICAgICB0aGUgbW9zdCBwcmFj dGljYWwgc3lzdGVtIGZvciBidWlsZGluZyBXZWItZGF0YWJhc2UgYXBwbGljYXRpb25zLiANCiAg ICAgICAgICAgICAgICAgICAgV2ViIHBob3RvIGRhdGFiYXNlLCBjdXN0b21lciBkYXRhYmFzZSwg cHJvZHVjdCBkYXRhYmFzZSwgc2NyYXBib29rLCANCiAgICAgICAgICAgICAgICAgICAgZWxlY3Ry b25pYyBkb2N1bWVudCBtYW5hZ2VtZW50IGFuZCBtYW55IG90aGVyIHN5c3RlbXMgY2FuIA0KICAg ICAgICAgICAgICAgICAgICBiZSBidWlsdCBzbyBlYXNpbHkgdXNpbmcgV2ViZUJ1aWxkZXIuIElu IGFkZGl0aW9uIHRvIHRoZSBhYm92ZSANCiAgICAgICAgICAgICAgICAgICAgaW5jcmVkaWJsZSBj YXBhYmlsaXRpZXMsIFdlYmVCdWlsZGVyIGhhcyB0aGUgc3BlY2lhbCBmdW5jdGlvbnMgDQogICAg ICAgICAgICAgICAgICAgIGZvciBidWlsZGluZyB0aGUgb2ZmaWNlIGF1dG9tYXRpb24gZW52aXJv bm1lbnRzLCB3aGljaCBhcmUgDQogICAgICAgICAgICAgICAgICAgIEdyb3Vwd2FyZSwgRURNUyhF bGVjdHJvbmljIGRvY3VtZW50IE1hbmFnZW1lbnQgU3lzdGVtKSBhbmQgDQogICAgICAgICAgICAg ICAgICAgIEVJUChFbnRlcnByaXNlIEluZm9ybWF0aW9uIHBvcnRhbCkgc3VwcG9ydGluZyBmdW5j dGlvbnMgc3VjaCANCiAgICAgICAgICAgICAgICAgICAgYXMg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ICAgICAgICAgICBhbmQgcXVpY2tseS4gPC9wPg0KICAgICAgICAgICAgICAgICAgPHAg YWxpZ249InJpZ2h0Ij48YSBocmVmPSJodHRwOi8vd3d3LmRhem9uZXVzYS5jb20vcGFydG5lcl9m cjIuaHRtIj48Yj4mZ3Q7Jmd0O01vcmUgDQogICAgICAgICAgICAgICAgICAgIEluZm9ybWF0aW9u PC9iPjwvYT48L3A+DQogICAgICAgICAgICAgICAgPC90ZD4NCiAgICAgICAgICAgICAgPC90cj4N CiAgICAgICAgICAgICAgPHRyPiANCiAgICAgICAgICAgICAgICA8dGQgd2lkdGg9IjMlIiBoZWln aHQ9IjEwMyI+Jm5ic3A7PC90ZD4NCiAgICAgICAgICAgICAgICA8dGQgd2lkdGg9Ijk3JSIgaGVp Z2h0PSIxMDMiPiANCiAgICAgICAgICAgICAgICAgIDxwIGFsaWduPSJjZW50ZXIiPjxiPlRyeSBX ZWJlYnVpbGRlciByaWdodCBub3chPC9iPjwvcD4NCiAgICAgICAgICAgICAgICAgIDxwIGFsaWdu PSJjZW50ZXIiPjxhIGhyZWY9Imh0dHA6Ly93d3cuZGF6b25ldXNhLmNvbS9kb3dubG9hZF9mci5o dG0iPjxpbWcgc3JjPSJodHRwOi8vd3d3LmRhem9uZXVzYS5jb20vaW1nL2Rsb2FkLWJuLmdpZiIg d2lkdGg9IjMwIiBoZWlnaHQ9IjMwIiBhbGlnbj0idG9wIiBib3JkZXI9IjAiDQo+PGI+IA0KICAg ICAgICAgICAgICAgICAgICA8Zm9udCBzaXplPSI0Ij5Eb3dubG9hZCBOb3c8L2ZvbnQ+PC9iPiA8 L2E+PC9wPg0KICAgICAgICAgICAgICAgICAgPHAgYWxpZ249ImNlbnRlciI+IEZyZWUgZG93bmxv YWQgMzUuN01CIDwvcD4NCiAgICAgICAgICAgICAgICA8L3RkPg0KICAgICAgICAgICAgICA8L3Ry Pg0KICAgICAgICAgICAgICA8dHI+IA0KICAgICAgICAgICAgICAgIDx0ZCB3aWR0aD0iMyUiPiZu YnNwOzwvdGQ+DQogICAgICAgICAgICAgICAgPHRkIHdpZHRoPSI5NyUiPiANCiAgICAgICAgICAg ICAgICAgIDxwPjxiPkdlbmVyYWwgRmVhdHVyZXM8L2I+PC9wPg0KICAgICAgICAgICAgICAgICAg PHRhYmxlIHdpZHRoPSI1MTYiIGJvcmRlcj0iMCIgY2VsbHNwYWNpbmc9IjAiIGNlbGxwYWRkaW5n PSIwIiBhbGlnbj0iY2VudGVyIj4NCiAgICAgICAgICAgICAgICAgICAgPHRyPiANCiAgICAgICAg ICAgICAgICAgICAgICA8dGQ+PGltZyBzcmM9Imh0dHA6Ly93d3cuZGF6b25ldXNhLmNvbS9pbWcv c3ViX2ltZy9saW5lX3RvcDEuZ2lmIiB3aWR0aD0iNTE2IiBoZWlnaHQ9IjgiPjwvdGQ+DQogICAg ICAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgICAgICAgIDx0cj4gDQogICAgICAg ICAgICAgICAgICAgICAgPHRkIGJnY29sb3I9IiNFNkU2RTYiIGhlaWdodD0iOTkiPiANCiAgICAg ICAgICAgICAgICAgICAgICAgIDxkaXYgYWxpZ249ImxlZnQiPiANCiAgICAgICAgICAgICAgICAg ICAgICAgICAgPHVsPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxsaT5FYXN5IGluc3Rh bGxhdGlvbiBhbmQgbWFuYWdlbWVudCBvbiB0aGUgd2ViPGJyPg0KICAgICAgICAgICAgICAgICAg ICAgICAgICAgIDwvbGk+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPGxpPlN0cmFpZ2h0 Zm9yd2FyZCBkYXRhYmFzZSBjcmVhdGlvbiBhbmQgTWFuYWdlbWVudCANCiAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIDxicj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2xpPg0K ICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxsaT5XZWIgYmFzZWQgZW1haWwgc2VydmVyIDxi cj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2xpPg0KICAgICAgICAgICAgICAgICAg ICAgICAgICAgIDxsaT5FSVAgKEVudGVycHJpc2UgSW5mb3JtYXRpb24gUG9ydGFsKSBhbmQgZ3Jv dXB3YXJlIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZnVuY3Rpb248YnI+DQogICAg ICAgICAgICAgICAgICAgICAgICAgICAgPC9saT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAg ICA8bGk+RGF0YWJhc2UgYW5kIEhUTUwgZmlsZXMgaW1wb3J0LCBleHBvcnQgYW5kIER1cGxpY2F0 aW9uIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGJyPg0KICAgICAgICAgICAgICAg ICAgICAgICAgICAgIDwvbGk+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPGxpPkEgd2lk ZSByYW5nZSBvZiBjb21wYXRpYmxlIHBsYXRmb3JtcyBhbmQgZGF0YWJhc2UgDQogICAgICAgICAg ICAgICAgICAgICAgICAgICAgPC9saT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgPC91bD4N CiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2Pg0KICAgICAgICAgICAgICAgICAgICAgIDwv dGQ+DQogICAgICAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgICAgICAgIDx0cj4g DQogICAgICAgICAgICAgICAgICAgICAgPHRkPjxpbWcgc3JjPSJodHRwOi8vd3d3LmRhem9uZXVz YS5jb20vaW1nL3N1Yl9pbWcvbGluZV90b3AyLmdpZiIgd2lkdGg9IjUxNiIgaGVpZ2h0PSI4Ij48 L3RkPg0KICAgICAgICAgICAgICAgICAgICA8L3RyPg0KICAgICAgICAgICAgICAgICAgPC90YWJs ZT4NCiAgICAgICAgICAgICAgICA8L3RkPg0KICAgICAgICAgICAgICA8L3RyPg0KICAgICAgICAg ICAgPC90YWJsZT4NCiAgICAgICAgICAgIDxicj4NCiAgICAgICAgICA8L3RkPg0KICAgICAgICAg IDx0ZCB3aWR0aD0iMjUiIGhlaWdodD0iOTQxIj4gDQogICAgICAgICAgICA8cD48YnI+DQogICAg ICAgICAgICA8L3A+DQogICAgICAgICAgICA8cD4mbmJzcDs8L3A+DQogICAgICAgICAgPC90ZD4N CiAgICAgICAgPC90cj4NCiAgICAgICAgPHRyIGFsaWduPSJsZWZ0IiB2YWxpZ249InRvcCI+IA0K ICAgICAgICAgIDx0ZCB3aWR0aD0iNTU0Ij4NCiAgICAgICAgICAgIDxkaXYgYWxpZ249ImNlbnRl ciI+PGJyPg0KICAgICAgICAgICAgICA8Zm9udCBjb2xvcj0iIzY2NjY2NiI+Q29weXJpZ2h0KGMp IDE5OTYtMjAwMTxhIGhyZWY9Imh0dHA6Ly93d3cuZGF6b25ldXNhLmNvbSI+IA0KICAgICAgICAg ICAgICBEYVpvbmVVU0E8L2E+IEFsbCByaWdodHMgcmVzZXJ2ZWQuIDwvZm9udD48L2Rpdj4NCiAg ICAgICAgICA8L3RkPg0KICAgICAgICAgIDx0ZCB3aWR0aD0iMjUiPiZuYnNwOzwvdGQ+DQogICAg ICAgIDwvdHI+DQogICAgICA8L3RhYmxlPg0KICAgIDwvdGQ+DQogIDwvdHI+DQogIDx0ciBhbGln bj0ibGVmdCIgdmFsaWduPSJ0b3AiPiANCiAgICA8dGQgd2lkdGg9Ijc0IiBiZ2NvbG9yPSIjRTdG NEZGIj48L3RkPg0KICAgIDx0ZCB3aWR0aD0iNDQiIGJnY29sb3I9IiNFN0Y0RkYiPjwvdGQ+DQog ICAgPHRkIHdpZHRoPSI2NDEiPjwvdGQ+DQogIDwvdHI+DQo8L3RhYmxlPg0KPC9ib2R5Pg0KDQo8 L2h0bWw+DQo= --Boundary-=_xySfjCJEVwhXthkmkcNbdHTzTpGz-- From kromag@nsacom.net Mon Oct 1 07:18:04 2001 From: kromag@nsacom.net (kromag@nsacom.net) Date: Sun, 30 Sep 2001 23:18:04 -0700 (PDT) Subject: [Tutor] bsddb - mystery wrapped in enigma Message-ID: <200110010618.f916I4Y16888@pop.nsacom.net> I have been scouring the earth for a good tutorial on the bsddb module. Is there anything (in print or otherwise) lurking about that might help? I am trying to extract information from an existing berkeley db file (sleepycat). Thanks! d From alevin@alevin.com Mon Oct 1 07:05:09 2001 From: alevin@alevin.com (Adina Levin) Date: Mon, 1 Oct 2001 01:05:09 -0500 Subject: [Tutor] newbie question: help with polymorphism and/or programming style Message-ID: <08ec01c14a3f$07150e20$b756fea9@ValuedCustomer> This is a multi-part message in MIME format. ------=_NextPart_000_08E9_01C14A15.1DB8BF20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, Python tutors. I am teaching myself python programming, and have created a toy = storefront program, and would greatly appreciate some words of wisdom on = programming style. The code below is for payment. If the customer wants to pay with cash, the program should return = change. If the customer wants to pay using a credit card, the program should = validate the customer's ability to pay, and return an approval. The programming style qeustions are as follows: a) Is it desirable to replace the "if" statement in paymenthandler with subclasses, PayCash(Payment) and PayCredit(Payment). If so, doesn't = that just push the "if" statement upstream, where you PayCash() if the = customer says she wants to pay cash? I am clearly missing something!! :-( b) Is it bad style to return different kinds of information, depending = on whether the customer pays with cash or credit? If so, how should this be handled cleanly? c) Any other programming style problems? This is a toy, so no reason to comment on lack of full detail in the simulation. class Payment: def __init__(self): self.payobject=3DCustomer().getpaymentinput() def payhandler(self,sum): self.sum=3Dsum if self.payobject.paytype =3D=3D "cash": result=3Dself.payobject.cashamount-self.sum print result elif self.payobject.paytype =3D=3D "credit": self.crednum=3Dself.payobject.crednum result=3DCreditcheck().creditapprove(self) return result ------=_NextPart_000_08E9_01C14A15.1DB8BF20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hello,
I am making a sore attempt at a text reader, as my first major project while I am learning how to program, and I have a few questions,
my first question would be, I have actually pasted my code and my question below
read = raw_input("Type the full name and path of the file you want to open ")
# I need to find an error message in case there is no file where you think this is question #1
inp = open(read, "r")
for line in inp.readlines():
print line
my second question: is there anyway I can also write to these files?
and my last one: is there some kind of way to be able to use this to open a .doc file? or even to get a .rtf file to open the way its supposed to look?
thanks for the help
I have other doubt . I would like to know if anybody can help me . I don't know how to do this kind of window attached .