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
Automatically generate Python Lotto numbers (without duplication)

I'm an introductory Python student, but it's been blocked for about a week.I want to create n sets of 6 lotto numbers (set to 3 sets in the code below), but if I make it as below, the computer will ha...

2 years ago

1 answers
43 views
0
I want to scroll through the page and press the button while crawling using selenium

I'd like to get the webtoon details of Kakao webtoon.However, to view detailed information, you must enter the webtoon list and scroll through the page to create a work information button.When you run...

2 years ago

1 answers
53 views
0
I want to bring the entire page of the Kakao shopping site from Python, but I know I have to bring it to json, but the price doesn't come up.

https://store.kakao.com/search/result/product?q=%EC%83%B4%ED%91%B8I'll go to the site andI pressed F12 and got the address from the networkhttps://store.kakao.com/a/search/products?timestamp=162824655...

2 years ago

1 answers
133 views
0
Python novice list - remove I have a question Peep 🐥🐤🐣

When you want to remove a common number in the lista = [1, 2, 1, 3, 1, 4, 1, 5, 1, 6, 1, 7]for remove_one in a: a.remove(1)print(a)[2, 3, 4, 5, 6, 7]All 1s are removed herea = [1, 2, 1, 1, 1, 1, 1, 1,...

2 years ago

1 answers
16 views
0
Is there a way to store the row no of element values that match a specific value in a specific column of DataFrame as variables?

Hi, everyone. Is there a way to store the number of element values that match a specific value in a specific column of DataFrame as variables?You are trying to save Row numbers as variables and then t...

2 years ago

1 answers
50 views
0
Can't I set the condition in Python tf.variable(tf.random.normal([1])?

We use pie lines to code random numbers and put them into necessary formulas to extract results.tf.Variable(tf.random.normal([1])Is there a way to make the random numbers that come out here come withi...

2 years ago

2 answers
72 views
0
Is there a way to divide it into two using split and for statement and save it as a new data frame?

Hello. I'm practicing split and For Moon, but there's a blockage.#1.for i in range(len(df)) : df_split1[i], df_split2[i]=df.loc[i].split(sep='.', maxsplit=1)#2.for i in range(len(df)) : df.loc[i, 'c']...

2 years ago

1 answers
97 views
0
Python novice question, pie game attributeError: 'str' object has no attribute 'get_rect'

To make a ball throwing game Traceback (most recent call last): File c:\Users\Jeongyoon\Desktop\pythonwork\l\pypang.py, line 96, in <module> ball_size = ball_images[ball_img_idx].get_rect().size...

2 years ago

1 answers
104 views
0
How can split be used for things that are slightly different in form (?) from each other using split, for, etc.?

Hello, I am an introvert who has been practicing split, for, and if moon recently.df = pd.DataFrame({idx5:[ ex1.x.1, ex1.x, ex2.x.2, ex2.x.3, ex1.x.2, ex2.x, ex2.x.4, ex2.x.5, ex1.x.3, ex3.x, ex2.x.6,...

2 years ago

1 answers
55 views
0
Python DataFrame Is there a way to make a new DataFrame only for the area you want?

Hello, I'm a beginner studying Python DataFrame.I was dealing with DataFrame, and I didn't know anything about it, so I tried googling, but I couldn't find it, so I'm asking you a question.I want to r...

2 years ago
« - 426 - »

© 2024 OneMinuteCode. All rights reserved.