python tag

Python is a high-level, interpreted, general-purpose programming language. Its design philosophy emphasizes code readability with the use of significant indentation.

Python is dynamically-typed and garbage-collected. It supports multiple programming paradigms, including structured (particularly procedural), object-oriented and functional programming. It is often described as a "batteries included" language due to its comprehensive standard library.

Guido van Rossum began working on Python in the late 1980s as a successor to the ABC programming language and first released it in 1991 as Python 0.9.0. Python 2.0 was released in 2000 and introduced new features such as list comprehensions, cycle-detecting garbage collection, reference counting, and Unicode support. Python 3.0, released in 2008, was a major revision that is not completely backward-compatible with earlier versions. Python 2 was discontinued with version 2.7.18 in 2020.

Python consistently ranks as one of the most popular programming languages. It is used by many organizations and companies. Pixar, Disney, Instagram and the developers of the Linux Kernel are among many of it's high-profile users, which includes many developers of Free and Open source software.

Reference: WIKIPEDIA

4650 questions


1 answers
28 views
0
Round question in python (decimal)

round(1.5)round(2.5)round(3.5)round(4.5)round(5.5)round(6.5)The results of the respective 224466It's coming out. I thought it was a function of rounding offI wonder why the results are coming out like...

2 years ago

1 answers
21 views
0
Enter a number and recognize it as a character

a=chr(input(first digit: ))After receiving a number like this, I want to convert it to chr type, but I keep getting errorsWhat is the problem?

2 years ago

1 answers
22 views
0
Cancel during Python input

I want to terminate the function after a certain period of time while executing input within the Python function.def example (): input()#If you do not enter anything for n seconds, I want to stop the ...

2 years ago

1 answers
47 views
0
Extracting specific data from a json file

apistats: { 2512: { FindFirstFileExW: 7, NtAllocateVirtualMemory: 26, SetFilePointer: 4, NtCreateFile: 92, GetFileType: 27, NtReadFile: 29, GetFileInformationByHandle: 19, RegO...

2 years ago

1 answers
48 views
0
Python django functional problems

Function - Press one of the 123 Vote Options and vote to see the result window Improvement - We want to leave the above function as it is, but let it go straight to the result window without voting.Qu...

2 years ago

1 answers
66 views
0
Python Programming Contest Questions

I'm preparing to participate in the programming competitionThere's a site where you can test it in advance, so I tested itI got a perfect score for accuracy, but I didn't get a single score for effici...

2 years ago

1 answers
148 views
0
How do I read dynamic data from crawling using python 2.7 requests?

url=https://www.whoscored.com/Players/11119/Show/Lionel-Messires = requests.get(url, headers=headers, proxies=proxies)page_parser = bs4(res.content, html.parser)So we're going to practice bringing Mes...


1 answers
69 views
0
I want to delete a specific word from the Python string.

list = [(10) Hello, Today's weather is cold (43423)(apple) It's very cold]There's a string list like this.I want to delete all the strings in here, including parentheses.I wrote the re module like the...

2 years ago

1 answers
20 views
0
python opencv error

#!/usr/bin/etc pythonimport cv2import numpy as npimport pytesseractfrom PIL import Imageclass Recognition: def ExtractNumber(self): Number='testimg3.jpg' img=cv2.imread(Number,cv2.IMREAD_COLOR) c...

2 years ago

1 answers
100 views
0
Python type conversion error

of Python, to list serise value from the string float I was about to change it to error .What's wrong?The code intention is change_csv['Volume'] serise is 1.61M, 77.2K, and it's kilo and millon I want...

2 years ago
« - 259 - »

© 2024 OneMinuteCode. All rights reserved.