I want to open a txt file with the built-in microPython of the R+task3.0 program, is there a way to open it?
You can cut and paste your .TXT file into the microPython editor, or you can rename your .TXT file as a .PY and then open this .PY file as normal.
All the ROBOTIS microPython files are just ASCII text files, any way.
What I want to do is save the data in another python code as something like a txt file, and then I want to open the data in that file back to micro python, is this possible?
You meant at runtime? or at editing time? Also what controller are you using? CM-550 I suppose? Also where is the other Python running on? On PC or SBC?
If you meant at runtime, below is a post from a user sending/receiving ASCII strings from MATLAB to the CM-550 in MicroPython, please note how he used input() (this MicroPython function is not documented at all by ROBOTIS).
May be you can adapt his technique for your Python setup and during code execution on both Python computing platforms, as I am not aware that the CM-550 can support any kind of file storage like an SD. If you really need to use an SD storage device you may have to think about using an Arduino MKR ZERO with a SD reader installed. It has the appropriate software to read/write into a file, and the MKR ZERO can interface with ROBOTIS actuators fine.