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
104 views
0
Python Repeat Question.

While using the format function, it seems that there was a problem that I did not know the concepts of global and regional variables.You set global variables such as a0, b0, which are data frames with...

2 years ago

1 answers
108 views
0
Python Alignment Questions

N=int(input()) #N=5N_list=list(map(int,input().split())) #N_list=[2,1,4,5,3]new_N_list=[]cnt=0for i in range(len(N_list)): if N_list.index(i+1)==N_list[i]: new_N_list.insert(i+1,i) cnt+=1print...

2 years ago

2 answers
87 views
0
I have a Python character alignment question. Sort by character length + alphabetical order.

Hello, a site says that the characters in the list should be printed in alphabetical order if the length is the same from the short one.N=int(input())N_list=['i', 'im', 'it', 'no', 'but', 'more', 'won...

2 years ago

1 answers
47 views
0
I want to crawl the KBO ranking to Python.

from bs4 import BeautifulSoupfrom urllib.request import urlopenresponse = urlopen('https://www.koreabaseball.com/TeamRank/TeamRank.aspx')soup = BeautifulSoup(response, 'html.parser')i = 1data = for an...

2 years ago

1 answers
51 views
0
How do you crawl on a site like this?

https://www.weather.go.kr/weather/observation/aws_table_popup.jspIt's this site, but even if I click the button with selenium and try to crawl to bs4, it doesn't ring up when I call up HTML. Is there ...

2 years ago

1 answers
75 views
0
Web crawling question.

Hi, everyone.As you know, I was studying web crawling, which has a different format for each homepageThe cafe is different, so I'm asking you this question because there was an error while looking for...

2 years ago

1 answers
18 views
0
Python Code Implementation Question.

Pythondef make_dataset(data, seq_length=480, target_delay=24, strides=5, mode='train', train_mean=None, train_std=None): assert mode in ['train', 'val', 'test'] if mode is not 'train': if train_me...

2 years ago

1 answers
82 views
0
I'm going to make a list of prime numbers

prime = [1,2,3,5,7]factors = []for i in range(11,10000000,2): for j in range(2,i,2): if i % j ==0: factors.append(j) if factors == []: prime.append(i) print(i) else: break else: continueI'...

2 years ago

1 answers
31 views
0
Mysql's insert query statement type question

sql = insert into tb_q (q_num, title, contents, tag, user, time) values (%s,%s,%s,%s,%s,%s)We've created a query statement like thisThe q_num variable is an integer type, but even if it is %s, is i...

2 years ago

1 answers
13 views
0
Python Syntax Error and questions that result in unwanted output.

Hello, I am currently writing the code for the anonymous site problem on notepad and running it on powershell, and I am writing it because there are some parts I am not familiar with...from sys import...

2 years ago
« - 378 - »

© 2024 OneMinuteCode. All rights reserved.