Feb-20-2019, 03:40 AM
(This post was last modified: Feb-20-2019, 04:09 AM by artblinked.)
Hello!
As I understand it makefiles are not so much required for python because it's not a compiled language, moreso interpreted. However, I need to make a makefile for my project.
So...
I know how to make a makefile for c++ but I've never done it for python. Everything I look at on google has this giant, long file that is waaay more than I'm looking for. Is there an easy 1 or 2 lines of code I can use to run my file? I have a single file ABAC_engine.py that contains all my code. Do I need to make it an executable first? How does this work?
Let me know if there's info I need to include and I will find it.
Thanks in advance to all!
I forgot to add that it must be able to be called with:
abacmonitor command-line-arguments-go-here
As I understand it makefiles are not so much required for python because it's not a compiled language, moreso interpreted. However, I need to make a makefile for my project.
So...
I know how to make a makefile for c++ but I've never done it for python. Everything I look at on google has this giant, long file that is waaay more than I'm looking for. Is there an easy 1 or 2 lines of code I can use to run my file? I have a single file ABAC_engine.py that contains all my code. Do I need to make it an executable first? How does this work?
Let me know if there's info I need to include and I will find it.
Thanks in advance to all!
I forgot to add that it must be able to be called with:
abacmonitor command-line-arguments-go-here