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
58 views
0
Multi-line annotation processing

/* */ doesn't work on Python?I'm going to comment on several lines, but do I have to attach # to it?

2 years ago

1 answers
43 views
0
Django field additional question.

Question about adding Django model field ^^class ActressInfo(models.Model): id = models.AutoField(primary_key=True) name = models.CharField(max_length=100) birth = models.CharField(max_length=100) sta...

2 years ago

1 answers
24 views
0
I have a question about Python regular expressions.

Oops... I solved it myself. Thank you.

2 years ago

1 answers
94 views
0
Ask questions about how to page the web implemented by flask

@app.route('/main', methods=['GET'])def test(): test_list = [] test_items = db.session.query(table_class_name).filter(table_class_name.column == 150 ).limit(9).all() for item in test_items: test_dict...


1 answers
21 views
0
Python. I'm asking you to ask me a rudimentary function question. (Related to self)

I'm currently studying Python 3, so I'd like to ask you a basic question.I don't understand why one of the codes below is executed by receiving one of the parameters self from the sum and avg methods....

2 years ago

1 answers
51 views
0
Re.sub question

import globimport shutilimport osimport redirs = ['DataGathering']for dir in dirs: file_names = glob.glob(os.path.join(dir,'*'))file_names = [os.path.basename(name) for name in file_names] if not os.p...

2 years ago

3 answers
13 views
0
Python Date Output Method for a Period

I want to print out a date for a certain period with Python.For example, from 20160901 to 20161031.However, simply take the range and date1 = int('20160901')date2 = int('20161032')for x in range(date1...

2 years ago

1 answers
15 views
0
I'm a Python beginner. I have a question!

I'm a Python beginner who has chosen to lay the foundation by learning example codes, etc. necessary for job application.(In terms of piano, you don't learn the basics, but you just memorize one song ...

2 years ago

1 answers
147 views
0
Python 2.7 code questions.

It's a program that extracts the image URLI'm having a hard time with 2 problems.https://stackoverflow.com/questions/14587728/what-does-this-error-in-beautiful-soup-meansI think it's similar to this s...

2 years ago

1 answers
41 views
0
How to transfer JSON data to a file with Python

You want to write the variable data that stores JSON data in a text file.I wrote it down like a normal file, and there's an error, so why is that?obj = open('data.txt', 'wb')obj.write(data)obj.closeTy...

2 years ago
« - 311 - »

© 2024 OneMinuteCode. All rights reserved.