Re: Learning Python

2005-10-11 Thread Chris Dewin
On Mon, 10 Oct 2005 17:20:35 +, dannypatterso wrote: [snip] >> I'm a hobby programmer using mostly BASIC(s) and some Java. I know >> procedural programming and I know what encapsulation, inheritance and >> polymorphism are but I have very little experience in using them as >> I've written ju

Re: Help-log in to a web page

2005-10-06 Thread Chris Dewin
On Thu, 06 Oct 2005 14:51:31 +0530, Murugesh wrote: > id="username" class="x4" onkeypress="return > _submitOnEnter(event, 'User');" name="j_username" size="30" > type="text" value="myadmin"> I'm a novice too. But that looks to me like a javascript method. At a guess, it probably

Question about smtplib, and mail servers in general.

2005-09-20 Thread Chris Dewin
Hi. I've been thinking about using smtplib to run a mailing list from my website. s = smtplib.SMTP("server") s.sendmail(fromaddress, toaddresess, msg) I know that in this instance, the toaddresses variable can be a variable of type list. Suppose the list contains well over 100 emails. Would tha

Re: Uploading images via cgi?

2005-08-30 Thread Chris Dewin
On Tue, 30 Aug 2005 21:55:26 +, Peter Hansen wrote: > Chris Dewin wrote: >> How do I go about writing a cgi script, that will enable the client to >> upload things to a directory on my website? >> >> I would also like to write a script that enables the client

Uploading images via cgi?

2005-08-30 Thread Chris Dewin
How do I go about writing a cgi script, that will enable the client to upload things to a directory on my website? I would also like to write a script that enables the client to delete items in that directory if they want. Given that it's unix server, how do I go about ensuring the files are writt

python image thumbnail generator?

2005-08-27 Thread Chris Dewin
Hi. I run a website for my band, and the other guys want an image gallery. I'm thinking it would be nice and easy, if we could just upload a jpg into a dir called "gallery/". When the client clicks the "gallery" link, a cgi script could search the gallery/ dir, and create thumbnails of any jpeg i