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
224 views
0
I don't know why there is a Unicode error if I don't delete the annotation when I made a comment with ''.

'''f = open(rC:\Users\ocwot\Desktop\파이썬 연습\example.txt,'a+' ,encoding='utf-8') f.write('Deae,') #Add Dataf.seek(0)print(f.read())f.close()'''f = open(rC:\Users\ocwot\Desktop\파이썬 연습\example.txt, encodi...

1 years ago

1 answers
394 views
0
A program for determining that bingo of a word bingo of a game in which each square of a game called a bingo game is arranged into a word (word) instead of a number is achieved (called a winning condition).

I'm a fledgling engineer.I don't know how to write a program that determines that a word bingo has been achieved (hereinafter referred to as victory conditions). It's not a normal number bingo game, i...

1 years ago

1 answers
265 views
0
I want to learn only 1 and 2 data from MNIST data of handwritten numbers.

The default image data set for handwritten numbers is 1 to 10.I would like to take out only 1 and 2 of them so that I can only categorize 1 and 2.We followed the steps below.·Take out image data and l...


1 answers
306 views
0
Read Python Excel File

In the Excel file, if the first row is the year, the first column is the city name, and it's filled with the year, the population by city, in Python. A is the year and b is the name of the Excel file....

1 years ago

1 answers
414 views
0
I want to call Windows API from Python to get %APPDATA% path

If you try to get the %APPDATA% Windows path from Python, you can run it with the following command:importosos.getenv('APPDATA')However, I have encountered a rare situation where I think I might not b...

1 years ago

1 answers
325 views
0
Python multi-threading questions

I'm trying to implement multi-threading in Python.When the thread of t_0 enters the function, it is held continuously at while 1.The code that then executes the t_1 thread does not move on.If the firs...

1 years ago

1 answers
363 views
0
I want to add a while statement.

I'd like to add a while statement to 1

1 years ago

2 answers
246 views
0
It is displayed as an even number even though it is odd numbers odd.

When I entered 7 as shown in the image, 7 was made into an even number even though it was not an even number.Please tell me the solution.I would appreciate it if you could tell me in detail what is di...

1 years ago

2 answers
343 views
0
An error has occurred, and it is impossible to distinguish between even and odd numbers.

Would it be possible to fix and move only the n part without breaking the shape above?

1 years ago

1 answers
417 views
0
I want Python to convert all 3D lists to tuple

I would like to convert the 3D list into a tuple as shown below, but what should I do?obj1=[[[1,2],[3,4]],[[5,6],[7,8]]]obj2=(((1,2),(3,4)),((5,6),(7,8))))Thank you for your cooperation.

1 years ago
« - 3 - »

© 2024 OneMinuteCode. All rights reserved.