Hi,
1. Is there a discord discussion group link that i can join ? ( i found one , https://discord.com/channels/989230637342933042/990834240608415834 , this is a correct forum related to this topic ?)
2. i have this simple python code, in the attached file , main.py
- i wish to use a simple memo, 2 buttons (one for start_bot another for stop_bot) and when python4delphi component will read and execute
script from main.py and add message receive from Telegram bot into the memo1.
i have defined the following in delphi beside the main.py,
1. a pythonEngine and a pythonGUIInputOut component and set the relevant properties, i.e. IO to memo1. etc.
2. i have in my start_button try to executeStrings( memo1.lines) , but no result display
my problem is i am unable to get the updates from the python , telegram bot , message receive into the Delphi(10.3)'s Form memo1.
and i not even sure whether the bot is running. I have tested to run the python code. (in python 3.9) environment, it ran as expectedly.
i am thinking to use the wrapDelphi to wrap the memo1 to the main.py by importing the memo1 component into the python script
to add messages or clearing the memo1.lines , can any one help me by giving some advise , what do think i need to do
or is wrapping the delphi memo1 component and change my python function i.e. echo() , handle_json() to change the content
of the wrapped delphi's memo1.lines in the python code ?
Thanks.
main.py