-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reading/Loading a file #144
Comments
In Chaquopy 6.3.0 and later, you can access data files using a path relative to [Example moved to the documentation] |
Thanks for that, it worked with version 6.3.0. |
I want to understand why it's not working here, I have a .txt file inside the same folder as the .py file. I use this code:
And this error is returned: |
As mentioned above, you must be using Chaquopy 6.3.0 or later for this technique to work. Check the version number of |
[Moved to #160] |
@mhsmith you rocked man, this worked after sucking up for days. |
Finally I got a solution after a long time, this guy explains in simple way how to open and read file data using chaquopy in android studio Check this link |
How can i read a file in the project directory with python?
i.e.
or where should put it for easier loading
The text was updated successfully, but these errors were encountered: