Page 1 of 1

about asciioutput add quote issue

Posted: Sun Jul 03, 2022 5:08 am
by Niko
as my local system has a .py file, now i want to use asciioutput genarate a file as it( prolog genarate and epilog execute), but after i open it with notepad++ , as system auto add quote on Both sides of each line, which result in executecommand can not execute successfully, it's very strange,I don't know if anyone has ever had this problem?

Any help would be greatly appreciated.

mannual create .py file:

Code: Select all

import asyncio
import nest_asyncio
nest_asyncio.apply()
from concurrent.futures import ThreadPoolExecutor
from TM1py.Services import TM1Service
from typing import List
import time
asciioutput genarate .py file:

Code: Select all

"import asyncio"
"import nest_asyncio"
"nest_asyncio.apply()"
"from concurrent.futures import ThreadPoolExecutor"
"from TM1py.Services import TM1Service"
"from typing import List"
"import time"

Re: about asciioutput add quote issue

Posted: Sun Jul 03, 2022 6:20 am
by Alan Kirk
Niko wrote: Sun Jul 03, 2022 5:08 am as my local system has a .py file, now i want to use asciioutput genarate a file as it( prolog genarate and epilog execute), but after i open it with notepad++ , as system auto add quote on Both sides of each line,
To produce it without the quotes, set this variable to a null string in the prolog.

Code: Select all

DatasourceASCIIQuoteCharacter='';

Re: about asciioutput add quote issue

Posted: Sun Jul 03, 2022 9:26 am
by Niko
Alan Kirk wrote: Sun Jul 03, 2022 6:20 am
Niko wrote: Sun Jul 03, 2022 5:08 am as my local system has a .py file, now i want to use asciioutput genarate a file as it( prolog genarate and epilog execute), but after i open it with notepad++ , as system auto add quote on Both sides of each line,
To produce it without the quotes, set this variable to a null string in the prolog.

Code: Select all

DatasourceASCIIQuoteCharacter='';
I get it, and it works , thank you very much.