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
55 views
0
I want to know how to index the date with a specific value of Python data frame.

Hello, I'm a beginner at ^.How do I reversely index an index or a date index with a specific value in a Python data frame?^df1 = pdDataFrame({'A': [1,4,7]}, index=[2019-04-07,2019-04-08,2019-04-09]...

2 years ago

1 answers
140 views
0
Python tkinter button command Lambda.

Python tkinter in use An attempt was made to execute a function through the command in the button widget.But I'm asking you this question because it doesn't work normally.TestBtn = Button (MainForm, t...


1 answers
140 views
0
Python string format: %s.format()

The Python 2.6 introduced str.format() function seems to be somewhat different from how % is used. What is the best way to use it in what situation?The examples below are examples of each method, both...


1 answers
126 views
0
Modifying Python Files

Open test.txt in Python and check if there is a line with the letter Hi in the contentIf it exists, please give me an example of changing the line to Do!

2 years ago

1 answers
75 views
0
To set the password field in the django model field

class AddId(models.Model): author = models.ForeignKey('auth.User') id = models.CharField(max_length=200) password = models.CharField(max_length=200)def __str__(self): return self.idIn Janggo, we want ...

2 years ago

1 answers
46 views
0
Enum in Python

I usually use C, and I'm going to learn Python. Is the same function as the enum of c supported in Python?

2 years ago

1 answers
21 views
0
Python probability question

List z is as follows z=[1,2,3,4,5]You want to see the possibility that the smaller the number, the higher the probability that the number will be drawn.For example, 1 is 50%Two is 20 percentThree is 1...

2 years ago

1 answers
124 views
0
I want to move the ball to square one and limit the number of repetitions to five

import turtlescreen=turtle.Screen()image1=D:\\ball.gifscreen.addshape(image1)ball=turtle.Turtle()ball.shape(image1)ball.pensize(0)ball.penup()ball.goto(0, 0)ball.left(90)def go_left(): b1 = 0 ball.l...

2 years ago

1 answers
43 views
0
Django urls.Get datetime from py

I'm using django to make an automatic response function for Kakao Talk plus friends, and basically, the kidov required by Kakao TalkThe message is from url.pyurl(r'keyboard$', views.keyboard), url(r'm...

2 years ago

1 answers
110 views
0
(Python) Creating a list of labeled text file data

Text file content is 1 0.552344 0.384028 0.159375 0.1958331 0.780078 0.595833 0.236719 0.133333It's like this After executing Python code [1 0.552344 0.384028 0.159375 0.195833] , [1 0.780078 0.59583...

2 years ago
« - 322 - »

© 2024 OneMinuteCode. All rights reserved.