How to save text file with an different extension?

I have a textbox and I want to save the text with any other extension like .py or .js. How to do that ???

Execute the following with shell component:

echo “Textjdkykyk” > /mnt/sdcard/t.py

1 Like