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
17 views
0
Python Resident Number Covering Function

From Python, {person name: resident number} Dictionary of the same form It is a question of expressing * after the number (8th digit) that is always expressed in the function. I want to use it as a fu...

2 years ago

1 answers
19 views
0
If I load a text file from Python and read it once, can't I read it with another read line?

Hi, how are you?Text file For example, it is called as followsHmmm data = open('text.txt') aa=data.read()bb=data.readline()If you use these two,In the first aa, print(aa), the contents of the text fil...

2 years ago

1 answers
47 views
0
Ubuntu ssh pilotage

When I use DOS?Terminal? as in Ubuntu connection with ssh connection, can I use the function to inform code typos or errors as in the Windows environment as in the attached image?vscode is being used.

2 years ago

1 answers
19 views
0
Format error occurs when converting Python string time

A format error occurs when trying to display the string in time. result3 = ''.join(file_name) date_time_str = result3 result1 = datetime.datetime.strptime(date_time_str, '%Y-%m-%d %H:%M:%S') print(re...

2 years ago

2 answers
81 views
0
Python Infinite Repeating Question (Celenium)

import timen = 0while True: try: driver.found_element_by_xpath (//*[contains(text(), 'green light')]) n = 1+ n print(n) time(10) except: continueHello, I'm fiddling with Python at Selenium I'm p...

2 years ago

1 answers
20 views
0
Here's a question for Python

import turtlet = turtle.Turtle()t.shape(turtle)while True: t.penup() t.goto(300, 0) t.write(If the turtle comes here, it's a positive number.) t.goto(0, 300) t.write(If the turtle comes here, it's 0...

2 years ago

1 answers
20 views
0
Input related questions

If you say input(dd), you put a letter after dd.Is there any way to put the text in front of the dd?

2 years ago

1 answers
33 views
0
I'd like to ask you a question about automatic Python variable generation

a1 = 0 a2 = 0..a (to the desired number) = 0I want to make as many variables as I want and put a value of 0 in the for or while statementHow do I automatically generate variables?Do you have any chanc...

2 years ago

1 answers
16 views
0
Python Question: Why isn't it printing?

Why doesn't it print?

2 years ago

1 answers
100 views
0
I have a question about the Python string output

I wrote the code through the process from 2.1 to 2.3word = Love it or leave it.start = word[11:]end = word[11:16]May I know how to use the print of the last 2.4 question that should be in the last lin...

2 years ago
« - 449 - »

© 2024 OneMinuteCode. All rights reserved.