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


6 answers
17 views
0
I want to delete the list of 2D arrays

I am having trouble deleting the elements of the 2D array.I would like to delete the [] part without numbers.Thank you for your cooperation. list=[0,1],[],[],[],[1,0],[],[],[1,1],[1,2],[],[],[],[]

2 years ago

2 answers
31 views
0
I want to create a function that returns the difference between the two given time in hourly increments.

When two hours (start, end) are given, the time difference is 3 hours.import datetimestart = datetime (2021, 1, 1, 1, 10)end = datetime (2021, 1, 1, 4, 0)I would like to use this to create the followi...

2 years ago

1 answers
16 views
0
I don't know how to convert numbers into characters.

I tried outputting it as shown in the image, but it didn't work.After all, if, elif and later are not good.Please give me a solution.It's rock-paper-scissors programming.

2 years ago

1 answers
124 views
0
Error report when opening anaconda terminal

When you open anaconda terminal, the following error report is displayed:Please tell me how to resolve the error./Users/username/.anaconda/navigator/a.tool ; exit;# >>>>>>>>>...

2 years ago

1 answers
30 views
0
How to Define Type Aliases Using `list` in Python 3.8

Python 3.8.6Writing code running Python 3.8 and above.I used typing.List until now when I gave the type hint.However, Python 3.9 deprecated typing.List, so I ran from__future_import announcements to m...

2 years ago

2 answers
45 views
0
python allocation problem

I recently started learning python.There is something I want to do using python, but I can't find a way to do it because I don't know the keyword.Here's what I want to do: What you want to do: Suppose...

2 years ago

1 answers
32 views
0
The csv does not record.

I would like to create a program to record the Nikkei Stock Average by scraping, but the program below does not record it in csv. Why?The following programs have been improved for Python 3 with refere...

2 years ago

1 answers
86 views
0
Django REST Framework: Single list of results obtained in Serializer

The Django REST Framework is creating an API to retrieve data from the master.models.py class CommonMaster(models.Model): type=models.CharField(max_length=20) type_id=models.IntegerField() key_name=mo...

2 years ago

1 answers
40 views
0
I want to extract only certain lines from multiple CSVs in pandas and make it CSV.

It's been two weeks since I started using python.Here's what I want to do:p Read multiple CSVs using pandas and extract only the second line from each ②The line extracted from the first CSV is the fir...

2 years ago

1 answers
50 views
0
Sensorflow object detection API Transition learning causes OOM

I'm a beginner in machine learning.I would like to use the tensorflow object detection API for my own data transfer learning.Learning as a proprietary datasetTake about 100 800x600 images with the cam...

2 years ago
« - 177 - »

© 2024 OneMinuteCode. All rights reserved.