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
17 views
0
datetime conversion

charttime 0 2180-03-16 01:30:00 96.0 1 2180-03-16 01:45:00 93.0 2 2180-03-16 02:00:00 90.0 3 2180-03-16 03:00:00 89.0 4 2180-03-16 04:00:00 86.0 ... ... ... ... ... ... ... ...99 2180-03-19 14:00:00 7...

2 years ago

1 answers
66 views
0
To draw multiple normal distributions at once with Python matplotlib

We drew a graph by creating the following functional expression with Python.import numpy as npimport matplotlib.pyplot as pltx = np.arange(0, 10.1, 0.2)a = np.zeros(100*51)def f(x): y = np.exp(-0.5*x)...

2 years ago

3 answers
97 views
0
Is there a way to count or sum key values such as list-dict type in python (jython 2.7)?

Last time, I asked you how to count the same values in a list-dict type of dataConversely, how do you count multiple values of the same key?For your information, ** does not eat in Jaison 2.7.origin =...

2 years ago

1 answers
46 views
0
Python Ranking Features

with open(main.json) as f: lvs = json.load(f)v1_sorted_by_lvl = sorted(lvs.items(), key=lambda e: e[1][money], reverse=True)write = []for i, (k, v) in enumerate(v1_sorted_by_lvl, start=1): write.appen...

2 years ago

2 answers
13 views
0
This is a question related to Python list cusum.

Hello, I'm a beginner who's having a hard time just after entering Python.What I'm curious about is the application of the cusum function to the list.list1 = [2, 2, 3, 3, 3, 1, 4, 4, 4, 4, 2, 2]If the...

2 years ago

1 answers
91 views
0
cx_Oracle import error after changing window account name.

The blue square is the name of the account before the changeThe orange square is the account name after the change.The name of the Windows account is in KoreanIt's a problem that occurred after you ch...

2 years ago

1 answers
116 views
0
Python integer conversion program error question

sel=int(Determine input number (16/10/8/2) :)if sel != 16 or 10 or 8 or 2: print (Error)if sel == 16 or 10 or 8 or 2: num=input (Enter Value:)if sel == 16 : num10 = int(num,16)if sel == 10 : num10...

2 years ago

1 answers
14 views
0
Questions about python cumulative distribution function.

Hello, I'm a beginner who's having a hard time just after entering Python.I posted a question a while ago, but I'm asking you again because I don't think you wrote the exact intention of the question....

2 years ago

1 answers
49 views
0
This is a list problem question. if list[j]==list[j+1]: IndexError: list index out of range

A 'run' is a sequence in which the same value is repeated. Write a program that calculates the longest run from the following list. For example, the length of the longest run in the list with the foll...

2 years ago

1 answers
15 views
0
Extract specific data from [Python] json format data

I have a question because it is difficult to extract the desired value when I receive the json format data. : : )Example: [ { date: 2020-12-26, year: 2020, quarter: 1, class: { name: [ { cod...

2 years ago
« - 406 - »

© 2024 OneMinuteCode. All rights reserved.