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
14 views
0
Python pyinstaller

Using the pyinstaller.I want to make a py file as an executable, but I want to make an executable file by putting the file I made in the import module. What should I do?For example, # ---- myprogram.p...

2 years ago

1 answers
82 views
0
Python factor delivery question

defis_product_availability_matrix(matrix_a, matrix_b): row_a = [row for row in matrix_a] column_b = [column for column in zip(*matrix_b)] if(len(row_a) == len(column_b)): result = True else: result ...

2 years ago

2 answers
16 views
0
None is displayed on the method call of the Python parent class.

class Animal: def __init__(self, name): self.name = name def get_name(self): print(name:, self.name) def speak(self): passclass Dog(Animal): def speak(self): print(bark)dog = Dog(doggy)print(dog.g...

2 years ago

1 answers
138 views
0
[Python] I want to change the while statement to def.

I want to use the while statement below as a def function, what should I do? i = 0while True: i += 1 if i > 5: break print('*'*i)And I want to center the result value here. print({0:^30}('*'*i))...

2 years ago

1 answers
66 views
0

1 answers
42 views
0
Python stops without any error messages.

If you write the code and run it, it just stops without any error messages.But if you do it 10 times, it's done well about 5 times.If the last 0 remaining output is displayed, it is successful.import ...

2 years ago

2 answers
14 views
0
Find a specific character in Python and extract the sentence it belongs to

What words should I find in a text file and how should I extract the sentences that contain the words?For example, find the word skyThe sky is blue.An airplane is flying in the sky.The sky is full of ...

2 years ago

2 answers
14 views
0
Python repeat question

#==============================================================self.label_5.setStyleSheet(QLabel { background-color : white; color : blue; })self.label_6.setStyleSheet(QLabel { background-color : whit...

2 years ago

2 answers
83 views
0
vim annotates as much as a certain range

I want to know how to annotate as much as a specific range in vim. It's so hard to keep adding # one by one.This isdef my_fun(x, y): return x + yLike this #def my_fun(x, y):# # return x + yYou can use...

2 years ago

1 answers
13 views
0
Separate text files containing sentences by period with Python

If the following sentences are entered in the file ss.txt, First sentence. [Voiceover] The second sentence. [Voiceover] The third sentence.There are sentences and sentences attached now, but I'd like ...

2 years ago
« - 292 - »

© 2024 OneMinuteCode. All rights reserved.