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
85 views
0
I want tkinter to display the graph I created with matplotlib, and I want to be able to change the range of the x-axis and y-axis with buttons.

I was able to draw the graph using the code below, but I couldn't find a way to change the range of the x and y axes after that, so please let me know.import numpy as npimport matplotlib.pyplot aspltf...

2 years ago

1 answers
25 views
0
Supervisord does not display the fourth task

Nice to meet you.I used supervision.I wrote the program in the file /etc/supervisord.conf.I have registered about 4 programs.However, the fourth alphabetical order will never appear on the web console...

2 years ago

1 answers
18 views
0
In Python, I want to distinguish between what I use (pass) and what I don't use.

def myTasu(myA,myB): return myA+myBdef myHiku(myA, myB): return myA-myBprint(#, myTasu(1,2))# 3関数 Count functions.2 ②MyTasu passes, myHiku does not.Please tell me what application you recommend.All I ...

2 years ago

1 answers
129 views
0
"Invalid Python Interpreter Selected for Project" in PyCharm

I am learning Python using PyCharm.I've been confused that Python didn't start up for a long time, but I got an error.Error: The project shows an invalid python interpreter selected.How can I solve th...

2 years ago

1 answers
19 views
0
Writing from the Top Directory in a Python Import Statement

I would like to ask you about how to write import statements including the top tier in the project rules and regulations.The following is an example:/root_package*I want to import from here. | | start...

2 years ago

1 answers
118 views
0
Crontab cannot write to csv.

I'm a beginner.While looking at the page below, I try to write the temperature to csv once a minute, but the following error occurred in the cron log and I cannot write it.Note: Visualize changes in r...

2 years ago

1 answers
94 views
0
NameError: name 'face_api_url' is not defined

NameError: name 'face_api_url' is not defined issue appeared If you erase the face_api_url itself, the next one is NameError: name 'binary_img' is not defined.I'm trying this and that, but I'm running...

2 years ago

1 answers
38 views
0
I want to output the microphone input to the speaker.

Questions about Python 3.x.If the microphone does not have more than a certain amount of input for a certain period of time, the input is interrupted.I'm thinking of a program that outputs the audio i...

2 years ago

2 answers
20 views
0
I want to list the 0th value of each element in a two-dimensional array

This is Python. data=[ ['8', '6', '7'], ['5', '0', '8'], ['2', '12', '4'], ['0', '7', '9']]In response to this data, ['8', '8', '12', '9']I would like to print this out, but I can't get the last eleme...

2 years ago

2 answers
70 views
0
I want to use Python logging/rotating settings on multiple modules.

Windows 10Python 3.6 directory example | -- main.py|-- modules/| |--_init__.py| ` -- funcs.py`-- log/ `-- root.logIf you want to log from multiple modules (from main.py and from funcs.py), https://doc...

2 years ago
« - 156 - »

© 2024 OneMinuteCode. All rights reserved.