Hello,
Is there a way to define "functions" or "sub" or something similar, that I could call from python scripts (actions) ?
Regards,
defining functions I can call from python scripts
defining functions I can call from python scripts
miljbee
TCP Events : A Better Network Event Sender/Receiver Plugin.
The Network Event Sender/Receiver in C#
Get events in EG from Google Calendar.
TCP Events : A Better Network Event Sender/Receiver Plugin.
The Network Event Sender/Receiver in C#
Get events in EG from Google Calendar.
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: defining functions I can call from python scripts
Of course it is possible.
Look at the example: Python script contains this code:Pako
Look at the example: Python script contains this code:
Code: Select all
def TestFunction(txt):
print txt
eg.globals.testFunction = TestFunction
Re: defining functions I can call from python scripts
great !
Thank you very much !
Thank you very much !
miljbee
TCP Events : A Better Network Event Sender/Receiver Plugin.
The Network Event Sender/Receiver in C#
Get events in EG from Google Calendar.
TCP Events : A Better Network Event Sender/Receiver Plugin.
The Network Event Sender/Receiver in C#
Get events in EG from Google Calendar.