CodePudding user response:
Don't know what you said in the background of the code is shown in (1, 2), (2, 3), (3, 4), (4, 5), (5, 6) is what mean?You can draw a sketch interface and display the results?
CodePudding user response:
Hello, I just want to create one. Py files, and write in py file table=((0.0, 0.0), (0.09966928, 0.01626088), (0.198259744, 0.032113624), (0.301190888, 0.047742344), (0.396048526, 0.062242664), (0.480047921, 0.076054824)), but the inside of the table to 6 (actually have around 30) a 2 d array set as variable, namely in the design of interface (exe program) I enter (paste) needed six two-dimensional array after the operation, get the corresponding py files,FileStream fs=new Fitream (" D: \ \ command stream. Py, FileMode. Create);
StreamWriter sw=new StreamWriter (fs);
Sw. Write (" table=((0.0, 0.0), (0.09966928, 0.01626088), (0.198259744, 0.032113624), (0.301190888, 0.047742344), (0.396048526, 0.062242664), (0.480047921, 0.076054824)) ")
Thank you very much!
CodePudding user response:
Can be used on the interface two TextBox input X and Y, respectively textBox1. Text and textBox2. Get the input Text string,