[Tutor] New to Python
Alan Gauld
alan.gauld at yahoo.co.uk
Thu Oct 27 19:31:07 EDT 2016
On 27/10/16 23:41, Rusty Bayles wrote:
> I just installed 3.5.2 interpreter and cannot figure out how to run
> program.
I strongly suggest you go to Youtube and search for IDLE.
There are several short (3-10min) videos there that should
make it clear where you are going wrong. Watch a couple of them.
> ...When I run a program (after importinh sqllite and doing
> connection setups and attempting to setup table. When I press run (F5?) the
> first line in the program fails at 3.5.2 on the five?
It looks like you are typing (cut n pasting?) the Python prompt into
your program.
Its possible you are trying to save an interactive session and then
run it, but that won't work (unfortunately, it would be good if you could!)
> ... if I setup new file and start typing sometimes I get prompt
> and sometimes not?
New file should always be a blank text screen, I'm not sure
how you are getting a prompt.
My best suggestion is to watch a couple of the video tutorials.
Danny Yoo also has an HTML tutorial but it's quicker to watch
the vids - and if you have experience in coding you should
get the point pretty quickly.
If you are stuck Danny's tutorial is here:
http://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro/index.html
Its quite old so a few menu options/labels may have changed but
the basics are the same.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list