+ 1
Can you help me ?
This is my question : https://stackoverflow.com/questions/55705329/copy-data-in-JUMP_LINK__&&__python__&&__JUMP_LINK
10 Antworten
+ 5
please rephrase the question its not clear if you want to read and write or you want to copy from file :
go through full series:
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2445/?ref=app
https://code.sololearn.com/cF4LQDQ15NbD/?ref=app
edit:
code edited 10 mins
+ 5
Ninofox 078 woof😥.. at last SL wins over SO 😂
and you can ping someone by typing @ and sl will show you choices
hapyy coding to all!
+ 4
Ninofox 078 check my earlier posted code again I have updated
+ 1
For Daljeet Singh and ~swim~,
I want copy the text in document on my code.
Again Thank for your help !
+ 1
~swim~
Exactly
+ 1
Okay Thank Daljeet Singh
0
It sounds to me as if you want to run code that you have written in a text file.
You have the functions eval and exec to read a string (and an opened txt file is a string) as code.
I'm sure there was a part in the tutorial here about that... or wasn't there?