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
67 views
0
How to run subprocess from Linux os to Python

import subprocesssubprocess.run(['ls' , '-al'], shell = true)I'm working on turning other external programs in Python using subprocess.The external program I want to run is a device simulation program...

2 years ago

1 answers
44 views
0
Ignore regular expressions?

'--option1value1 --option2spacing{ option1: value1, 2 option : space writing}I need a code that makes it this way.The problem here is that if I split based on spacing, there may be an error because th...

2 years ago

2 answers
19 views
0
Python overlapping loop basic question!

for i in range(0,7) : for j in range(0, i): print(j, end='') print()I made the chords like this. 001012012301234012345Here's the result.What should I do to make it look symmetrical to the shape? 0 01...

2 years ago

1 answers
21 views
0
Python characters are random

I want to write letters randomly, not numbersIf it's APPLE, BLUE, APPLE BLUE BLUE BLUE APPLE APPLE BLUE APPLEI want to do it randomly like this, can anyone teach me?

2 years ago

1 answers
16 views
0
Python Text Random

import randomdef one(): print (Mango)candy = [one(), Apple]for _ in range(3): choice = random.choice(candidate) print(choice)I wrote it like this. Mangoapple NULLOr MangoNULLNULLMango keeps popping up...

2 years ago

1 answers
14 views
0
Let me ask you a Python function. Repeat plus(a) to increase the value of a.

count=0def plus(a): a=a+1 print(a)for i in range(3): plus(count)If you run it like this, 1,1,1 appears.How do I make it 1,2,3?

2 years ago

1 answers
89 views
0
Problems with Scipy import

If you install pip install scipy to use plu decomposition and import it from idle, it says it cannot be found. So, if you pip install scipy in cmd window again, it says it's already installed, and if ...

2 years ago

1 answers
15 views
0
Alignment of dictionaries in Python list

That a=[{'apple'=30,'banana'=50,'fruit'=25}, {'apple'=50'banana'=30,'fruit'=10}, {'apple'=22,'banana'=55,'fruit'=66}, {'apple'=32,'banana'=10,'fruit'=5}]There is a dictionary on the list like this, an...

2 years ago

3 answers
11 views
0
Python Beginner Make a Number Pyramid with Double Loop Question

for x in range(0, 7) : y = 7 - x print(' ' * y + '*'*x)If you squeeze the cord like this,Here's the result. What I want to do isThis is it. I'm going to use * to make a salty code. for i in range(0, 7...

2 years ago

1 answers
100 views
0
Dictionary storage using beautiful soup4

from urllib.request import urlopenfrom bs4 import BeautifulSoupresponse = urlopen(https://music.naver.com/listen/top100.nhn?domain=TOTAL&duration=1d)b_html = response.read()s_html = b_html.decode(...

« - 372 - »

© 2024 OneMinuteCode. All rights reserved.