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
65 views
0
picamera module not available

I installed Python 2.7.10 on my initial raspberry pie.$./configure&make&sudo make install$ sudo apt-get install python-picameraSo far, I've felt that everything is going well, but I can't find...

2 years ago

1 answers
25 views
0
Determining Elements in Python's Two-Dimensional Matrix

The li below is a two-dimensional array, representing a matrix of six rows and three columns, and I would like to determine that the second column in the second to fifth rows is all zero. li = [[1,1,1...

2 years ago

3 answers
28 views
0
I want to convert a three-dimensional array into a two-dimensional array with python.

I want python to convert 3D arrays into 2D arrays. li = [[[1,2], [2,5,8]], [[1,5,9], [9,10,11], [11,13]], [[2,6,12], [12,17,15], [15,3,2]]]] li = [[1,2,5,8], [1,5,9,10,11,13], [2,6,12,17,15,3,2]] I wo...

2 years ago

2 answers
25 views
0
extract any value from the nesting of a list

l=[(5, 6), 7, 8, 9]What should I do if I want to take a value of 6 from the list? printl [0:1]Then it would be [(5,6)], and l.index(6) means ValueError:6 is not in listWhat should I do if I slice it f...

2 years ago

2 answers
26 views
0
Python pickle file mode (binary mode necessity)

Is it necessary to save files in binary mode when saving files with python pickle? For example, import pickleimport numpy as npx = np.random.random(100,100,100)# binary modepickle.dump(x, open('hoge.p...

2 years ago

2 answers
25 views
0
I want Python to sort one-dimensional arrays in ascending order and associate that information with other arrays.

When I rearrange li1 in ascending order, I would like li2[i] to be rearranged as if it were tied to the first li1[i] and made into a two-dimensional array. li1 = [1, 1, 2, 3, 4, 1, 2, 3, 4, 1, 1, 2, 3...

2 years ago

1 answers
25 views
0
About anaconda

I put anaconda in my macbook, but does it contain python duplicates?Also, can I use python even if I turn off python on my mac?Also, I don't know why, but why can't I use the conda command?

2 years ago

1 answers
74 views
0
I want Google Cloud Storage to archive regularly from Standard's bucket to Nearline

It is possible to delete files that have expired for a certain period of time using Object Lifecycle Management, but do I have to cp or mv myself to transfer what I kept in Standard's bucket to Nearli...

2 years ago

1 answers
27 views
0
Understanding PDF Creation in Python

I am using PyQt to create a PDF from an HTML file.There is an error and it doesn't work I can create a PDF, but I'm having trouble with just a white PDF inside.The error code is __agent_connection_blo...

2 years ago

1 answers
61 views
0
Is it possible to have Python scripts co-exist within the rails web system?

We are currently developing a web service at Ruby on Rails.*Internal tools for BtoBHowever, due to the following factors, we would like to implement some functions in python.·Python is easier than rub...

2 years ago
« - 77 - »

© 2024 OneMinuteCode. All rights reserved.