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


3 answers
45 views
0
It's a question from django form!

The membership page was made as follows.{% extends base.html %}{% {% block title %}User Registration{% endblock %}{% {% block head %}User Registration{% endblock %}{% {% block content %} <form meth...

2 years ago

1 answers
17 views
0
I'm curious about the Python class variable

Class Dog : name = str() trick = []A = Dog()B = Dog()A.name = 'Apple'B.name = 'Banana'A.trick.append('say_hi')B.trick.append('stand')If you make a class like this,The names of A and B are saved as App...

2 years ago

1 answers
42 views
0
Why isn't there a pointer in Python?

I have a question while studying the language pointerAny language is basically in memory We have no choice but to use variables and addressesIs it because Python doesn't need an address?Or is it becau...

2 years ago

2 answers
46 views
0
I have a Python question.

aa=[5000,2000,3000,4000,1000]c=aa[0]d=aa[1]e=aa[2]f=aa[3]g=aa[4]print ('1. Cabbage')print('2.mu')print('3. lettuce')print (4. Pepper)print('5. cucumber')b=int(input('Enter Product Number'))while b>...

2 years ago

1 answers
46 views
0
Sorting Python Dictionary

I'd like to sort to a non-key value in dictRead two fields (string value, numerical value, one by one) in the DBx = {'1': 2, '3': 4, '4': 3, '2': 1, '0': 0}I made it.String is a unique key and numeric...

2 years ago

1 answers
91 views
0
How to Overload Generators

I know that you can't make multiple _init__ in Python classSo how do I overload the constructor?My source code is You have to.Source Code 1 has two _init__ so it does not run properlySource code 2 wor...

2 years ago

1 answers
109 views
0
Why is del here?

I don't know why there is a separate del Rather than clearing the variable, you can just assign None, and in the list, pop() and remove() are separate when erasing elements.Why did they make del for u...

2 years ago

1 answers
108 views
0
I want to know how to link Python and Maria DB!

I want to know how to link Python to Maria db.The editor writes Python and tries to work on data using Python and Maria dbI ask for your help!

2 years ago

1 answers
15 views
0
I have a question because I don't understand how to overload Python.

Inherit the two-dimensional points in question 1 and input the two three-dimensional points and output the sum.(Be sure to use the method.)x of 1 //point 12 // point 1 y3 //z at point 1x of 4 //point ...

2 years ago

1 answers
88 views
0
How do I eterate multiple iterables at the same time?

When there are two iterables, each element is paired foo = (1,2,3)bar = (4,5,6)for (f,b) in some_iterator(foo, bar): print f: , f ,; b: , bUse this code to make a result f: 1; b: 4f: 2; b: 5f: 3; b: 6...

« - 317 - »

© 2024 OneMinuteCode. All rights reserved.