21st-May-2018: Beeware

Test to see if Toga can access file contents from a given directory. (In preparation for when FILE (FOLDER) OPEN dialog support is provided.)

Using the file read code from Sololearn, this answer on SO about getting a user's home directory, and then hardcoding file reading: IT WORKS! I can pull in the contents of a file in the current user's home directory.

I plugged this code into an existing Toga interface to see if the proper output is generated in the terminal when one clicks on a button, and sure enough it works! :D

Given that my code isn't likely to be used for projects besides my own for a while, I think that I can hardcode file locations relevant to me, until FILE dialogs are provided.

This will let me flesh out GUI tools quickly, especially for my Git & TiddlyWiki thing :))


Beeware Users Group (BUG)!