Access modules from Python in c [closed] - python

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I am trying to access a module I have written in Python from C? Is this at all possible?
I have tried:
Module = PyImport_ImportModule("<modulename>");
But it doesn't seem to work

please try to add more information of what are you trying to do.
Anyway, I know it is possible. It isn't easy though..
Have you tried looking for any tutorials? I think this was already asked:
Call a Python function from within a C program
https://www.codeproject.com/Articles/11805/Embedding-Python-in-C-C-Part-I
https://www.linuxjournal.com/article/8497

Related

New into programming [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 days ago.
Improve this question
How do I start a code in Python? Is there any formula/rule or so I can or have to use/follow?
I have read so much about all different types and functions in python, and still am not able to simply start with a code, although I know in my mind, what is to be considered.
I tried to start, there where error messages I didn't understand, then I went to ChatGPT and all my ideas were most of the time correct, but I can't create the right form of the code.
And somehow I am not able to get it out of all the stuff I already read.

how can I observe a change in a python var [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
Hi I'm trying to catch the change in the paperclip of my computer with the library pyperclip something same as
url=pyperclip.paste()
I want to create a thread which can append all the urls into a list my script, but I don't know how to could I do it
Thanks for your time and help c:
Did you check the documentation or the source code at all? That's all I did. pyperclip supports waitForPaste and waitForNewPaste methods that can do this.

How do i use Canadian tickers in yfinance? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Cant seem to find any documentation, i assumed adding .To or the like would do it but im at a loss. Anyone familiar with yfinance?
Turns out it was an error pulling "Fundamentals" when getting certain stock info. Another post advised me to add an exception in yfinance's base.py file. All works well after that.

How to make different message windows in python? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am beginner of Python, does anyone knows how to make a different shapes of message windows in python? i want to design a better look and friendly GUI.
Thank you
I think Qt is what may be useful to you. Take a look at the documentation on QtProject homepage. Lots of tutorials can be found on the Internet. For your specific problem take a look at this SO question.

How to use python script in node.js [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Can someone help me?
I have a project on Node.js(Cappuccino framework), and I must to use with the project my Python script.
How to do this deal?
You did not consult Google before asking. Searching for 'node.js execute python' got me HERE. I'm guessing this is what you want.
I'm guessing because you're not being very clear. Next time be more specific.

Categories