Re: [Tutor] Just a Python formatting question

2005-06-10 Thread Alan G
> And all the lines that belong to the statement also. It does not matter if > is a nested sequence. Let me lighten you: > > for i in somelist: > do_something > do_something_else > if x==y: > inside the if clause > all statements go > with 4 spaces after the if l

Re: [Tutor] learning how to use python

2005-06-10 Thread Alan G
Hi and welcome. > I am new to programming and this is the first language that I will be > learning. I am trying to get the shell to print "hello world". > I followed all of the steps to save it and then run the file Which tutorial are you following? > to get it to print in the shell. the shell

Re: [Tutor] Newsreader list name?

2005-06-10 Thread Alan G
> I'm switching over from email digests to a newsreader and I can't > find a reference for this tutor list. > > For example, I have the lists comp.lang.python and > comp.lang.python.announce setup, but can't find something like > comp.lang.python.tutor? > > There must be others on this lis

Re: [Tutor] Can't figure out syntax error

2005-06-10 Thread Alan G
> frustration to figure out the problem, I just began explicitly > type-casting as many variables as I could, and missed the fact that I Must be something about the mornings but I seem to be pickier then... When you say type-casting that is a C term used to describe a horrible operation that fool

Re: [Tutor] Newsreader list name?

2005-06-10 Thread Alan G
> I'm on OS X 10.4.1 and downloaded Hogwasher to try. Using my ISPs > news server I found the two lists I mentioned, but I can't get > anything nntp://news.gmane.org alone or in combination with a group THe point is that you must add news.gname.org to your list of news servers. It is a new news

[Tutor] New pet project - stripping down html content.

2005-06-10 Thread Adam Cripps
I've been working through some of the early python challenges [1] and feel enthused to scratch a current itch. However, I want to sound out my idea for the itch before I start coding to get a perspective on the direction I should take. I've recently bought a media player that also displays .txt fi

Re: [Tutor] New pet project - stripping down html content.

2005-06-10 Thread Kent Johnson
Adam Cripps wrote: > Is there a quick and easy way to strip out html tags and remain with > just the content? And, to be even more pickier, would it be possible > to strip out navigation content and just remain with the bare bones of > the story? If you search comp.lang.python for 'strip html' you

[Tutor] Running range scripts in IDE

2005-06-10 Thread typetext
I am using I. Langingham's Teach yourself Python in 24 hours, and up to chapter 4 I had no problem. I have installed the IDE , and as far as I know, all the other programs associated with Python, and had been batting along with no problem, using simple scripts such as "hello world" in notepad or no

Re: [Tutor] Running range scripts in IDE

2005-06-10 Thread Pujo Aji
On 6/10/05, typetext <[EMAIL PROTECTED]> wrote: > I am using I. Langingham's Teach yourself Python in 24 hours, and up > to chapter 4 I had no problem. I have installed the IDE , and as far > as I know, all the other programs associated with Python, and had been > batting along with no problem, usi

Re: [Tutor] Running range scripts in IDE

2005-06-10 Thread Kent Johnson
typetext wrote: > I am using I. Langingham's Teach yourself Python in 24 hours, and up > to chapter 4 I had no problem. I have installed the IDE , and as far > as I know, all the other programs associated with Python, and had been > batting along with no problem, using simple scripts such as "hello

Re: [Tutor] Running range scripts in IDE

2005-06-10 Thread typetext
Thank you all. Print range(10) completely solved this beginner problem. On 6/10/05, Kent Johnson <[EMAIL PROTECTED]> wrote: > typetext wrote: > > I am using I. Langingham's Teach yourself Python in 24 hours, and up > > to chapter 4 I had no problem. I have installed the IDE , and as far > > as I k

Re: [Tutor] Newsreader list name?

2005-06-10 Thread Terry Carroll
> > I'm on OS X 10.4.1 and downloaded Hogwasher to try. Using my ISPs > > news server I found the two lists I mentioned, but I can't get > > anything nntp://news.gmane.org alone or in combination with a group Try news://news.gmane.org , if your reader requires specifying the protocol. __

[Tutor] Web browser

2005-06-10 Thread Ismael Garrido
Hello. I've been looking around for a web browser either written in python, or with python bindings. What I need to do is load a web-page, enter a password-protected site and follow certain links, it needs to have frames and follow the refresh meta. I'm running winxp, python 2.4 At first I tho

Re: [Tutor] Web browser

2005-06-10 Thread Trey Beck
Why do you need to use a web browser rather than doing this programmatically? On Jun 10, 2005, at 9:56 PM, Ismael Garrido wrote: > Hello. > > I've been looking around for a web browser either written in > python, or > with python bindings. > What I need to do is load a web-page, enter a passw