Hii, I tried to carry out the database connection and some other implementations to a separate python file in the same actions directory but in a separate file. I failed in many ways. please suggest me a way to modularise the implementations.
Probably the easiest way is to break out separate python files as modules and then import them into your actions. This is a good guide: Python 3 Examples: Import Another Python File as a Module - Computer Science Atlas
@RajithaBandara Hi, is you importing the file name with class name? Your approach is perfectly file, can you even share the both files, the main action.py and related separate python file for our reference. Thanks.
@rctatman I got through it thank you.
@nik202 thank you and i was away from my workstation for few days which made me late to reply to the above topic which i have created. I could get through my problem of importing a separate module. Thanks again nik
@RajithaBandara No worries, great! Good Luck!