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
17 views
0
Find the average score after calculating the test scores of each of the four students in three subjects and keying them into a two-dimensional array.

I programmed with Python, but it doesn't look like a problem sentence.Please tell me what's wrong with this.Also, what is the correct program (similar to this image)?from numpy import*pmax = 5mmax = 4...

2 years ago

2 answers
32 views
0
For each ID, I would like to count the number of people whose last n month amount exceeds をn0,000.

Here's what I want to do:For each ID, we have sales data for the last year, and we would like to count how many people have the most recent n-month amount exceeding \n0,000.For example, I would like t...

2 years ago

2 answers
72 views
0
I am in trouble because I cannot display the image with image.load("") on python pygame.

I am currently studying python programming to enjoy learning while making games.I am troubled that I cannot do image.load() in this document.I would like to enter the following code (pythonlogo.jpg), ...

2 years ago

1 answers
65 views
0
I want to divide the image equally with OpenCV.

When dividing an image in opencv, to save one image in four parts#-*-coding:utf-8-*-import cv2defmain(): ''' # Cut out the rectangular portion through two points (x1, y1), (x2, y2) clp=img [x1:x2, y1:...

2 years ago

1 answers
122 views
0
bf4 in python gets an error while scraping

I made a crawler with Python, but sometimes I get errors when I crawl and get the title of the web page.However, I don't know which page in the crawl gets the error, so I don't know the cause.There ar...


1 answers
16 views
0
Understanding How to Randomly Change Array Values in Numpy

Could someone tell me how to change the array values randomly with Numpy?For example, if there is a 5x5 array, I would like to write a program that makes 10 random values out of 25 elements zero.Could...

2 years ago

3 answers
21 views
0
How do I do URL Dispatch on Python?

I'd like to do something API-like, but how can I implement URL Dispatch in Python without using large-scale frameworks such as Django?

2 years ago

1 answers
18 views
0
About installing python 3 on the Sakura rental server.

I cannot install the Sakura rental server python3, so I would like to know how to solve this problem.http://ura22.sakura.ne.jp/pycgi/preparation.htmlAs per the above site, we executed exactly the same...

2 years ago

1 answers
94 views
0
I want to arrange the graphs vertically in plotly.

I would like to arrange several graphs in a row in plotly, but I can't move them because of an error.The program summary reads all CSVs in the folder and divides each CSV into two.The fig.add_trace ap...

2 years ago

1 answers
85 views
0
File path error handed over to stored in python

I'm a beginner at python.Thank you for your cooperation.I want to store sqlserver from pythonThe stored argument is the file pathError specifying file path for argumentI somehow understand that the re...

2 years ago
« - 184 - »

© 2024 OneMinuteCode. All rights reserved.