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
57 views
0
Python Dictionary Question. Make a dictionary with the values of the list as key values and the values are all '0'

list1 = ['1','2','3','4','5','6']I want to make a dictionary with list1 as the key value and all the values are 0If there are more than 100 values in list1, you cannot put them one by one by one.In fa...

2 years ago

1 answers
15 views
0
What does $.$ mean at the beginning of an example in Python?

I'm looking at a lot of Python examplesFor example, there is a $ sign at the beginning, as shown belowThere is an error when you type with $ mark in Jupiter.Can you tell me what $ means?Is this an exa...

2 years ago

1 answers
49 views
0
Problem with selenium installation. 'TypeError: 'module' object is not callable' in webdriver.chrome()

Hello, I'm a beginner who wants to study code.There is an error trying to install and practice selenium in the visual code.from selenium import webdriverbrowser = webdriver.chrome() # <- I also add...

2 years ago

1 answers
94 views
0
pygame error: NameError: name 'Block' is not defined

I made it by referring to https://m.blog.naver.com/cheonwb/222156028857 but there is an error. Traceback (most recent call last): File /Users/user/Desktop/BrickBreak.py, line 9, in <module> clas...

2 years ago

1 answers
19 views
0
I got this data from Python using tabulate, so please help me.

import pandas as pdimport requestsfrom bs4 import BeautifulSoupfrom tabulate import tabulateimport timeurl = http://comp.fnguide.com/SVO2/ASP/SVD_Main.asp?pGB=1&gicode=A005930&cID=&MenuYn=...

2 years ago

2 answers
131 views
0
Python found

message_content = message.contentban = message_content.found (test)I'm making a bot in DiscordI want to make several test phrases, what should I do?

2 years ago

1 answers
76 views
0
Find max value in Python 2D list

list_1 = [(2, 0), (1, 1), (3, 2), (2, 3)]temp = list_1[0][0]if temp < max(list_1):I want to make sure that the values from the two-dimensional list are the highest values in this listSince it is a ...

2 years ago

1 answers
101 views
0
Imported from Python vs code could not be resolved Pylancereport Missing Imports)

I want to bring that module Import theater_module could not be resolvedPylancereportMissingImports)It's marked with a yellow line.

2 years ago

1 answers
16 views
0
Is it not allowed to specify the variable df_{code} = pd.read_html(str(table))?

import pandas as pdimport requestsfrom bs4 import BeautifulSoup# A function that makes the event code prettydef make_code(x): x = str(x) x = x.zfill(6) return x# Obtaining the event codeurl_comp_code ...

2 years ago

1 answers
116 views
0
Ask questions about using the python global keyword. Why can you refer to function external variables when you do not declare global?

I'm practicing implementing the Fibonacci sequence using a recursive function dic = {1: 1, 2: 1}def pibo(n): if n in dic: return dic[n] else: out = pibo(n-1) + pibo(n-2) dic[n] = out return out...

2 years ago
« - 398 - »

© 2024 OneMinuteCode. All rights reserved.