Jun-05-2019, 12:15 AM
i have extend script java script document i want to write into using python. but it didnt work. does it only work with txt files?
is it possible to use python to read and write from a jsx file?
|
Jun-05-2019, 12:15 AM
i have extend script java script document i want to write into using python. but it didnt work. does it only work with txt files?
Jun-05-2019, 09:31 PM
Quote:but it didnt work.How so? Please define didn't work! What were you expecting it to do, what does your code look like? see: https://www.lifewire.com/jsx-file-2621849
Jun-08-2019, 01:36 AM
read file. write into file. looked something like this:
with open('C:/Users/mr big/Desktop/xxx1.jsx', 'r') as f2: text = "xxx" with open('C:/Users/mr big/Desktop/xxx1.jsx', 'w') as fout: fout.write(text)
Jun-08-2019, 02:59 AM
Can you upload a small jsx-file?
|
|