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
I want to make sure that the object has certain attributes in Python

We're going to use the code below How do I create a function that acts as exist(Attr)?a = myClass()if a.exist(Attr): passelse : pass

2 years ago

1 answers
15 views
0
Why does a Python process not run at the same time, but move on to the next process after one process is completed sequentially?

import signcrosimport signuturnfrom multiprocessing import Processfrom Multiprocessing import godef main() : U_Process = Process(target=signuturn.sign_camstart()) test = Process(target=go.GO()) Cros_P...

2 years ago

1 answers
72 views
0
I have been having a headache for a week because of Python dynamic page crawling.Masters, please help me crying

While crawling data through Python, I want to ask you something about dynamic page crawling.Most of the other sites have been crawled through requests, beautiful soup, and seleniumhttp://www.searchain...


2 answers
47 views
0
It's a regular expression question!

There's a regular expression like this, but I'm not sure what it means. I want to show you this page only when I log in by fixing the following part, so please interpret it!url(r'^(?P<code_id>[-...

2 years ago

1 answers
14 views
0
Python dice question

I'm a self-taught Python studentI suddenly remembered this while solving the exampleAfter you receive the number of times you throw two dice, I want to make a program that prints the frequency and pro...

2 years ago

1 answers
16 views
0
I wonder if the list can be made into a tuple.

I'm posting a question because I wonder if I can make a list into a tuple.l = [4,5,6]t = (4,5,6)I want to make a tuple t with a list l, but the source code I wrote does not print a tuple, but it is pr...

2 years ago

1 answers
97 views
0
It's a question about the Python list

Thank you for pointing out the idea of eating raw in the previous question.I solved the part you gave me!0^I have a new question.Assuming that data a has 1, 2, and 3 and the number b has 1, if b is in...

2 years ago

1 answers
98 views
0
How do I install lxml on Ubuntu?

I'm using easy_install to install lxml on Ubuntu 11I keep getting errors.If you use $easy_installlxmlSearching for lxmlReading http://pypi.python.org/simple/lxml/Reading http://codespeak.net/lxmlBest ...


1 answers
77 views
0
To remove an extension from a file path?

os.path.You can remove the extension by using the basenameI imported the os modulepath.Unable to access basename.os.path.Is there any other way besides basename ?

2 years ago

1 answers
125 views
0
Split long strings

ABCDEFGHIJKLMNThe string ABC DEF GHI... in an expression I'd like to make a list of 3 pieces each, what should I do?I'm trying to solve it with a FOR statement.

2 years ago
« - 289 - »

© 2024 OneMinuteCode. All rights reserved.