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
How to add an emoji to a post sent by a discord bot made of python

I'm making a voting bot. By the way, the emoji should be added to the article written by the bot, but the emoji is added to the article I wrote.import discordimport asyncioimport randomclient = discor...

2 years ago

2 answers
15 views
0
Python day-saving question.

!I completed the program to find the date Calculated here as of January 1st of the year and the date from now on. I want to make a program on which day it is. What function and what should we use?

2 years ago

3 answers
15 views
0
Finding Friendly Water

def amicable(num): a = 0 for i in range(3, num): if num % i == 0: a = a + i return afor j in range(1, 500): amicable(j)for k in range(1, 500): amicable(k)if amicable(j) == amicable(k) and j != k: pr...

2 years ago

2 answers
135 views
0
I'd like to convert Unicode into Korean from the response object I brought to the request module.

import requestsurl = 'any_address'data_payload = {'1', '1'}res = requests.post(url, data=data_payload)txt = res.textprint(res.text)With this source code, res is the object 'requests.models.Response' e...

2 years ago

1 answers
110 views
0
Python crawling error. 'NoneType' object is not subscriptable

I created a long-range model and wrote the code on the view screen as shown below.def scrape(request): from bs4 import BeautifulSoup import requests if request.method == POST: keyword = request.POST....


1 answers
77 views
0
Python while moon

( elif num == 2: ^SyntaxError: invalid syntax) It pops up like this and there is a red mark on this part, so how do I solve it?money = 0 while True: num = int (input (select the menu :)) if num == 1:...

2 years ago

1 answers
43 views
0
Questions about Python requests

I want to crawl the necessary information after logging into the school portal using the requests module.It's my first time using a request login ID off duty on the page and post - > a by post - &g...

2 years ago

1 answers
17 views
0
Question with deleted question / function definition problem

I think it didn't fit the purpose of the bulletin board, so I'll lookThank you.

2 years ago

1 answers
136 views
0
I entered the correct code, but an error appears and does not run. NameError: name 'speed' is not defined.

When I ran it on my computer, that error didn't work.But when I moved it to my laptop and ran it, it worked normally.What's wrong with the computer's running environment that doesn't work?

2 years ago

1 answers
16 views
0
Python Calculation for typed characters

str=input(input) count=0for i in str: ???A or B is entered (for example, AAABBABABAB or BBBAAABABABA).I want to calculate it like the count value 12323454321If the same character appears consecutivel...

2 years ago
« - 355 - »

© 2024 OneMinuteCode. All rights reserved.