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
18 views
0
I want to generalize the code

This is the result of reading the DB I have in Pandas.bound = pd.read_csv('bound.csv')boundI want to make data of (10, 10) into one color, which is (100, 1).new_bound = pd.concat([bound.Col1, bound.Co...

2 years ago

1 answers
91 views
0
To insert data into a Python list structure

There are two CSV data, one for coordinate X and Y axis, and the other for which group belongs.The form of the data is as follows.#coordinate CSVx,y126.9604, 37.55781126.9729, 27.56278126.9734, 37.562...

2 years ago

2 answers
113 views
0
I want to get a list that exists in the Python function.

import sysimport osdef get_fruit_list(fruit_list): fruit_path = os.getcwd() + '\\fruit_list.txt' try: fruits = open(fruit_path, 'r') fruit_love = fruits.readlines() for fi in fruit_love: fruit_li...

2 years ago

1 answers
18 views
0
Can you stop through conditional statements while executing certain functions in Python?

Let me give you an example.sum=0cml=0def abc(): def is nada (): global sum sum+=1 if sum==10: print(Hi!) sum=0 def 123(): global cml cml+=1 if cml==100 sum=0 . . . 123() If specific condit...

2 years ago

2 answers
18 views
0
Python, here's a question! I'm a beginner at coding

I'm going to make a small Python comprehensive game.For example, if you make game 1, game 2, game 3, game 1 pops up when you press 1, and game 2 pops up when you press 2How do you write it like this?G...

2 years ago

2 answers
61 views
0
I'd like to compare and integrate dictionary values in Python.

While performing the Emotional Analysis task, you created a list-dictionary containing individual key values and value values as follows:tempDict = [{'Entity': 'No', 'Feature': 'GEN', 'Nagative': 1, '...

2 years ago

1 answers
28 views
0
Python Matrix Multiplication Function Algorithm Question!

I'm asking you a question because I don't understand the multiplication algorithm of matrix in Programmer's Algorithm Exercise level 2.First of all, the code I made def productMatrix(A, B): answer = ...

2 years ago

2 answers
30 views
0
Ruby, let me ask you a conditional question.

Let me get to the point briefly.When writing if statements in PythonFor example, The conditional statement if x in s is if x in sI don't know how to express this in ruby.I don't think Ruby supports ex...

2 years ago

2 answers
138 views
0
Python coding, operation error (novice)

ex. [1,2,2,4,5]-> [2,2] // [1,4,4,4,6,8,8]->[4,4,4,8,8] // [1,2,3,4,5] ->[](Questionnaire: You are given a non-empty list of interiors (X). For this task, you should return a list consisting ...

2 years ago

3 answers
18 views
0
I wonder how to run multiple functions of python3 at the same time.

Each function is called into the requests module using the open API.The execution speed seems to be too slow because the command lines are executed sequentially.For example, let's say there are three ...

2 years ago
« - 223 - »

© 2024 OneMinuteCode. All rights reserved.