New into programming [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 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.

Related

Telling if stories are fake or real using 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 4 days ago.
Improve this question
I am looking forward to building a program in python which tells if a text is fake or real. This is a project I want to start for educational purposes. For example, someone is sharing a story, the program will check the input and will determine whether the author is likely telling truth or fiction based on common patterns. I am looking for some things I can start off from, like libaries or documentation. Thanks for anyone who is willimg to help.

Storing Ids In TxT Files [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 7 days ago.
Improve this question
I want to know how when somebody uses a slash command and puts a id / number it will store that id and if they use it again it will give them the same answer but im using import random.
Can someone just drop a code below or tell me how please?
Didn't try anything yet.

How to find the widest and narrowest part of an object? [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 10 months ago.
Improve this question
I am new to the world of image processing. And I am working on a project, where I need to find the narrowest and widest part of a letter/object like the one I have attached to the post. I have tried many things, but I do not get proper results. Can you help with a way to approach this. I am mostly using Python and OpenCV.
Thanks in advance!

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.

Access modules from Python in c [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
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

Categories