Re: [Tutor] Using Class Properly - early beginner question

2017-03-21 Thread boB Stepp
On Tue, Mar 21, 2017 at 12:20 PM, Rafael Knuth wrote: > > While writing the parent class, I ran into the following issue: > How do I properly declare a variable that takes user input? > Do I write methods in the same fashion like in a regular function? > And how do I call that class properly? Wh

Re: [Tutor] CSV file Reading in python

2017-03-21 Thread David Rock
> On Mar 20, 2017, at 14:37, Edzard de Vries wrote: > > I have a CSV which I want to be able to read in Python. I don't know the > exact syntax and I get error messages. Where can I find the syntax to do this. > I juiste starter learning Python. Edzard, Please post your code and the errors yo

[Tutor] Using Class Properly - early beginner question

2017-03-21 Thread Rafael Knuth
I am trying to write a food shopping list. The user should be able to add items to that shopping list, and later on decide what should happen to those purchased foods: instantly consumed or stored. My initial idea was to create a parent class to populate the shopping list and a child class to mana

[Tutor] HTML module for Python

2017-03-21 Thread ਪੰਜਾਬ ਪੰਜਾਬੀ
Hi Looking for recommendations on Python module to use to generate HTML pages/tables, other HTML content. Kindly help. Regards Ni ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/lis

Re: [Tutor] tiny, little issue with list

2017-03-21 Thread Sri Kavi
Hi Rafael, LogActivities = [] prompt = ("What have you done today? Enter 'quit' to exit. ") while True: activity = input(prompt) # Do this here so 'quit' is not appended to the list if activity == 'quit': # To get out of the loop break # If still in the loop, append t

[Tutor] CSV file Reading in python

2017-03-21 Thread Edzard de Vries
I have a CSV which I want to be able to read in Python. I don't know the exact syntax and I get error messages. Where can I find the syntax to do this. I juiste starter learning Python. Edzard. ___ Tutor maillist - Tutor@python.org To unsubscribe or c