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
16 views
0
Python error: SyntaxError in elif statement: invalid syntax

import matha = int (input (factor of x의: )))b = int (input (factor of x: )))c = int (input (constant term: )))if (-1*b + math.sqrt(abs((b*b) - (4*a*c)))) / (a*2) % 1 != 0 or (-1*b - math.sqrt(abs((b*...

2 years ago

1 answers
18 views
0
If you run the Python py file and enter all the input values, the output does not come out and it just turns off

The code made with Python in vscode runs well in vscode If you save ~~.py to your desktop and run it, it will turn off without output when you finish entering the input valueAnd if you really simply r...

2 years ago

1 answers
20 views
0
Python Conditional Remaining Operator Questions

print('+ and -) alternately.')n = int(input()' How many should I print?: '))for i in range(n): if i % 2: print('-', end='') else: print('+', end='')print()If you look at it if i % 2:I don't understa...

2 years ago

1 answers
52 views
0
How do I change the class so that it can be tied up like Set {}?

class Set: def __init__(self, my_list={}): self.my_list = my_list print(my_list)How can I implement a class that when a=Set ([1,2,3,1]) comes out as {1,2,3} and is deduplicated?

2 years ago

1 answers
15 views
0
I'm practicing web crawling with Python, but there's something I don't know

I'm practicing using beautiful soupI want to know how to find tags and classes on web pages, and when I use soup.find to find what I want,I wonder if I can only find tags and classes.And soup.find_all...

2 years ago

1 answers
128 views
0
Python pyqt5! I have a question.

There is a pyqt label object called xVal1, which is stored as a string in the variable op_nameA self.op_name.setText(op_value) An error appears when I try to change the label text like this.I think it...

2 years ago

1 answers
16 views
0
How do I compare Python data sizes?

When comparing data sizes in PythonI compared it using functions such as size, len, and shapeCan you tell me exactly how large this data is on the memory?MB, GB...in additionThe string in the JSON str...

2 years ago

1 answers
53 views
0
Python error xml.etree.ElementTree.ParseError: no element found: line 1, column 0

I'd like to write the code as follows and save it as a text file, but what's the reason for that error? Sometimes I can, but sometimes I can't, so I have a headache.def parsingXml(fileName): import xm...

2 years ago

1 answers
74 views
0
Do you not support openpyxl 64-bit?

openpyxl does not work on 64-bit Python.It's the same situation even if I reinstall it, but can I use it only in 32-bit Python?I installed it in a 32-bit environment when I first installed it, but I d...

2 years ago

1 answers
50 views
0
Saving to Python Selenium Screenshot Variables

How do I save it to a variable without saving it as a screenshot file?I'd like to access the website, take a screenshot, save it as a variable, not save it as a file, and register it as an attachment ...

2 years ago
« - 427 - »

© 2024 OneMinuteCode. All rights reserved.