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
111 views
0
I want to log in in interactive mode instead of looping at discord.py

import discordclient=discord.Client()client.run (TOKEN)With this, it becomes a loop and cannot be put into interactive mode.How do I log in in interactive mode?

2 years ago

2 answers
31 views
0
look for a matching row in a column containing multiple values

I would like to extract rows that exactly match the criteria from a table with multiple values separated by commas as shown in the attachment.I have tried implementation using str.contains and in, but...

2 years ago

1 answers
38 views
0
The list obtained by finding() in Python ElementTree results in unintended behavior.

ElementTree accumulates all the file information in a particular directory into XML and creates a script to check the difference.XML has the following format:<root> <record author=pcname time...

2 years ago

1 answers
119 views
0
How do I use logger in lambda?

On lambda, we have prepared the following scripts to verify logger operation:import loggingdeflambda_handler(event, context): # print(Received event: + json.dumps(event,indent=2)) logging.basicConfig ...

2 years ago

1 answers
91 views
0
About Drawing Weighted Multi-Directional Graphs with Python

I'd like to draw a weighted multi-direction graph of the edge with the coordinates of the node specified using python.Is there any good way?I tried drawing using networkx and pyplot, but it didn't wor...

2 years ago

1 answers
133 views
0
Understanding the Link Between Loss Functions and Optimization Algorithms in PyTorch

When learning DL, I think it's a flow of using models to make predictions → calculate losses with loss functions → optimize loss functions (reverse propagation & parameter update). When doing PyTorch,...


2 answers
25 views
0
Loading Multiple Tables in a Single csv File

This is the RorPython environment for Win10.Does anyone know a simple way to load a single csv file with more than one table?Do you have any packages of R?that 1,x1,q2,q4,x92, aa, 3, 4, 02, you, 2, 3,...

2 years ago

1 answers
16 views
0
About -> in Python Functions [Duplicate]

(One answer) 6 years agoPython's function had the following description.def hoge(string)->str: return stringI'd like to find out what this -> means in such a function. I'm having a hard time...

2 years ago

1 answers
17 views
0
About extracting phone numbers and email addresses using regular expressions

I have a question about the code below.Let Python do the boring things is the code that extracts the phone number and email address from the copied text and puts them into a list.for groups in phone_r...

2 years ago

2 answers
16 views
0
Folder is not always recognized

There is an images folder and test.py directly under the data directory.In the images folder, there are two folders: data1 and data2, and data1 and data2 contain images such as 1.png and 2.png.I would...

2 years ago
« - 176 - »

© 2024 OneMinuteCode. All rights reserved.