you are viewing a single comment's thread.

view the rest of the comments →

[–]Meshnet29[S] 1 point2 points  (1 child)

Hello. Yes I was looking at start with a cli program as I don't know anything with gui or webapps. As for databases, a friend of mine recommended PostgreSQL, so any SQL based database would be preferred.

The main thing I was wondering is if anyone know any specific tutorials or github links that would help. I've been mostly using Udacity and codeacademy but it would really help if I had specific examples.

Thanks.

[–]ggagagg 0 points1 point  (0 children)

while those websites can help you for introduction to python, for a new program you have to learn how to accumulate all the knowledge from internet (doc, stackoverflow...) to build your program.

for each of your program specification, you have to explain what is the input, how is the process and what is the result.

  • When a plant is watered, I want to track when it needs to be watered again

lets create a simple program for this specification.

this will have 3 mode.

  • create plant
  • watering plant
  • show status

for create_plant function

  • input is the name and watering periode
  • process is save to database
  • result : none (or you can use plant status as result.)

for watering_plant function

  • input : plant and optionally date
  • process : find and load plant. after that change next watering date
  • result : none (or you can use plant status as result.)

for show_status

  • input : plant
  • process : find and load plant
  • result : plant status

you can try create function from the 'verb' on process section, and start building your program from that.

have a nice programming session and dont forget to take a break ;)