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


2 answers
14 views
0
Delete a list with fewer than a certain number of characters in the list in Python

parseList =[ 'J', ']-', 'Track-927', '4']firstlist = parseList.split()for s in firstlist: if - in s: print(s)result from- and Track-927 are shown. How do I remove items with fewer than a few characte...

2 years ago

1 answers
124 views
0
Strike an Angry Bird-like target with a Python turtleneck. Obtain collision conditions on the target.

I'm going to make something similar to the Angry Bird game with Python.So I made the codeimport turtle as timport mathimport randomt.shape(turtle)def square(): for i in range(4): t.forward(10) t.lef...


1 answers
12 views
0
Python number guessing. When you get the right answer, you get a while loop

I'm trying to write a code that stops the trial only when it's correct, but if I do it like this, the number of attempts will be infinite, so where should I put the tries=tries+1import randomtries=0nu...

2 years ago

1 answers
69 views
0
Python openpyxl in use [WinError 32] The process is inaccessible because another process is using the file

I want to read the cell value in Excel and change the file name to that valueI'm probably getting the Excel file from Python[WinError 32] The process is inaccessible because another process is using t...

2 years ago

2 answers
15 views
0
Clear a specific tag from a Python

<title>, </title> I want to erase these strings from the a string If you list it ['<title>i', 'love', 'you', 'so', 'much', 'baby</title>']```` How can I solve this?a = <titl...

2 years ago

1 answers
43 views
0
Python numpy questions Rossy conversion from float64 to uint8

I'm studying the Python Numpai tutorial (https://cs231n.github.io/python-numpy-tutorial/) and I'm asking because I got an error.<Before correction>from scipy.miscimportimread,imsave,imresizeimg ...

2 years ago

1 answers
13 views
0
Python number matching exit condition question

In the code that ends only when the number is matched, I added an if statement to end it even if it doesn't meet the conditions of the value I want to enter, but I'm asking because I think only the pr...

2 years ago

1 answers
38 views
0
Python List Questions ['a', 5', ['e', 5], ['c', 3], ['d', 3], ['e', 1] --> ['a','b', 5', ['c','d', 3], ['b', 1]

list=['a',5',['e',5],['c',3],['d',3],['e',1]] How do you tie the same numbers together? For example, ['a','b',5],['c','d',3],['b',1]] in the above case.Even if I try for and if, it doesn't come out th...

2 years ago

1 answers
18 views
0
Scrap the contents of Python Beautiful Soup newspaper / distribute by paragraph

I used Beautiful Soup to collect newspaper content on the site, but I'm worried that I can't change the lines in each paragraph. temp = for n in c: temp = temp + str(n.get_text())What is in #html <...

2 years ago

1 answers
15 views
0
How do I determine a Python Turtle crash?

My challenge is to implement Angry Bird Python under these four conditions.So I tried to implement it with Python. But when I tried it, I couldn't implement Condition 4. I'm sure that when the turtle ...

2 years ago
« - 364 - »

© 2024 OneMinuteCode. All rights reserved.