Re: How to processing multi redirect?

2005-10-27 Thread Gonnasi
Tons of thanks for your help! Now I can fetching the page success. Thansk again. -- Gonnasi -- http://mail.python.org/mailman/listinfo/python-list

How to processing multi redirect?

2005-10-26 Thread Gonnasi
pener.open(url) I just get a error message: "HTTP Error 302: The HTTP server returned a redirect error that would lead to an infinite loop. The last 30x error message was: Moved Temporarily" Why I can't fetching the page with python, but WGET can do it? Thanks for your help in advance! -- Gonnasi -- http://mail.python.org/mailman/listinfo/python-list

Re: How to separate directory list and file list?

2005-10-24 Thread Gonnasi
Lots of thanks for your help, My code can return the right result now. Thanks again! On Sun, 23 Oct 2005 17:27:49 +0200, "Fredrik Lundh" <[EMAIL PROTECTED]> wrote: >"Gonnasi" wrote: > >> With >> >glob.glob("*") >> >> or &g

How to separate directory list and file list?

2005-10-23 Thread Gonnasi
With >glob.glob("*") or >os.listdir(cwd) I can get a combined file list with directory list, but I just wanna a bare file list, no directory list. How to get it? Tons of thanks in advance! Gonnasi -- http://mail.python.org/mailman/listinfo/python-list