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
99 views
0
Python tkinter button question.

class WidgetsDemo: def __init__(self): window=Tk() window.title (Widget Demo) self.button = [[0 for col in range(5)] for row in range(8)] for self.i in range(0,8): for self.j in range(0,5): sel...

2 years ago

1 answers
107 views
0
Read Python json. UnicodeDecodeError: 'cp949' codec can't decode byte

// Enter your code here[ { created_time: 2018-01-23 08:00:00, link: http://news.jtbc.joins.com/article/article.aspx?news_id=NB11579263, message: To former lawmaker Lee Sang-deuk, who was a big shot...


2 answers
84 views
0
Sort descending to the second numeric value of the tuple in the list

word_list = [('this', 4), ('they', 3), ('that', 13), ('shall', 3), ('people', 3), ('nation', 5), ('here', 8), ('have', 5), ('great', 3), ('dedicated', 4), ('dead', 3)]How do I arrange these lists in o...

2 years ago

1 answers
47 views
0
Hello, I want to know how Jango is_valid works.

if self.is_valid(): return redircet('/')In the above code, is_valid() internally calls clean() of the form to validate it, but in the case of clean(), the return value is dict data called cleaned_date...

2 years ago

1 answers
81 views
0
I'm curious about \ processing in Python regular expressions.

import reb = 'Yaho\'a = re.compile('\\')print(re.sub(a, '@', b)What I was expecting was a yahoo@, but there's a compilation errorIf you want to do what I expected, re.compile('\\') Why do I have to wr...

2 years ago

1 answers
15 views
0
I would like to ask you to extract Python specific strings.

Hello, I'm a beginner at Python. For example, in the text below, 16 abc('aaa/bbb/hello').<br> 17 abc('aaa/bbb/@y14').<br> 18 abc('aaa/bbb/@y15').<br> 19 abc('aaa/bbb/@y16').<br&g...

2 years ago

2 answers
66 views
0
This is a question about how to store Python json returns.

https://developers.naver.com/docs/clova/api/CFR/API_Guide.md#PythonWe are developing a program to compare face recognition values using Naver's open api service at the address above address.It's just ...

2 years ago

1 answers
41 views
0
[Python] Save sentences that would have included a specific word

Hello.If a specific word is included, I'm trying to write a code to save the sentence to firebase!I don't have a clueFor example, if there's a sentence that says, Hashcode is good! I'm just trying to ...

2 years ago

1 answers
20 views
0
def main(): Question

if name==main: Python is an interpreter's language, so I understand that you use the sentence above to start with the part you want Does def main(): play the same role?

2 years ago

1 answers
16 views
0
Python list duplicate element

Hello, I have a question that I didn't know while doing my homework TI'm working on a task to make a board game, and the end of the game is a game that moves according to certain rules. However, I hav...

2 years ago
« - 221 - »

© 2024 OneMinuteCode. All rights reserved.