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
111 views
0
Is there a private variable in Python's class?

I'm using Java and learning Python by reading Bruce Eckels' Python 3 Patterns, Recipes and IdiomsWhile reading about the class, Python found that just using it in the constructor creates variables wit...

2 years ago

1 answers
66 views
0
Login to Python Session

I'm studying Python with a book called Making a Web Crawler with Python.Read the session login part, log in to Africa TV using the session, and then use your item page I'm trying to bring it, but it d...

2 years ago

1 answers
14 views
0
How do I get a function factor as a variable name in Python?

The function factor is usually passed to a normal value, right?By the way, I want to use the function factor as the instance variable name.For example, if you put abc in the foo function factor in cla...

2 years ago

1 answers
41 views
0
To assign a long string

When assigning super long queries in rows to make them look good,As in javascript, using + or backslash (\) is a good ideaI don't know if it's a Python way.It doesn't look very good and it's troubleso...

2 years ago

1 answers
88 views
0
To read the entire file as a string rather than a list?

My file is LLKKKKKKKKMMMMMMMMNNNNNNNNNNNNNGGGGGGGGGHHHHHHHHHHHHHHHHHHHHEEEEEEEEIt looks like it. If you use the source code below and read it,['LLKKKKKKKKMMMMMMMMNNNNNNNNNNNNN\n', 'GGGGGGGGGHHHHHHHHHH...

2 years ago

1 answers
13 views
0
Code interpretation and if self.isOpened: I wonder what this part means.

class Fridge: isOpened = False foods = []def open(self): self.isOpened = True print 'I opened the refrigerator door.'def put(self, thing): if self.isOpened: self.foods.append(thing) print 'There's ...

2 years ago

1 answers
51 views
0
Python crawling, here's the question

I would like to extract the first aid api data from https://data.mpss.go.kr/Portal_new/portal/service/dataset/info.do?infId=F1ZYOB45JDGE8I04G37F1033685&infSeq=2&srvCd=A and save it as an Excel...

2 years ago

1 answers
13 views
0
Python regular expression compilation option questions. a DOTALL question

IGNORECASE stands for IMULTILINE stands for M, but why is DOTALL stands for S and VERBOSE stands for X?

2 years ago

1 answers
113 views
0
Python Unbound LocalError

If you run the code below, you will receive UnboundLocalError. What's wrong?counter = 0def increment(): counter += 1increment()


1 answers
127 views
0
Which memory profiler is good?

You want to determine which code block or object is using a lot of memory.I looked it up on Google and found that Python Memory Validator, for paid versionsAs an open source, PySizer Heapy came outPle...

« - 325 - »

© 2024 OneMinuteCode. All rights reserved.