Self-paced

Explore our extensive collection of courses designed to help you master various subjects and skills. Whether you're a beginner or an advanced learner, there's something here for everyone.

Bootcamp

Learn live

Join us for our free workshops, webinars, and other events to learn more about our programs and get started on your journey to becoming a developer.

Upcoming live events

Learning library

For all the self-taught geeks out there, here is our content library with most of the learning materials we have produced throughout the years.

It makes sense to start learning by reading and watching videos about fundamentals and how things work.

Search from all Lessons


LoginGet Started

Start interactive tutorial

← Back to Projects

Todo List CLI with Python

Difficulty

  • easy

Average duration

8 hrs

Technologies

Difficulty

  • easy

Average duration

8 hrs

Technologies

📝 Instructions

Create a TODO list application that allows users to add and delete tasks from the command line.

🌱 How to start this project

b) You can clone this repository on your local computer:

1$ git clone https://github.com/4GeeksAcademy/python-hello

Steps

  • If working locally, you should have python installed.

  • You should open the terminal on the path of this template and run $ python3 app.py, if everything works correctly, it should show Hello World on the terminal.

  • You can test your code by typing: $ python3 test.py.

💡 Important: Remember to create a new repository, update the remote (git remote set-url origin <your new url>), and upload the code to your new repository using add, commit and push.

📝 Instructions

These are the functions you will have to implement:

1def add_one_task(title): 2def print_list(): 3def delete_task(number_to_delete): 4def save_todos(): 5def load_todos():
  • You app needs to work from the the command line like this.
  • The user should be able to add new tasks
  • The user can add as many tasks as he/she wants.
  • The user can delete tasks by specifying the task position in the list.
  • The user can save the todos to a todos.csv file
  • The user can retrieve the todos from a todos.csv file
  • There is no way to update a task, the user will have to delete and create again.

Sign up and get access to solution files and videos for free

We will use it to give you access to your account.
Already have an account? Login here.

By signing up, you agree to the Terms and conditions and Privacy policy.

Difficulty

  • easy

Average duration

8 hrs

Technologies

Difficulty

  • easy

Average duration

8 hrs

Technologies

Difficulty

  • easy

Average duration

8 hrs

Technologies

Difficulty

  • easy

Average duration

8 hrs

Technologies

Sign up and get access to solution files and videos for free

We will use it to give you access to your account.
Already have an account? Login here.

By signing up, you agree to the Terms and conditions and Privacy policy.

Difficulty

  • easy

Average duration

8 hrs

Technologies

Difficulty

  • easy

Average duration

8 hrs

Technologies