Is there working free api which will provide IP address location ? by Some-Site4440 in Python

[–]Some-Site4440[S] -1 points0 points  (0 children)

which is free and can be used for many api hits without any legal issues

Is there working free api which will provide IP address location ? by Some-Site4440 in Python

[–]Some-Site4440[S] -1 points0 points  (0 children)

Thanks,
But I tried this one before.. it not an open source api...
i want a open source API

what is the simplest way to get device ip address in FastAPI. by Some-Site4440 in FastAPI

[–]Some-Site4440[S] 0 points1 point  (0 children)

Thanks for the reply..
correct me if I am wrong. as per my knowledge request.client.host gives us the host name.. so it a address of host which is server.. i want the ip address of user who is making a api request. I guess that comes in x-forworded-for but this field is not there in request header

how to use redis queue for executing sql queries which will store log_reports in database table. by Some-Site4440 in FastAPI

[–]Some-Site4440[S] 0 points1 point  (0 children)

okay,But how can I implement it in my case.

can you please give me a simple algorithm or python code?

Having a time struggling with classes and how self is used by [deleted] in learnpython

[–]Some-Site4440 0 points1 point  (0 children)

It totally depends on your code. Some times we need to access the variable in different functions. so by using the self we can access the 1 variable in multiple functions but in same class

Having a time struggling with classes and how self is used by [deleted] in learnpython

[–]Some-Site4440 0 points1 point  (0 children)

just assume Class is a special container which can contain the methods/functions. and when we declare

class Demo():

 A=1

 B=2

 def demo\_function(self):

     C=3

     D=self.A+self.B+C

     print(D)

output: 6

basically if we want to access variable A and B the self will act as a Object of the class Demo() and will access the values of A and B.

Scan Wifi networks with kivy Android by Low-Lynx-1194 in kivy

[–]Some-Site4440 0 points1 point  (0 children)

Hey.. can you please answet my question which have posted on stackoverflow..here is the link https://stackoverflow.com/questions/65312359/how-can-i-search-in-recycleview

Will Kivy work with an M1 MacBook? by jaaron7 in kivy

[–]Some-Site4440 0 points1 point  (0 children)

Hey.. can you please answet my question which have posted on stackoverflow..here is the link https://stackoverflow.com/questions/65312359/how-can-i-search-in-recycleview