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
121 views
0
How do I change the variable value of one of the two classes?

class test1: def __init__(self): pass def test1_1(self): self.a = 0 print(self.a)class test2: def __init__(self): pass def test2_2(self): self.aaa = test1() self.aaa.a = 9999999999 print(self.a...

2 years ago

1 answers
16 views
0
How do I make a sentence with dictionary values?

dic = {'H':1, 'e':1, 'l':3, 'o':2, '':1, 'w':1, 'r':1, 'd':1}I'm trying to make it into Hello world. I don't know what to do because I'm trying to make it using dictionary only. Please give me some ad...

2 years ago

2 answers
12 views
0
In python, the list changes to NoneType

VOWELS=aeiouyanswer = ''def translate(phrase): a = list(phrase) answer = [] print(type(a)) try: for i in range(len(a)): if not a[i] in VOWELS: answer.append(a[i]) if a[i] != ' ': a.remove(a[...

2 years ago

1 answers
68 views
0
You are about to sort the list in alphabetical order

You want to sort the list that stores the string in alphabetically.Where are the relevant methods?


1 answers
31 views
0
Is the tag a function possible in the Python Windows program?

Is the tag a function possible in the Python Windows program?I'm trying to make a Python Windows program. Run list.py created by GUIHow to go from list.py to write.py How can we do this?TWindows appli...

2 years ago

1 answers
48 views
0
xlsxwriter readlines() feature

Does python xlsxwriter have a method that has the same function as Python's readlines()?I want to create a function in Excel that tries to erase a row if a particular cell in that row does not have a ...

2 years ago

1 answers
43 views
0
I want to know how to capitalize the first letter of a word in a string

'the brown fox' -> 'The Brown Fox'I want to capitalize the first letter of every word in the string in this way.Please tell me the easiest way

2 years ago

1 answers
13 views
0
Python pop() question

def count(inteval): co = 0 for num in inteval: if inteval.pop() <= time_of_del: co = co + 1 else: pass return cointernal is [6, 5, 1, 1], and time_of_del is 5Why is the answer 3? I made it to ge...

2 years ago

1 answers
101 views
0
How to transfer Python wav files

Trying to send wav file socket to Python (tcp)It's not working.How should I send it?

2 years ago

2 answers
91 views
0
Picking data from two lists with Python for syntax and writing to a text file.

ocost = [10,11,40,4,5]buy_list = ['a32','a11','a45','b30','c43']def update_list(self, list): f = open(list1.txt, at) for opencost in ocost: for code in buy_list: f.writelines(code;+code+cost;+opencos...

2 years ago
« - 316 - »

© 2024 OneMinuteCode. All rights reserved.