Re: [Tutor] Python Code Not Working

2016-10-11 Thread D . V . N . Sarma డి . వి . ఎన్ . శర్మ
An easier solution is simply to type 'print' in place of 'test' in the program. It will work. regards, Sarma. On Mon, Oct 10, 2016 at 2:09 AM, wrote: > Everytime I run this it says test is not defined . I don’t understand. Can > someone please help correct? > > #Question 10 > > def reverse(mys

Re: [Tutor] Python 3.x and Sqlite3

2016-10-11 Thread Zachary Ware
Hi Greg, On Tue, Oct 11, 2016 at 3:54 PM, Greg Schmit wrote: > On FreeBSD I built lang/python34 from source and when I run python 3.4 I > cannot import sqlite3. I thought it was being packaged with python 3.4. Am I > incorrect in this assumption? This is more the kind of fare that python-list

Re: [Tutor] Cluster analysis script error

2016-10-11 Thread Alan Gauld via Tutor
On 11/10/16 22:13, Mike Armson wrote: > I am trying to run a script (attached) which determines the number of > clusters of fixations within a set of eye movement data. The script says to > enter the following command on python: > > "python fixationClusters.py outputPrefix input clusterDistance"

Re: [Tutor] Python 3.x and Sqlite3

2016-10-11 Thread Kentaro Hori
You have to add to .configure iPhoneから送信 2016/10/12 5:54、Greg Schmit のメッセージ: > On FreeBSD I built lang/python34 from source and when I run python 3.4 I > cannot import sqlite3. I thought it was being packaged with python 3.4. Am I > incorrect in this assumption? > > -gns > __

[Tutor] Python 3.x and Sqlite3

2016-10-11 Thread Greg Schmit
On FreeBSD I built lang/python34 from source and when I run python 3.4 I cannot import sqlite3. I thought it was being packaged with python 3.4. Am I incorrect in this assumption? -gns ___ Tutor maillist - Tutor@python.org To unsubscribe or change su

[Tutor] Cluster analysis script error

2016-10-11 Thread Mike Armson
Hi there, I am trying to run a script (attached) which determines the number of clusters of fixations within a set of eye movement data. The script says to enter the following command on python: "python fixationClusters.py outputPrefix input clusterDistance" I am getting a syntax error with the

Re: [Tutor] Python Code Not Working

2016-10-11 Thread Alan Gauld via Tutor
On 09/10/16 21:39, jeremygaine...@gmail.com wrote: > Everytime I run this it says test is not defined . I don’t understand. It means test is not defined - that is, Python doesn't know about it. You call a function test() but there is no such function built into Python, so it complains. Presumabl

Re: [Tutor] Advise with coding

2016-10-11 Thread Alan Gauld via Tutor
On 11/10/16 10:16, tracey jones-Francis wrote: > Is it possible someone on here can advise me where I am going wrong. Yesm, thats what this list is for but... We need to see code - we can't guess what you did. We need to know what input you used, what output you got and why its not what you expec

Re: [Tutor] Python dependencies in Anaconda

2016-10-11 Thread Alan Gauld via Tutor
On 10/10/16 16:54, David Wolfe wrote: > Anaconda (using Spyder or a Juypter notebook), so the dependencies are > included, so it's not an issue. So, what I'm wondering is, are the > dependencies that are included in Anaconda just contained in Anaconda, and > not actually accessible in Python, An

[Tutor] Advise with coding

2016-10-11 Thread tracey jones-Francis
Hi I have just started Com Sci in Uni and I am new to coding. I feel pretty inadequate as I am really struggling with the latest tasks. Most of the work is self-directed learning so we need to figure it out ourselves but I am running out of time. Is it possible someone on here can advise me wh

[Tutor] Python Code Not Working

2016-10-11 Thread jeremygainey14
Everytime I run this it says test is not defined . I don’t understand. Can someone please help correct? #Question 10 def reverse(mystr): reversed = '' for char in mystr: reversed = char + reversed return reversed def is_palindrome(myStr): if myStr in reverse(myStr):

[Tutor] Python dependencies in Anaconda

2016-10-11 Thread David Wolfe
Good Morning; I'm working with a Python program that requires several dependencies (Numpy, Matplotlib, and so on). Normally I do all my programing through Anaconda (using Spyder or a Juypter notebook), so the dependencies are included, so it's not an issue. So, what I'm wondering is, are the dep