#๐Ÿ”’ only list and add is working why update delete and -mark-done etc are not working in this code

8 messages ยท Page 1 of 1 (latest)

autumn spire
keen zodiacBOT
# autumn spire

Please react with โœ… to upload your file(s) to our paste bin, which is more accessible for some users.

keen zodiacBOT
#

@autumn spire

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

autumn spire
#

only list and add is working why update delete and -mark-done etc are not working in this code

quaint raptor
#

You might want to elaborate on what the issue is exactly.

autumn spire
# quaint raptor You might want to elaborate on what the issue is exactly.

when i use python3 task-cli.py --add "Learn OpenCV" --status "todo"
it adds a new entry which is what i want but when i use
python3 task-cli.py --update 1 "Learn Vocabulary" or
python3 task-cli.py --delete 1
or
python3 task-cli.py --mark-done 1
they dont do the function respectively like --update doesnt update the task with id 1 (Learn OpenCV in this case) to Learn Vocabulary
similiarly --delete doesnt delte task 1
neither --mark-done one changes its status to done

keen zodiacBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.