Re: [Tutor] (no subject)

2007-05-20 Thread Daniel McQuay
Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor -- Daniel McQuay boxster.homelinux.org H: 814.825.0847 M: 814-341-9013 ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] smtplib howto send with a subject line

2007-05-23 Thread Daniel McQuay
bject line. Any help would be much appreciated. ### #Created by: Daniel McQuay #This script will send and email #to verify if the backup was #successful or not. ### import smtplib import sys emmssg = "/tmp/backup.log" smt

Re: [Tutor] smtplib howto send with a subject line

2007-05-23 Thread Daniel McQuay
; [mailto:[EMAIL PROTECTED] On Behalf Of Daniel McQuay > Sent: Wednesday, May 23, 2007 1:49 PM > To: tutor@python.org > Subject: [Tutor] smtplib howto send with a subject line > > Hey Guys, I'm having a problem with my script that sends out > an email using smtplib. Whats happenin

Re: [Tutor] smtplib howto send with a subject line

2007-05-23 Thread Daniel McQuay
> [mailto:[EMAIL PROTECTED] On Behalf Of Daniel McQuay > Sent: Wednesday, May 23, 2007 3:52 PM > Cc: tutor@python.org > Subject: Re: [Tutor] smtplib howto send with a subject line > > Thanks Mike, it seems that I'll be easy to incorporate that > into my script as well. >

Re: [Tutor] trouble with indents

2007-05-28 Thread Daniel McQuay
Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor -- Daniel McQuay Linux Padawan Jaluno.com H: 814.825.0847 M: 814-341-9013 ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Automating Windows (Maintenance)

2007-07-02 Thread Daniel McQuay
ments the hard drive but I would like to know if Python is a good candidate for this or should I just stick to what is built into Windows. Thank in advance, -- Daniel McQuay HDR Time Traveler www.pittbullsecure.com www.Jaluno.com H: 814.341.9013 M: 814.421

[Tutor] problem with IDLE

2005-12-01 Thread Daniel McQuay
Hello list, I just got a Windows box up and running. When I go to use IDLE I get an error saying something along the lines of, "IDLE was unable to start you may need to shut off the firewall". Now when I shut the firewall off it starts up fine. So my question is, does IDLE try to access a port? i

Re: [Tutor] problem with IDLE

2005-12-01 Thread Daniel McQuay
Not to be sound ignorant, but what port on local host would that be?On 12/1/05, Liam Clarke-Hutchinson < [EMAIL PROTECTED]> wrote: IDLE uses localhost (a loopback port 127.0.0.1) to communicate with running scripts (so interrupt keys and debugging calls get passed etc.) It's a nice cross p

Re: [Tutor] Cancel Subscription

2006-04-21 Thread Daniel McQuay
? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > ___ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > > -- Daniel McQuay Dead Possum Prod

[Tutor] cisco router + telnetlib

2006-05-24 Thread Daniel McQuay
Hello List,I am rather new to programming and I was wondering y'all think the best way to configure a cisco router using python would be. currently I am using telnetlib. my problem is, I get an error after connecting to the router. here is the error I get when I use IDLE: Enter IP: 205.180.0.3Warni

[Tutor] crontab or python mistake

2006-05-25 Thread Daniel McQuay
recent call last):  File "/root/scripts/boxster_school_smtp.py", line 19, in ?    mssg = open('mssg.txt', 'r').read()IOError: [Errno 2] No such file or directory: ' emmssg.txt'the emmssg.txt file is in the /root/script directory so i don't know why it cant

Re: [Tutor] please remove this address from list: [EMAIL PROTECTED]

2006-06-12 Thread Daniel McQuay
_Tutor maillist  -  Tutor@python.org http://mail.python.org/mailman/listinfo/tutorsorry,-- Daniel McQuay[EMAIL PROTECTED] boxster.homelinux.orgH: 814.825.0847M: 814-341-6233 ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Beginner Question

2006-06-18 Thread Daniel McQuay
nt>>>>which gives me the number of characters in the message.  I tried to use a>for loop:>>>>for i in range(len(message)-1,-1, -1): >> print i,>>>>but I just get the numeric values of the string.  Can anyone help?>>>>Also, does any

Re: [Tutor] how to remove html ags

2006-08-12 Thread Daniel McQuay
t to remove and i triedstr = str.replace('(.*)','')it doesnt workthanks Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. ___Tutor maillist  -  Tutor@python.org http://mail.python.org/

Re: [Tutor] suggestions for read unread items datastructure

2006-08-13 Thread Daniel McQuay
useful response. Please tell us more.--Bob Gailer510-978-4454___Tutor maillist  -  Tutor@python.org http://mail.python.org/mailman/listinfo/tutor-- Daniel McQuay[EMAIL PROTECTED] boxster.homelinux.orgprowisegu

Re: [Tutor] Where to post a Python Program

2006-09-05 Thread Daniel McQuay
are several websites that allow you to post your code for review. I think one of the best ones is [http://pastebin.com/]. You should also have a look at [http://pastebin.ca/] (not sure if they are affiliated) which happened to turn up during a google search.   HTH, Daniel McQuay www.prowiseguy

Re: [Tutor] One million and counting

2006-11-02 Thread Daniel McQuay
I second Jorge, I also learned from your site. well done,On 10/31/06, Glenn T Norton <[EMAIL PROTECTED] > wrote:Alan Gauld wrote:>Hi folks,>>In just thought I'd mention that my web tutor has now passed >the million visitors mark. Thanks to all those on the tutor>list who have paid a visit.>>Alan Ga

[Tutor] Starting python from a DOS prompt from any directory?

2006-12-30 Thread Daniel McQuay
execute python from there. but there seems to me to be a way to achieve what i want to do. sorry for such a newbie question but i would like to figure this out because there are some situations where i need that to work from any directory. thanks in advance, -- Daniel McQuay boxster.homelinux

Re: [Tutor] Starting python from a DOS prompt from any directory?

2006-12-31 Thread Daniel McQuay
illist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor -- Daniel McQuay boxster.homelinux.org H: 814.825.0847 M: 814-341-9013 ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Starting python from a DOS prompt from any directory?

2007-01-02 Thread Daniel McQuay
if in fact you can. Curious, -- Alan Gauld Author of the Learn to Program web site http://www.freenetpages.co.uk/hp/alan.gauld ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor regards, -- Daniel McQuay boxster.