Message from Python discussions

November 2018

— How to connect different python programms in single project

— 

If it's the same project you must tied all those "programs" into the same project as a whole OOP system.

— Programming separated scripts and tying them doing import is a horrible practice

— Other solution is working with simple scripts with separated responsabilities, but orchestrating them using ansible, a linux cron or a python script to run them in order.

Message permanent page

— But never tying them using import as them were the same

— So you've got two options (under by point of view):

1. Redesign your system, and so on your architecture. Tying the components together in the same project but with low encapsulation, high cohesion and concepts division principles. You would need to use classes of course.

2. Treating them separately as different projects not related and orchestrate the execution with ansible, crons or a python orchestration script.

Message permanent page

— Didn't know about choice, much better then

— Why

— Why would it matter

— Because i love Indian Bros bro

— Stop being stupid

— It doesn't matter in context of current topic