On Thu, 22 Aug 2013 12:08:29 +0000
Ally Biggs <bluechr...@hotmail.co.uk> wrote:

> I have started using python nothing to major just getting to grips
> with basics such as variables. I am really liking it so far. I am
> also really the Linux Shell Scripting Cookbook which is projet based
> and seems pretty straightforward. I am considering getting a
> raspberry pi as for the vesion of Python I am using it's 2.7.5. I
> tried using 3 but was getting weird syntax issues.
> 

Is that when you were writing python3 code and still using the
python2.7 interpreter?

If you just type python myprog.py you will normally get the 2.7 version
(/usr/bin/python is a link to python2.7 Try python3 myprog.py

Regards
David

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------

Reply via email to