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
I want to get HTTP from Python quickly

What's the fastest way to get HTTP on Python?After getting, I try to find a string like content = url.get(http://example.com/foo/bar) but I don't know how to get it.I heard that I can use httplib or u...

2 years ago

1 answers
24 views
0
Python 3.4.2 version. I want to use twisted... Is it not compatible?

I'm using Python 3.4.2 and I'm trying to use twisted.There's an error like this... Is it not compatible? Should I do the down version?Help me!!

2 years ago

1 answers
126 views
0
How do I check if I can write new/lost grammar?

You want to check the grammar and functions affected by the version, such as the trinomial operator from 2.5, or the missing xrange, in 3.x.I wrote the code with the intention of raising an exception ...

2 years ago

1 answers
88 views
0
What does Fig.add_subplot(111) mean in Matplotlib?

When you run this code import matplotlib.pyplot as pltx = [1, 2, 3, 4, 5]y = [1, 4, 9, 16, 25]fig = plt.figure()fig.add_subplot(111)plt.scatter(x, y)plt.show()Output: I'm just learning, so I'm followi...

2 years ago

1 answers
118 views
0
I want to know the difference between exit() and sys.exit()

I want to know the difference between exit() and sys.exit() in python.It's going to be different if you see it in other modules, but if you know how it's different, please let me know

2 years ago

1 answers
80 views
0
I can't install Lxml on my Mac

Scrapy I need Lxml before installing, but I keep getting errors I checked that libxml2 and libxslt are also brew installed, and both are good.What should I do?In file included from src/lxml/lxml.etree...

2 years ago

1 answers
139 views
0
I want to know a better way to throw away all the elements on the list.

mylist1 = [1,2,3]mylist2 = mylist1mylist2 = []This clears the existing reference. What I want is that if you change mylist2, mylist1 will also be emptied, so I can't use that code.I'm writing it like ...

2 years ago

1 answers
18 views
0
I run the program with Python, but there is a space in the middle of the path, so I get an error

The program runs on Python, but there is a space in the middle of the path, so an error appears import os;os.system(C:\\Temp\\a b c\\Notepad.exe); #Notepad.exe is an exe that I made myselfraw_input();...

2 years ago

1 answers
95 views
0
SyntaxError: check why invalid syntax appears

After you push the computer once and install Python,I just used print, but there's an errorWhat should I do? Should I reformat my computer?>>> print hello World File <stdin>, line 1 pri...

2 years ago

1 answers
89 views
0
Please tell me how to check the Django version

My computer has both Python 2.6 and 2.7 installedI'd like to know. Where should I check?

2 years ago
« - 202 - »

© 2024 OneMinuteCode. All rights reserved.