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
57 views
0
Please tell me how to break down the expression by using sympy with positive and negative.

1+2*x-3*cos(x)1st Second +2*xThird - 3*cos(x)Could not find standard function.Is it a regular expression method?Thank you for your cooperation.

2 years ago

2 answers
110 views
0
basemap installation is not successful

In order to create a code that displays GPS data on a map with matplotlib, I installed basemap, but even if I tried various methods, Traceback (most recent call last):File <stdin>, line 1, in &l...

2 years ago

1 answers
82 views
0
Video Recognition Questions Using Darknet yolov2

I'm a beginner trying to recognize videos.The environment uses Ubuntu 16.04 LTS.I installed CUDA, OpenCV, and Darknet, respectively, and ran the code with mp4 files, but I got an error.Is there any so...

2 years ago

1 answers
75 views
0
I want to print it to a text file using a model in python.

I'd like to do a text file for the object in python.For example, prepare the following text in advance, and I'd like to substitute letters and matrices for the parts I want to change (variables 1-4) a...

2 years ago

1 answers
131 views
0
Python 3 detects specific URLs in variables in javascript

I use python3.I scraped a web page, and the variable in javascript has a URL of m3u8.I would like to extract that variable.I found an article saying that I should use Selenium or BeautifulSoup, but I ...


2 answers
44 views
0
Calculate the second sum from the first element of the two-dimensional array in python

2D array li available li = [[1,2], [2,3], [3,4], [4,5], [1,3], [1,4]]I'd like to calculate the sum of the second elements where the first element is 1.In the above list, of [1,2][1,3][1,4] the fi...

2 years ago

1 answers
37 views
0
Could you call Python's program during the interaction?

For example, if you have the following files, #add.pya = 1b = 2c=a+bCould you call this during Python's interaction to see the value of c?I don't have to debug with print statements, so programming is...

2 years ago

4 answers
46 views
0
Why do nonlocal declarations take precedence over global declarations within a function?

def scope_test(): def do_local(): spam=local spam def do_nonlocal(): nonlocal spam spam=non-local spam def do_global(): global spam spam=global spam spam=test spam do_local() print(After local as...

2 years ago

1 answers
37 views
0
I want to convert variables created by range into matrices.

for i in range (5)Output from the 01234I would like to convert the result into a single-line matrix as follows. [0,1,2,3,4]Thank you for your cooperation.

2 years ago

1 answers
78 views
0
Understanding Tensorflow Repeatedly

Currently, we are trying to implement sampling using tensorflow.I'd like to save the results by sampling several times, but I'm having trouble with the following feeling.Here's a quick example.x=tf.Va...

2 years ago
« - 69 - »

© 2024 OneMinuteCode. All rights reserved.