Thanks, it works, but why the "data" is not stored in the data variable (it just prints in the console). How can I store the data in the data variable? my original code also reads data, but I can not see it in the my_data variable. I just only do not want to print it out, in fact I want to store the data in some variable.
How to read file inside class
How to read file inside class
|
|
Messages In This Thread |
How to read file inside class - by Mekala - May-02-2020, 06:49 AM
RE: How to read file inside class - by buran - May-02-2020, 07:07 AM
RE: How to read file inside class - by Mekala - May-02-2020, 08:54 AM
RE: How to read file inside class - by ndc85430 - May-02-2020, 08:54 AM
RE: How to read file inside class - by Mekala - May-02-2020, 09:21 AM
RE: How to read file inside class - by buran - May-02-2020, 09:22 AM
RE: How to read file inside class - by buran - May-02-2020, 09:26 AM
RE: How to read file inside class - by Mekala - May-02-2020, 09:29 AM
RE: How to read file inside class - by buran - May-02-2020, 09:31 AM
RE: How to read file inside class - by Mekala - May-02-2020, 09:49 AM
RE: How to read file inside class - by buran - May-02-2020, 10:08 AM
RE: How to read file inside class - by snippsat - May-02-2020, 11:36 AM
|
Users browsing this thread: 2 Guest(s)