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
81 views
0
Python Interlator Questions

class MultipleIterator: def __init__(self, stop, divisor): self.current = 0 self.stop = stop self.divisor = divisor def __iter__(self): return self def __next__(self): self.current += 1 if self....

2 years ago

2 answers
39 views
0
Count by date and time

There is a document that shows the time by date.I want to convert it to hourly data by date!Help me.I want to write an if sentence, but I have no idea.

2 years ago

1 answers
32 views
0
I want to put a variable in the code to see the result value, but I don't know where and how to put it.

n = int(sys.stdin.readline()) point = [] for _ in range(n): a, b = map(int, sys.stdin.readline().split()) point.append([a, b]) xold, yold = point.pop(0) Point.append([xold, yold]) # After selecting ...

2 years ago

1 answers
17 views
0
To add a missing value for a classification value

Here's the basic data content!I classified the data above by date and timedf4 = pd.pivot_table (df, index=[month-to-month, day-to-month, parking time zone, values=[count], aggfunc=np.sum)Results It ca...

2 years ago

1 answers
114 views
0
Error Questions About Creating Python Files

When you create a file through Python openpyxl, running it in a vcode environment works well, but running it through an exe file through pyinstaller results in an error.I've been looking for it, but I...


1 answers
20 views
0
Questions about Python from typing import list

For #1, from typing import Listdef average(L : list[float]) -> float: print(HELLO)Normal operation.For #2 from typing import Listdef average(L : Gist[float]) -> float: print(HELLO)If Traceback (...

2 years ago

1 answers
93 views
0
To import Python selenium child element text

There is a class with the class name list-item.tier-01.champ-item (green)Kids with 1 tier are list-item.tier-01...IChildren with two tiers are listed-item.tier-02...It looks like this.I want to bring ...


1 answers
19 views
0
Question about target value and one-hot encoding in classification analysis.

Hello.Rating data with target values of 1, 2, 3, 4, and 5. The purpose was to classify the target value according to the x value using the classification model, but the target value was 1,0,0,0,00,1,0...

2 years ago

1 answers
22 views
0
[Python] Getting a squeeze on the last day of the month

base_date id2022-07 A2022-07 B2022-08 A2022-08 BFrom this data frame type of data, I want to get base_date with the last date of the month.Sample Results base_date bade_date_day id2022-07 2022-0...

2 years ago

1 answers
18 views
0
Python interim evaluation calculator (number)

I'm taking a Python class, and I don't know anything, but they want me to submit it for an interim evaluation.Can someone help me?[Conditions]

2 years ago
« - 463 - »

© 2024 OneMinuteCode. All rights reserved.