I've just received this e-mail on my android and believe that the above advice is good(as always), this list is great for beginners as there are a never-ending amt. Of talented/knowledgable ppl. Available. Additionally, I love Eclipse's Pydev(Comes incl. 'd) already in AptanaStudio(Eclipse-derivative for web-development and best of all python. Its very new, and although there is a commercial version, they provide full features to the free Aptana version. If you go this route, there is one less step, and me starting python a year or so ago, it was a life-saver. The other life-saver was the pydoc feature that comes with the std. Python Windows installation. Its amazing and if my memory serves correctly in Windows IDLE launched from the help menu. Thats great for quickly referencing things. But good luck!!
Sent from my Verizon Wireless Phone

-----Original message-----
From: tutor-requ...@python.org
To: tutor@python.org
Sent: Fri, Mar 16, 2012 01:12:28 GMT+00:00
Subject: Tutor Digest, Vol 97, Issue 41

Send Tutor mailing list submissions to
        tutor@python.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.python.org/mailman/listinfo/tutor
or, via email, send a message with subject or body 'help' to
        tutor-requ...@python.org

You can reach the person managing the list at
        tutor-ow...@python.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Tutor digest..."


Today's Topics:

  1. how I overcame the problem "I cannot run Python programs"
     (Tamar Osher)
  2. Re: how I overcame the problem "I cannot run Python   programs"
     (eire1...@gmail.com)
  3. more about how I overcame not being able to run my programs
     (Tamar Osher)
  4. Re: more about how I overcame not being able to run my
     programs (Alan Gauld)
  5. Re: how I overcame the problem "I cannot run Python   programs"
     (Mark Lawrence)
  6. Re: more about how I overcame not being able to run        my
     programs (Steven D'Aprano)
  7. Re: how I overcame the problem "I cannot run Python   programs"
     (Alan Gauld)


----------------------------------------------------------------------

Message: 1
Date: Thu, 15 Mar 2012 17:12:37 -0500
From: Tamar Osher <emeraldoff...@hotmail.com>
To: "Tutor@Python.org" <tutor@python.org>
Subject: [Tutor] how I overcame the problem "I cannot run Python
        programs"
Message-ID: <bay167-w76bd3ec4cbbb24e1fbf352b9...@phx.gbl>
Content-Type: text/plain; charset="iso-8859-1"


I realized that my computer was running the programs. The black box was flashing off and disappearing immediately, so that I never saw the programs. Also, I am using Notepad++, in addition to IDLE. I am now able to see my programs and provide user input, when I use Notepad++.
Also, I still have not fully overcome, I am slowly on my way to success.
I am working vigorously on Python, but only 10% of my time is learning Python. The rest of my time is learning everything related to Python, to get my programs to work. I greatly appreciate everyone's help! I cannot thank each of you enough. Thanks for being there when I need someone! Have a wonderful day!







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120315/bd5217e1/attachm ent-0001.html>

------------------------------

Message: 2
Date: Thu, 15 Mar 2012 22:30:47 +0000
From: eire1...@gmail.com
To: "Tamar Osher" <emeraldoff...@hotmail.com>,
        tutor-bounces+eire1130=gmail....@python.org,    "Tutor@Python.org"
        <tutor@python.org>
Subject: Re: [Tutor] how I overcame the problem "I cannot run Python
        programs"
Message-ID:
<1795078761-1331850648-cardhu_decombobulator_blackberry.rim.net-1415149165-@b 11.c28.bise6.blackberry>
        
Content-Type: text/plain


That's the nature of things I'm afraid. I do about half of my development on windows. My recomendation, download eclipse and install pydev. IDE choice is always a touchy subject but for windows, this should be your choice.

I have notepad++ as well. Its great. But eclipse is better, especially for learning. I can't describe how much it helped me.




Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Tamar Osher <emeraldoff...@hotmail.com>
Sender: tutor-bounces+eire1130=gmail....@python.org
Date: Thu, 15 Mar 2012 17:12:37 To: Tutor@Python.org<tutor@python.org>
Subject: [Tutor] how I overcame the problem "I cannot run Python programs"

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor




------------------------------

Message: 3
Date: Thu, 15 Mar 2012 17:39:53 -0500
From: Tamar Osher <emeraldoff...@hotmail.com>
To: "Tutor@Python.org" <tutor@python.org>
Subject: [Tutor] more about how I overcame not being able to run my
        programs
Message-ID: <bay167-w110c4e821892daa16b73d0bb9...@phx.gbl>
Content-Type: text/plain; charset="iso-8859-1"


I am very appreciative for the many valuable individuals who graciously take their precious time to help others in need. Special thanks to:
Brian van den Broek,Bob Gailer,and Hugo Arts.
I followed all the instructions of Hugo, Bob, and Brian. This is specifically what I am now doing so that I can see the programs that I run, and also be able to provide user input: try: import os # my programfinally: input ('\n\t\t\tPress the enter key to continue.') os.system ('pause')


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120315/7c47caf2/attachm ent-0001.html>

------------------------------

Message: 4
Date: Thu, 15 Mar 2012 23:51:47 +0000
From: Alan Gauld <alan.ga...@btinternet.com>
To: tutor@python.org
Subject: Re: [Tutor] more about how I overcame not being able to run
        my      programs
Message-ID: <jjtvak$9oi$1...@dough.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 15/03/12 22:39, Tamar Osher wrote:

try:
import os
# my program
finally:
input ('\n\t\t\tPress the enter key to continue.')
os.system ('pause')

It's more conventional to put the import at the very top, before the try: line.

But otherwise what you have should be fine. There are other ways of doing it and eventually you may write programs that don't require the press enter... line and you can then miss out all of the code above. But for learning that's fine.

Or just run your programs inside IDLE or, as someone else suggested, Eclipse and PyDev (although personally that seems like overkill!)

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



------------------------------

Message: 5
Date: Fri, 16 Mar 2012 00:29:37 +0000
From: Mark Lawrence <breamore...@yahoo.co.uk>
To: tutor@python.org
Subject: Re: [Tutor] how I overcame the problem "I cannot run Python
        programs"
Message-ID: <jju1hq$nu7$1...@dough.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 15/03/2012 22:30, eire1...@gmail.com wrote:

That's the nature of things I'm afraid.

I do about half of my development on windows. My recomendation, download
eclipse and install pydev. IDE choice is always a touchy subject but for windows, this should be your choice.

I have notepad++ as well. Its great. But eclipse is better, especially for
learning. I can't describe how much it helped me.


I believe that eclipse is crap. I tried it 10 years ago and gave up because it was so slow. I tried it a couple of months ago for two weeks and again gave up for the same reasons. Why not stick with pythonwin, it's perfectly adequate for my needs?

--
Cheers.

Mark Lawrence.



------------------------------

Message: 6
Date: Fri, 16 Mar 2012 11:35:35 +1100
From: Steven D'Aprano <st...@pearwood.info>
To: tutor@python.org
Subject: Re: [Tutor] more about how I overcame not being able to run
        my      programs
Message-ID: <4f628ad7.6090...@pearwood.info>
Content-Type: text/plain; charset=us-ascii; format=flowed

Alan Gauld wrote:
On 15/03/12 22:39, Tamar Osher wrote:

try:
import os
# my program
finally:
input ('\n\t\t\tPress the enter key to continue.')
os.system ('pause')

It's more conventional to put the import at the very top, before the try: line.

True, but in this case, if there is an import error, the message will flash by without being read. Wrapping the *entire* program, imports and all, ensures that the program will pause regardless of what happens.


--
Steven



------------------------------

Message: 7
Date: Fri, 16 Mar 2012 01:10:39 +0000
From: Alan Gauld <alan.ga...@btinternet.com>
To: tutor@python.org
Subject: Re: [Tutor] how I overcame the problem "I cannot run Python
        programs"
Message-ID: <jju3uf$8hr$1...@dough.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 16/03/12 00:29, Mark Lawrence wrote:
I have notepad++ as well. Its great. But eclipse is better, especially
for learning. I can't describe how much it helped me.

I believe that eclipse is crap.

No, it's not crap, it's one of the most powerful and extensible development tools available and used by thousands (millions?) of professional programmers worldwide. But...

> I tried it 10 years ago and gave up because it was so slow.

It's written in Java and 10 years ago few PCs had the horsepower to run Java well, and the Java compilers/VM were less efficient too.

I tried it a couple of months ago for two weeks and again gave up
> for the same reasons.

Unless you are still using the same 10 year old PC it shouldn't have been that bad! I certainly don't find it any slower than most large apps these days.

Why not stick with pythonwin, it's perfectly adequate for my needs?

For a beginner to python I tend to agree with you. Not because Eclipse is slow but because it's way over powered for the simple programs beginners write. If you want to develop a large application with dozens/hundreds of files and packages on Windows then Eclipse (or Netbeans etc) is a useful tool to have. And if you need to develop code in many different languages again, Eclipse will provide consistency. And if you need to build design models in UML you get a choice of top-end tools. But, for single-file programs Pythonwin and even IDLE are perfectly adequate.

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



------------------------------

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


End of Tutor Digest, Vol 97, Issue 41
*************************************

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to