I'm having trouble with opening the python IDLE-program. When I try to start
it, it gives an errormessage wich states that it can not make a connection,
possibly because of a firewall. However, adding it to firewalls exeptions or
even disabeling the firewall has no effect.
These are the errors:
1st. 'Socket error: Connection refused', with the name IDLE subprocess Error
2nd. 'IDLE's subprocess didn't make connection. Either IDLE can't start a
subprocess or personal firewall software is blocking the connection.
The program I am trying to use is included with this message (it's purpose
is to get a letter from the user and then pick a letter two places forward
in the line, alphabetical order).
Bennie Tilma
[EMAIL PROTECTED]
_
Typ je SMS sneller binnen MSN Messenger
http://www1.imagine-msn.com/Messenger/Expressions.aspx
letter = -1
letter_number = 0
message = []
print 'this program converts all letters into two letters forward'
print 'type 0(zero) to stop and show the message'
while letter != 'stop':
letter = raw_input("type a letter: ")
if letter == 'a':
letter_number = 1
if letter == 'b':
letter_number = 2
if letter == 'c':
letter_number = 3
if letter == 'd':
letter_number = 4
if letter == 'e':
letter_number = 5
if letter == 'f':
letter_number = 6
if letter == 'g':
letter_number = 7
if letter == 'h':
letter_number = 8
if letter == 'i':
letter_number = 9
if letter == 'j':
letter_number = 10
if letter == 'k':
letter_number = 11
if letter == 'l':
letter_number = 12
if letter == 'm':
letter_number = 13
if letter == 'n':
letter_number = 14
if letter == 'o':
letter_number = 15
if letter == 'p':
letter_number = 16
if letter == 'q':
letter_number = 17
if letter == 'r':
letter_number = 18
if letter == 's':
letter_number = 19
if letter == 't':
letter_number = 20
if letter == 'u':
letter_number = 21
if letter == 'v':
letter_number = 22
if letter == 'w':
letter_number = 23
if letter == 'x':
letter_number = 24
if letter == 'y':
letter_number = 25
if letter == 'z':
letter_number = 26
if letter == ' ':
letter_number = 0
alphabet = ['
','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','a','b']
print 'the letter is: ', alphabet[letter_number]
message.append(alphabet[letter_number])
print message
--
http://mail.python.org/mailman/listinfo/python-list