Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Writing to Files

Swan The Human
seal-mask
.a{fill-rule:evenodd;}techdegree
Swan The Human
Full Stack JavaScript Techdegree Student 19,338 Points

i can only get one item to be added to the database.txt file before the repl resets

i have the code written correctly. i run it in the repl and and it asks "what should i remember" so i add an item. but unlike in the video, when i hit enter it doesnt ask 'what should i remember' again it just shows a blank prompt and when i try to add another item it gives me the error "bash: stuff: command not found"

not sure why it would be doing this with the code being so short and hard to mess up.

1 Answer

kindly share your code,so that i can pin point were the issue might be!