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


2 answers
20 views
0
Running multiple .py within Python

C:\Users\Lion\PycharmProjects\1\makepngInside the folder named makepng1.pymakepng2.pymakepng3.pymakepng4.pymakepng5.pymakepng6.pymakepng7.pymakepng8.pyIt contains Python files.When executed, image fil...

2 years ago

1 answers
29 views
0
It's a very rudimentary question...crying

I'm a beginner who just started Python.I don't think I understand.age = input (Please enter your age)print (Your age is %s.)if age <= 19: print (You're Minors)else : print (You're an adult)If you'r...

2 years ago

1 answers
116 views
0
Questions about creating Python dynamic variables.

from PIL import Imagefrom os import listdirfrom os.path import isfile, joinfilepath = './FACE/'files = [f for f in listdir(filepath) if isfile(join(filepath, f))]for i in range(0, files.len()):im[i] =...

2 years ago

1 answers
44 views
0
I'm crawling with selenium and want to print properties...

p_elem = driver.find_element_by_xpath(/html[1]/body[1]/div[1]/div[2]/div[1]/div[1]/div[3]/div/img)data = p_elem.textprint (data)driver.quit()I want to print urls, which is the img value of the webtoon...

2 years ago

1 answers
60 views
0
Find what you want in brackets in Python text format

Hi, how are you?In the text file contents, the data is recorded in the following format:For example, if you want to find only the flawdata * {*} in the data below and import it in the form of a list, ...

2 years ago

1 answers
23 views
0
The name of the Python thread is not output.

# -*- coding: utf-8 -*-from urllib.request import urlopenfrom bs4 import BeautifulSoupimport threadingimport rehtml = urlopen(https://en.wikipedia.org/wiki/PyPy)bsObj = BeautifulSoup(html, html.parser...

2 years ago

1 answers
26 views
0
Python List Internal Computation Question

I tried to run a code that returns a list of numbers with a value as the median value, b intervals, and in the middle, I found that there were different values than I expected, such as 27.700000000000...

2 years ago

1 answers
130 views
0
I have a question for Python web crawling.

Hi, everyone.I'm a beginner at Python.I would like to print out the equipment name and usage time on the equipment monitoring site using web crawling.This code has been configured so far, and if you p...

2 years ago

1 answers
120 views
0
When scraping the web with the requests module, is it meaningful to manipulate the header?

I want to send and receive data through Python's requests module.If you use the request module, it is revealed that it is a scripted connection to a user-agent or a header like this, but if you arbitr...


1 answers
62 views
0
Python - how to put a combination of one that always goes in a map and one that transforms

from multiprocessing import pooldist_result = []with Pool() as p: dist_result.append(p.map(dist_cal, !!!!(total_point, range(100) !!!!))The part where the exclamation mark is stacked is the part that ...

2 years ago
« - 246 - »

© 2024 OneMinuteCode. All rights reserved.