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


2 answers
45 views
0
When only Python a.pop() is executed, the result value is printed, but in the repetitive statement code, the output value is only printed.

a = [1, 2, 3, 4]while a: a.pop()Why doesn't the result come out when you run the code above?If you just run a.pop(), the result value is printed, but the code above shows the output value only when yo...

2 years ago

1 answers
14 views
0
I don't know how to put Python Wang Beginner 6000 in five digits.

<Problem>I'm going to place an order. You can order by entering the product name, price, and purchase quantity. Examples of outputs are as follows. (However, the price of the product does not ex...

2 years ago

1 answers
17 views
0
The value of os.getcwd() in python appears in the parent folder.

Absolute path with .py file is c:/pythonworkspace/test/test.py. The return value of os.getcwd() is c:/pythonworkspace. Development environmentvisualstudiocode 1.6.0python 3.9.xIt's windows 10.

2 years ago

1 answers
46 views
0
Import text that follows a particular pattern from a Python text file

I want to get the log file and get the value behind a specific pattern. I want to get the value following detection_val= in the code below, but the error ValueError: 'detection_val=' is not in list ke...

2 years ago

1 answers
18 views
0
If you're good at handling Python np.unique, I'd like to ask you a question.

I have an Excel file, but I'm having a hard time because there are more conditions than I thought to erase duplicate ones.1. The data looks like this, but convert it into a csv file and load the file ...

2 years ago

1 answers
41 views
0
[Celenium] I don't know how to choose the link.

from selenium import webdriverpath= C:/Users\KIM/Downloads/chromedriver.exedriver = webdriver.Chrome(path)driver.get('https://komyojikyozo.web.fc2.com')# Find a frame iframes = driver.find_elements_by...

2 years ago

1 answers
17 views
0
Does anyone know how to fix the string in the number-fi array?

There's data in one column that's 144, filled with a list of those three, six strings.When I wrote this, I wrote a document by turning the for doorWhen you open a file created as follows, the comma (,...

2 years ago

1 answers
42 views
0
To output text from a Python text file

I want to print out the value after Iteration and the value after detection_val in a text file at the same time How can I express it?Currently, only the values that follow the detection_val can be pri...

2 years ago

1 answers
147 views
0
Python replace, I have a question!

b=2A= Oh, I really want to eat 'crunchy' \jeon\.B=A[5:9]C=B.replace(B), 'Brown'C=C.replace(B),'Yellow',b)print(C)When you print out a C, 'Yellow' 'Yellow' Shouldn't it come out as? I'm asking because ...


2 answers
18 views
0
I'm a Python beginner, so how do I print out letters by numbers after receiving letters and numbers together?

I've been thinking about it for 4 hours, but I don't have a proper answerIf you enter A5B100, you output 5 A and 100 B. A function that outputs 80 A and 10 B when A80B10 is entered I want to make it, ...

2 years ago
« - 430 - »

© 2024 OneMinuteCode. All rights reserved.