Re: [Tutor] Python Socket Error: Connection refused

2014-07-06 Thread Danny Yoo
> I need some help, I have no programming skills and am trying to teach myself > python. I keep on getting an error message as follows: [content cut] It appears from the screenshot that you are running some version of Windows that has software that's interfering with IDLE. As the error message

[Tutor] Python Socket Error: Connection refused

2014-07-06 Thread Pamela Wightley
Hi, I need some help, I have no programming skills and am trying to teach myself python. I keep on getting an error message as follows: Socket Error: Connection refused, and the following error as well [cid:image001.png@01CF99F5.90253AF0] Any assistance is appreciated. Pamela Wightley [Mo

Re: [Tutor] Why is Quick Search at docs.Python.org so useless?

2014-07-06 Thread Cameron Simpson
Not a fix, but I for one always start at the index: https://docs.python.org/3/genindex.html (or the python 2 version) for ad hoc stuff. For speed and convenience I always have a fairly current copy of the docs on my desktop, making browsing them near instant. -- Each new user of a new syst

Re: [Tutor] Resuming one block of code continuously after exception in try/except construction

2014-07-06 Thread Steven D'Aprano
On Sun, Jul 06, 2014 at 11:00:38PM +0200, Ali Mammadov wrote: > Hello fellow coders! > Today I encountered a small difficulty while working with files.As a common > pratice, I want my function to check user's input(in this case it's file > name) and re-ask it again and again(until correct) offering

Re: [Tutor] Resuming one block of code continuously after exception in try/except construction

2014-07-06 Thread Alan Gauld
On 06/07/14 22:00, Ali Mammadov wrote: BTW, I created a small gist located here which demonstrates my problem. I forgot one other thing... - def makelgpwdcombs(brutelistname): try: blst = open(brutelistname, 'r') e

Re: [Tutor] Resuming one block of code continuously after exception in try/except construction

2014-07-06 Thread Alan Gauld
On 07/07/14 00:28, Alan Gauld wrote: Drop the else clause and put the try/except inside a while... def makelgpwdcombs(brutelistname): while True: try: blst = open(brutelistname, 'r') break # exit loop if no error oops, indentation error there. Sorry while

Re: [Tutor] Resuming one block of code continuously after exception in try/except construction

2014-07-06 Thread Alan Gauld
On 06/07/14 22:00, Ali Mammadov wrote: common pratice, I want my function to check user's input(in this case it's file name) and re-ask it again and again(until correct) offering him two choices: re-enter file name or close program.I've decided to use try/except construction in this particular t

[Tutor] Resuming one block of code continuously after exception in try/except construction

2014-07-06 Thread Ali Mammadov
Hello fellow coders! Today I encountered a small difficulty while working with files.As a common pratice, I want my function to check user's input(in this case it's file name) and re-ask it again and again(until correct) offering him two choices: re-enter file name or close program.I've decided to

Re: [Tutor] Why is Quick Search at docs.Python.org so useless?

2014-07-06 Thread Mark Lawrence
On 06/07/2014 21:57, Danny Yoo wrote: Let's summarize. As it stands, this really is out of our direct control, as Deb mentions. The actions we can do seems to be: 2. Direct feedback to the Python web site maintainers so that either they fix the problem or are at least aware that something

Re: [Tutor] Why is Quick Search at docs.Python.org so useless?

2014-07-06 Thread Marc Tompkins
On Sun, Jul 6, 2014 at 1:57 PM, Danny Yoo wrote: > 2. Direct feedback to the Python web site maintainers so that either they fix the problem or are at least aware that something is deficient. Google offers a per-site custom search; it's free for very basic functionality and not very expensive

Re: [Tutor] A beginner having problems with inheritance

2014-07-06 Thread Danny Yoo
> My apologies to the tutors. > I have identified my error, which was predictably elementary. > With many thanks, By the way, can you say what your conceptual error was or give an example? It might help the other folks here who are learning and who may be making a similar mistake. (And I'm curi

Re: [Tutor] Why is Quick Search at docs.Python.org so useless?

2014-07-06 Thread Danny Yoo
Let's summarize. As it stands, this really is out of our direct control, as Deb mentions. The actions we can do seems to be: 1. To point folks to alternative search engines that are effective in searching through Python documentation. 2. Direct feedback to the Python web site maintainers

Re: [Tutor] Why is Quick Search at docs.Python.org so useless?

2014-07-06 Thread Mark Lawrence
On 06/07/2014 19:08, memilanuk wrote: On 07/05/2014 11:53 AM, Mark Lawrence wrote: As I said it's a known problem, but then so are the 4600 bugs at bugs.python.org. So why bother spending the time making the search useful when there is a well known workaround Because it's supposed to be the

Re: [Tutor] Why is Quick Search at docs.Python.org so useless?

2014-07-06 Thread memilanuk
On 07/05/2014 11:53 AM, Mark Lawrence wrote: As I said it's a known problem, but then so are the 4600 bugs at bugs.python.org. So why bother spending the time making the search useful when there is a well known workaround Because it's supposed to be the first place new (and old) users go to

Re: [Tutor] Why is Quick Search at docs.Python.org so useless?

2014-07-06 Thread Emile van Sebille
On 7/5/2014 11:40 AM, Deb Wyatt wrote: I'd be using a news reader if accessing news was still free. Try news.gmane.org. Emile ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/lis