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
13 views
0
Find list in Python list

Hello, this is my first question since I joinedHahaFor example, you need to create a Python codeA = [1,3,5,2,3,4,6,6,7,8]B = [4,6,6]If you have these two lists, you have to create a program that check...

2 years ago

1 answers
13 views
0
Python beginner asks a question about regular expressions crying

c = 'Namae Beach (Namae 1, 3-ri) (Namae Beach (Namae 1, 3-ri))'d = re.compile('.+(?=())'))print(d)Using the regular expression as shown in the picture, the first (in front)I just want to pull out Nama...

2 years ago

1 answers
88 views
0
Python, I got a value from the database, so I have a question when I use it.

I put the value I received in the database into the list as append, and when I write the value of each kernel, I filter the list[] twice in the array as shown in 1, remove the tuple(), and use it afte...

2 years ago

1 answers
14 views
0
(Python) Question with starts with a repeat statement

name = input('Enter file name: ')if len(name) < 1 : name = 'mbox-short.txt'handle = open(name)counts = dict()for line in handle : if 'From' in line : print(line) In the question of finding a speci...

2 years ago

1 answers
82 views
0
I'd like to know how to run Python tkinter sequentially.

I want to run the after function sequentially.For example, root.after(10, A)root.after(10, B)If this is the case,After 10 ms, A runsIf A runs, I want B to run after 10 msI don't think it comes out eve...

2 years ago

3 answers
16 views
0
Why should I use the map function?

You learned about the map function.But I don't know where to use it, and I don't know what the benefits are.When you define a function, shouldn't you just take the list with the factor?That is, def sq...

2 years ago

1 answers
142 views
0
Python list element deletion question.

a = [Aa, Bb, Cc]b = [11, 22, 33]c = []a.extend(b)c.append(a)c.append(a)print(1, c)del a[3:]print(2, c)After using the del function in the above code, 11, 22, 33 of the list elements ['Aa', 'Bb', 'Cc',...

2 years ago

2 answers
11 views
0
the smallest number in Python

If the string has a (4658) it is the smallest valueHow can I make a function that returns 4568?

2 years ago

1 answers
133 views
0
What is the role of 'if __name__ == '_main__'?

What is the role of if__name__==__main_:?# Threading exampleimport time, threaddef myfunction(string, sleeptime, lock, *args): while 1: lock.acquire() time.sleep(sleeptime) lock.release() time.sle...


1 answers
56 views
0
Python web crawler question.

Hello, I'm going to make a program where you can get the number of sections for each chapter on the web page below. url = http://www.holybible.or.kr/B_NIV/cgi/bibleftxt.php?VR=NIV&VL=1&CN=1&am...

2 years ago
« - 304 - »

© 2024 OneMinuteCode. All rights reserved.