This is what you’re supposed to do. You’re supposed to have the C file pre-compiled to begin with so that you have the filename.exe executable file ready to go. Remember, Python is an interpreted language, C is not.
I have been performing the creation of the executable in Geany up to this point.
Could be. This is why when you run into strange issues, it is generally a good idea to test with different environments (i.e., IDEs / versions).
It looks like we have taken this as far as we can. I guess I’m on my own from here on. Thanks for the testing and putting up with what are perhaps some dumb statements. You have certainly helped eliminate some things and focused my thinking a little more.
You’re welcome. Cheers!
I’m not letting you get away yet. Something I just tried out of desperation. The Makefile I am using has -fsanitize=address in its CFLAGS and LDFLAGS variables. I removed the -fsanitize=address from both variables, did a Make and no delay!
Comment?
Is this a fix or am I opening myself up to other issues?
I think that the compiler flag and the linker flag command line options are compiler specific.
This is beyond the scope of Python help topics. But if you must, try using a different compiler, test, and see if it make a difference.
Btw, I used the MinGW compiler for reference.
Thanks for the answer. I was just thinking you might know. I promise this is the last question on this topic.