I' currently using Plone 5.1 Version, if i want to include custom python script which can handle with different scenarios like,
- render pages
- external database connections
- Write queries to display the data in views/template
Simply my aim is to include one external project to plone pages.
If the above scenario is not possible how can i achieve such relevant things in plone cms.
Thanks in advance