+ 2

How can i print media content in file

I have a file with media I'd and an external command to find the content. I was try to create a code to gather media content and save it into a file. the the code should do following: 1. read the file and assign variable with first media in media list from file. 2. run command and save output of the command in a file with name of media 3. assign new value to media and run command again 4. this process will continue till end of file the content of media_id.txt is as below: 1234L5 2345L5 5364L5 5374L5 https://code.sololearn.com/cjLAD8aaqYc7/?ref=app

28th May 2018, 6:49 PM
Puneet Dixit
Puneet Dixit - avatar
1 ответ