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
22 views
0
Output src1, src2, src3 value for statement without list

Can't we have src output as [A,B,C] instead of [src1, src2, src3] without making a list below?src1 = Asrc2 = Bsrc3 = Cfor i in [1,2,3]: src = (f'src{i}') print(src)And what do you call this?

2 years ago

1 answers
117 views
0
Max retries exceeded with url & [SSL: CERTIFICATE_VERIFY_FAILED] impossible to get local issuer certificate error when using selenium and BS4

Hi, everyoneqpldocs.dla.mil/search/parts.aspx?qpl=1780We would like to extract the lists shown in the image below as text from the url above. (Since we are going to go through each list and perform ad...


1 answers
124 views
0
During torque aging, a phase input should be string, not error appears

phase input should be string, not <class 'float'> error appears I don't know how to squeeze more code;We've turned the code with reference to the collar below, and we're in progress with the dat...

2 years ago

1 answers
58 views
0
How do I get the disused words out of the csv?

val['Riviews'] = val['Riviews'].str.replace([^--가-히---he-he-he-he-)val['Riviews'].replace('', np.nan, inplace=True)val.head()from konlpy.tag import Oktokt = Okt()I have to extract the disused term f...

2 years ago

1 answers
49 views
0
String RLE Compression

When a string is very long, it is often necessary to compress it and shorten it. In this problem, given a string, we write a program that compresses a sequence of substrings with the same alphabet and...

2 years ago

1 answers
19 views
0
This is a Python runtime question.

When running Python py test.py abcHow do I store the value of abc in an internal variable in this way?

2 years ago

1 answers
19 views
0
It doesn't apply in descending order.

The second count comes out well, but the descending order doesn't work. Sort() doesn't work'dict' object has no attribute 'sort' If you apply sort, it appears like this.

2 years ago

1 answers
15 views
0
About Python Workpiece Storage Capacity

Data worked with Python is saved as a text file through the json.dump module.I can't get rid of the feeling that the bigger the data is, the more honest the storage is. Is there a more efficient way t...

2 years ago

1 answers
51 views
0
How do I set the plot chart x-axis name?

I'd like to put this name on the x-axis of 2018 2019 2020 2021 2022 and show it as a plot.How do I type the code to keep the 20180, 5 and 2019 values from coming up?

2 years ago

1 answers
66 views
0
« - 442 - »

© 2024 OneMinuteCode. All rights reserved.