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
54 views
0
I have a question about the bubble alignment of Python!

def sorting_list(list_a,sorting): for i in range(len(list_a)+1): for j in range(len(list_a)-i-1): if sorting==0: if list_a[j+1]>list_a[j]: tmp = list_a[j+1] list_a[j+1] = list_a[j] lis...

2 years ago

1 answers
76 views
0
Store only values in a specific location in the dictionary

class Data(object): def __init__(self): self.name = list(rank.values())[0]dataset = Data()I want to extract only the first name from the dictionary named Rank in the picture and save it in the list, ...

2 years ago

1 answers
31 views
0
I would like to ask you how to print out words before and after a specific word.

For example, given the sentence Bob is American. I love him.When I enter American 2, I want to extract Bob, is/I love with 2 words each.So far, I've only typed certain words like the code below, so I ...

2 years ago

1 answers
23 views
0
Here's a question about how to print out words before and after overlapping words.

For example, if there's a repeating word like Bob is American. I know a lot of American people. I love them. I know how to print out the first American word that appears when you type in American 2, b...

2 years ago

1 answers
88 views
0
When you delete the xlsx file column using openpyxl, can't you pull the whole thing like deleting it in Excel?

Using openpyxl,ws.delete_column(1)Deleted 1st row as .There was a slight problem with the saved xlsx file. B1 and C1 were combined beforeAfter performing ws.delete_column(1), These merged cells are no...

2 years ago

1 answers
41 views
0
Python beginner. List insert related questions. IndexError: list assignment index out of range

a=[1,2,3,4,5]Print a list b tripling each element of the list called #a#Sol(Use for sentence)'''b=[]i=0for v in a: b.insert(i,3*v) i=i+1print(b)'''b=[]i=0for v in a: b[i]=3*v i=i+1print(b)At first...

2 years ago

1 answers
52 views
0
Execute code written in a virtual environment

Due to compatibility with some modules, some code was created after creating a virtual environment (32-bit).By the way, if you run this code as a .py file, an error occurs and abnormal termination occ...

2 years ago

1 answers
87 views
0
Python class variable utilization question.

You are creating a program in Python Tkinter.I would like to inherit the value entered in Tkinter entry from another class and use it.Help me.import tkinterfrom tkinter import *from tkinter import fil...

2 years ago

1 answers
17 views
0
Python "2021-06-14T15:00:00.000Z" form question

The date format I receive in response is 2021-06-15. I have to put the date I received back in the request, but the format is 2021-06-14T15:00.000Z You have to change it like this and put it in(Becaus...

2 years ago

1 answers
72 views
0
I want to ask questions about Panda's Excel!

There are worksheets called A and B There is no separate seat setting for both.A has written all the data that could come out of B in the first columnThe second column contains the values that you wan...

« - 422 - »

© 2024 OneMinuteCode. All rights reserved.