{"action":"closed","issue":{"url":"https://api.github.com/repos/openmv/openmv/issues/413","repository_url":"https://api.github.com/repos/openmv/openmv","labels_url":"https://api.github.com/repos/openmv/openmv/issues/413/labels{/name}","comments_url":"https://api.github.com/repos/openmv/openmv/issues/413/comments","events_url":"https://api.github.com/repos/openmv/openmv/issues/413/events","html_url":"https://github.com/openmv/openmv/issues/413","id":384933287,"node_id":"MDU6SXNzdWUzODQ5MzMyODc=","number":413,"title":"Appeding data to .txt","user":{"login":"Franzisdrak","id":22683381,"node_id":"MDQ6VXNlcjIyNjgzMzgx","avatar_url":"https://avatars2.githubusercontent.com/u/22683381?v=4","gravatar_id":"","url":"https://api.github.com/users/Franzisdrak","html_url":"https://github.com/Franzisdrak","followers_url":"https://api.github.com/users/Franzisdrak/followers","following_url":"https://api.github.com/users/Franzisdrak/following{/other_user}","gists_url":"https://api.github.com/users/Franzisdrak/gists{/gist_id}","starred_url":"https://api.github.com/users/Franzisdrak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Franzisdrak/subscriptions","organizations_url":"https://api.github.com/users/Franzisdrak/orgs","repos_url":"https://api.github.com/users/Franzisdrak/repos","events_url":"https://api.github.com/users/Franzisdrak/events{/privacy}","received_events_url":"https://api.github.com/users/Franzisdrak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-27T18:41:41Z","updated_at":"2018-11-27T20:20:30Z","closed_at":"2018-11-27T20:20:30Z","author_association":"NONE","body":"Hi there,\r\n\r\ni am trying to open a .txt-file and append each time there is new data. Sadly when executing my file is not opened.\r\nI also tried with the write option \"w\", which works, but i need to append the data.\r\n\r\n```\r\n  result_string = \"Test\"\r\n  with open(\"results.txt\", \"a\") as myfile:\r\n            myfile.write(result_string)\r\n```\r\n\r\nEdit: After checking again, it looks like the data is actually written to my attached SD card, though it doesn't start newlines, and the changes become visible only after i disconnect/connect the camera again."}}
{"actor":{"display_login":"kwagyeman"}}