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
17 views
0
[Python Python basics] What's the problem?

n=int(input(user input :))numlist= [2];listnum=1;def numberOfPrime (n): for i in range(3,n): if (n % i == 0): numlist.append(n) listnum+=1; return numlist return listnum else: return print (...

2 years ago

2 answers
17 views
0
Python Open

If I want to read the text file a and save the resulting result as a text file b, can I use the open name twice in one code?

2 years ago

1 answers
15 views
0
Python if statement improvement

if a < b: if c < 3: print(hi)It's a matter of improving the code like above in a better way, so where is there room for improvement?musketeers = [Athos, Porthos, Aramis, D'Artagnan] i = 0while ...

2 years ago

1 answers
111 views
0
Convenience store - Dynamic page Python crawling? Multiple pages - How to load multiple classes of information!!! I've been trying to teach myself for two weeks, but I can'tㅜㅜ

I'm crawling the list of convenience store stores.Among them, I'd like to crawl the list of search results that apply conditions such as Seoul Metropolitan Government and Lotto sales!I crawled without...

2 years ago

1 answers
94 views
0
Python Closer Grammar Questions.

I'm confused whether the closure means an external function or an internal function.And grammatically, it is explained that the internal function remembers the variables of the external function even ...

2 years ago

1 answers
46 views
0
Python String Cut Question!

For example, if ABCD is included in the variable a, A, B, C, D, and space are separately I want to cut all the letters into pieces, how do I code them?

2 years ago

1 answers
58 views
0
The difference in roles between shuffle and permutation in Python's No.Fi

The role of shuffle and permutation in Python nupi is to mix arrays randomlyBut I wonder what the difference is between the two.

2 years ago

1 answers
81 views
0
Python 3 Code Questions...

// Enter your code hereimport datetime # API for 4 weeks Top20 statistics Date Processing for real timenow = datetime.datetime.now() # Current dateweeks4 = now + datetime.timedelta(weeks=-4) #current ...

2 years ago

1 answers
17 views
0
Python) Question about sorting the list.

numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9]output = [[], [], []] for number in numbers: output[(number+2)%3].append(number) print(output)When you run the source code of , the remaining values 0, 1, and 2 ar...

2 years ago

1 answers
124 views
0
I would like to inquire about Google Scraping.(Beginner warning)

Hello, I would like to search for Daepoo in 'Google' as below and extract the movie title by putting it in a variable.Q1. Why does the result value come out as None? Q2. The second selenium module bel...

« - 232 - »

© 2024 OneMinuteCode. All rights reserved.