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
128 views
0
How do I specify Resize in Pillow?

Nice to meet you, Python. I'm an amateur on my first day.When I read the image, I wrote as follows, and I want to resize it without changing the aspect ratio, but I tried various ways of doing the sit...

2 years ago

1 answers
104 views
0
Couldn't connect to display":10.0" Error on tkinter

When I connected vnc from win10 to ubuntu18.04 LTS, I received the following error:root@kawasakih2sx-desktop:/home/takumii/ss #python test2.pyNo protocol specifiedNo protocol specifiedTraceback (most ...

2 years ago

1 answers
87 views
0
open error in raise OSError('Not agzipped file(%r)'%magic)gzip

sample code in the book Deep Learning from scratch$python mnist.pyWhen I ran it, I got the following error in the gzip part.The execution environment is Anaoconda3(python3.5), windows7.Traceback (most...

2 years ago

1 answers
33 views
0
I want to find the shortest distance point from a certain range of lines on the map.

I would like to find the coordinates of the nearest point to the linear object T around O (latitude, longitude) on the latitude and longitude coordinate system.Currently, only the latitude and longitu...

2 years ago

2 answers
36 views
0
Understanding Bandas Series Line-Direction Coupling

I would like to use the code below to combine date,p into the header, but it doesn't work.How can I do it?Also, the tick contains the date information, and we make the year and year information with s...

2 years ago

1 answers
71 views
0
If you save the graph you created with matplotlib, it will turn white.

I'd like to save a histogram created using matplotlib, but if you run the following program, The image is saved, but when I look inside, it turns white.Does anyone know the cause?import matplotlib.pyp...

2 years ago

1 answers
60 views
0
How to create a (5,5,4) array from an array of shapes (5,5) in a python numpy array

There is an array X in python (5,5) similar to the following (the number is appropriate): array([59,65,57,57,62], [96, 81, 83, 83, 96], [53, 29, 30, 30, 53], [26, 0, 0, 0, 27], [20, 1, 5, 0, 19] ,...

2 years ago

2 answers
102 views
0
CREATION OF VARIABLE USING COUNT VARIABLE

In tkinter, when creating 18 figures, I would like to create variables that accompany objects for management purposes, objects 0 to 17.Therefore, we thought about using the count variable i to assign ...

2 years ago

2 answers
100 views
0
@reboot does not work on cron.

Nice to meet you I am a beginner in Linux, and I have a question because I didn't see any similar cases online.On the raspies sudo crontab-eLaunch the editor from the and 10***/usr/bin/python3/home/pi...


1 answers
64 views
0
I want to fix 'int' object is not callable.

I put np.ndarray type data in a for statement and created a neural net, but it doesn't work. Please let me know. Below is the error statement and the corresponding part.Error Statements 2020-11-11 14:...

2 years ago
« - 190 - »

© 2024 OneMinuteCode. All rights reserved.