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
80 views
0
EOFError in input function

I am troubled because I do not understand the meaning of Python error message.I'm sorry to ask you a beginner's question, but please help me.input function of the program chap2.py 「Please enter: 」 and...


1 answers
116 views
0
difference in random values

I had a similar problem with some programming study sites, so I'd like to ask you an example. I copied and ran the following sample code while studying in Python in the Python machine learning program...


1 answers
26 views
0
I want to update specific elements of dict with function application in python

Now we have dict d and the function f that we want to apply as an update to that particular element.Now I would like to do the following for the dict key k.d[k]=f(d[k])This is not a problem if the var...

2 years ago

1 answers
80 views
0
Understanding the Implementation of an Algorithm to Apply the Absorption of Logical Operations in Python

We have rewritten the following algorithms in Python that apply the absorption of logical operations implemented in Java: 1 Vector matrix = [a], [a, b], [a, c];2 for (inti=0;i<matrix.size();i++){3 ...

2 years ago

1 answers
137 views
0
The pip cannot be updated.

An error occurs when attempting to update the python pip.Therefore, the pip cannot be updated.I uninstalled Anaconda because I thought the file might have been corrupted because I was running conda an...

2 years ago

1 answers
143 views
0
I want to edit the .py file on Google Collaboration.

As the title suggests, I would like to edit the .py file on Google Collaboration.Specifically, I would like to edit the .py file that I installed with pip.Could you edit it?Or would it be possible to ...


2 answers
105 views
0
divide a plurality of columns of data frames into one column

The following data frames a1, a2, a3, b11,1,2,43,4,2,13,6,2,9...I'll think about .I am thinking of calculating c1=a1/b1, c2=a2/b1, and c3=a3/b1 to the right of the data frame.In this case, there are t...

2 years ago

1 answers
122 views
0
I want Python scraping on the cloud (preferably in parallel)

Python is trying to scrape airbnb sites.I want to keep my PC running regularly even if I close it, so I would like to do the scraping process in parallel on the cloud, if possible.(The scraping itself...

2 years ago

2 answers
46 views
0
I want to get multiple numbers in one line with input.

I'd like to get multiple numbers from input in python3, but the following two things don't work well. Why?Example 1s=input().split()#s_1s_2 divided and put a value in sprint(s)# Output: ['s_1', 's_2' ...

2 years ago

3 answers
94 views
0
I was using Discord.py, but when I tried to have the bot display embed using the code below, it didn't show up.Where should I correct it?

I was using Discord.py, but when I tried to have the bot display embed using the code below, it didn't show up.Where should I correct it?import discordclient=discord.Client()@client.eventasync def on_...

2 years ago
« - 59 - »

© 2024 OneMinuteCode. All rights reserved.