[Tutor] Using if statement with csv file

2015-01-27 Thread Tammy Miller
I have a csv file. I would like to create a filter or if statement on a column but it is not producing the right results. It displays everythingHere is the example:import csvwith open('test.csv') as csvfile:reader = csv.DictReader(csvfile)for row in reader:if row['Absent'] 10

Re: [Tutor] Tutor Digest, Vol 130, Issue 47

2015-01-01 Thread Tammy Miller
it is more specific than Re: Contents of Tutor digest... Today's Topics: 1. Convert string to bytes (shweta kaushik) 2. Help on Python drop-down list options (Tammy Miller) 3. Re: Help on Python drop-down list options (WolfRage) 4. Re: Convert string to bytes (WolfRage) 5. Re

[Tutor] Help on Python drop-down list options

2014-12-31 Thread Tammy Miller
Hello All, I need help on the following: I have a created a project from a csv file to calculate the mean and standard deviation. However, I would like to create a drop-down list and display the mean and standard deviation? Is there a module for that? Thank you, Tammy