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
120 views
0
Python multiprocessing question.

from multiprocessing import Processdef GO(): print('Hi\n')if __name__=='__main__': pr1 = Process(target=GO) pr2 = Process(target=GO) pr1.start() pr2.start() pr1.join() pr2.join()I made it while lookin...


1 answers
66 views
0
It reads the csv file from Python 3, with " at the end of the line and at the beginning.

The goal is to read data row by row from an A.csv file, edit it, and save it to a B.csv file.This is the same file as above, and the part shown is the third column. I tried to edit only the third colu...

2 years ago

1 answers
15 views
0
Is there a way to store the results obtained using itertools?

from itertools import permutationsa=permutations(['1','2','3'],3)for i in a: print(i)Using the ('1', '2', '3')('1', '3', '2')('2', '1', '3')('2', '3', '1')('3', '1', '2')('3', '2', '1')That's what I g...

2 years ago

1 answers
16 views
0
Python random module, here's a question!

I'm going to use a=random.uniform (0,10) to generate a random number.You have to repeatedly generate different random numbers each time, and then re-enter random.uniform(0,10) each time I only know ho...

2 years ago

1 answers
106 views
0
Python crawling encodings

from bs4 import Beautiful Soupfrom urllib.request import urlopenfrom html_table_extractor.extractor import Extractorfrom selenium import webdriverimport sys# # -*- encoding: utf-8 -*-driver = webdrive...


3 answers
16 views
0
Python beginner's question

Problem) I tried to add content to the following sequence material, but an error occurred. How can I change the contents of the code to add the contents of the sequence data?'''len(s)3s.append(4)Trace...

2 years ago

1 answers
60 views
0
Find the number of months in Python for two days

I'd like to find the number of months between the two dates.If I find the difference between date formats, it only comes out as days...Is there a separate method to get the number of months? ```python...

2 years ago

1 answers
63 views
0
I have a question about converting regular expression strings

Service, suction, sousand,... I want to convert only 만 in front of a short vowel from a string containing ㅅ such as 이.The Korean alphabet has already been written in Korean, but is there any way to...

2 years ago

2 answers
19 views
0
IndentationError I have a question.

def isPhoneNumber(text): if len(text) != 12: return False for i in range(0,3): if not text[i].isdecimal(): return False if text[3] != '-': return False for i in range(4,7): if not text[i].isdecim...

2 years ago

1 answers
18 views
0
Why is there a key error?

id = str(Enter user ID: ))b = int (input (user's password input: )))dic = {'conan':1111 , 'rose':2222 , 'ran':3333}passward = dic[id]if id in dic: if passward == b: print(You have successfully logg...

2 years ago
« - 216 - »

© 2024 OneMinuteCode. All rights reserved.