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
16 views
0
Question in Python matrix calculation. The value changes to the same for the items that are not selected.

def sumMatrix(A,B): answer = [[0]*len(A[0])]*len(A) for i in range(len(A)): for j in range(len(A[0])): a=A[i][j]+B[i][j] answer[i][j]=a print(answer) print(i,j,a,answer[i][j],A[i][j],B[i][j]) ret...

2 years ago

1 answers
117 views
0
Do I have to write import on the top line of the code?

Usually, when importing modules, they seem to put them in the top row like Source Code 2 rather than Source Code 1. I don't think you need to import it to the top row if it's a module that's only used...


1 answers
113 views
0
Import path problem from python.

Environment: windows 10, pycharm community 5.0.5, python 2.7.11 Pycharm makes a new project with selenium testing sauce that it used to makeThere was an import problem while trying to recreate it.From...

2 years ago

1 answers
12 views
0
I have a question about matching Python numbers!!!

I have the last question of the Python assignment, so I'm looking for a place to ask questions and asking questions here.I wrote a program that outputs calculated results using repetitive statements a...

2 years ago

2 answers
121 views
0
Problems initializing variables defined by existing functions when module is being imported

NameError: name 'a' is not definedp1.py file and made for UI using tkinterp1.py has a file p2.py to run via command.The ultimate goal is to read the file path of a file from the p2.py file.First, in p...


1 answers
64 views
0
I'm a beginner at Python. Help me! (Convert string > list > dictionary > string order)

To find out how many times certain words appear in a string (text file) and to create a program that organizes items in descending order according to the frequency, we wrote the following code: For ex...


1 answers
96 views
0
About /usr/local/ directory - Python related package installation issues

Hello. I'm asking for your help because it was blocked from the first installation stage during the assignment.This is the installation address of the Python robot-related package that I have to insta...

2 years ago

1 answers
51 views
0
How do I check if a new post comes up when I crawl the bulletin board?

How can I check if there are new posts when crawling on the bulletin board?

2 years ago

1 answers
80 views
0
Python superposition for statement

If you write the code like above, the first variable tag is repeated, and then the second variable tags are addedCan't you repeat both at the same time?I want to repeat both in this form!I don't know ...

2 years ago

1 answers
113 views
0
Graph Error in Jupiter R...

Currently, I have installed the whole jupyter, R, and python.And I also installed R Kernel.I'm trying to code R on Jupy Other parts are available except for the graph. However, I tried to draw a graph...

2 years ago
« - 303 - »

© 2024 OneMinuteCode. All rights reserved.