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
114 views
0
A code question that executes multiple functions at the same time. (jupyter notebook)

Hello, I am using Python as a jupyter notebookI have difficulty using multiprocessing module,I have a question.Even if you turn the example code on several blogs,I don't know if there's something wron...


2 answers
44 views
0
I have a question about Python DataFrame.

Python simply wants to map data in DataFrame.Create M and N DataFrame, respectively, as shown belowimport pandas as pdM = { 'x': ['a', 'b', 'c'], 'y': ['1', '2', '3'] }N = { 'i': ['3', '1', '2'] }M = ...

2 years ago

1 answers
20 views
0
I have a question regarding pipenv --three installation...

Hello... I want to develop it in pipenv environment.I installed pipenv and python 3 in ubuntu environment using wsl...pipenv --three command does not work (Crying)Even if I google it, I can't solve th...

2 years ago

1 answers
37 views
0
Underbar "_" Calling Questions

if __name__ == __main__:After the under bar comes out twice, the word name comes outWhen you explain to someone,Underba, underba, underba, underbar, underbarOr I wonder if there is a separate name for...

2 years ago

1 answers
44 views
0
Mixing lists alternately

I'd like to take turns shuffling the list from PythonFor example, if you have two lists,list1=[a,c,e]list2=[b,d,f]Mix list1 and list2[a,b,c,d,e,f] That's what I want to doWhat should I do?

2 years ago

1 answers
124 views
0
sqlalchemy To query the desired value

I'd like to get the data in the column called confirmed that the username variable has in the table called Userto sqlalchmeydate_data = db.session.query(User).filter(User.confirmed == username).first(...

2 years ago

1 answers
49 views
0
Where is the django model relationship definition function?

Hi, everyone.You want to map the value of a field related to the model of the many-to-many relationship to any field.It's crawled data, so it's not mapped yetShould the location of this function be wi...

2 years ago

1 answers
14 views
0
Python mac 3.6.1 How to Delete

It's not easy to do Python on a Mac.I was going to touch several versions, but I gave up and left only 2.7 and 3.5 versionsThe 3.6.1 version is installed in duplicate.I deleted all the Python and bin ...

2 years ago

1 answers
42 views
0
Question when extracting the src attribute value of the img tag with Python selenium, if the attribute value contains Korean

When extracting the src attribute value of the img tag with Python selenium, if the attribute value contains Korean Hangul is not displayed properly, and only the Korean part (image file name) is disp...

2 years ago

1 answers
19 views
0
I calculated it by mistake and found a complex number value.

for i in range(1, 100): num = 2 ** i p2 = 0 for k in range(1, num + 1): p2 += (1 / num + 1) * ( (1 - (k / num + 1) ** 2) ** .5 ) * 4 print(p2)This is the code, but the value should be close to the ap...

2 years ago
« - 272 - »

© 2024 OneMinuteCode. All rights reserved.