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
84 views
0
Python Matrix Random Mix Question.

import randomA = [[0, 1, 2, 3, 4, 5], [1, 0, 3, 4, 5, 6], [2, 3, 0, 5, 6, 7], [3, 4, 5, 0, 7, 8], [4, 5, 6, 7, 0, 9], [5, 6, 7, 8, 9, 0]]new_order = random.shuffle(A)A[:] = [A[i] for i in new_ord...

2 years ago

1 answers
13 views
0
Generate python code as a result of executing Python code

; It's weird to write a questionI'm still a beginner at Python, so I don't think I can express my intention exactly.;;I want to make a program that calls Excel and uses the value of a specific cell to...

2 years ago

1 answers
79 views
0
IndexError

This is a programmers stack/queue issue. count = 0 for i in range(len(left_days)): largest = left_days[0] if(largest >= left_days[i]): count += 1 if(i==len(left_days)-1): answer.append(count)...

2 years ago

1 answers
91 views
0
Python Question UnicodeDecodeError: 'utf-8' code can't code byte 0xb1 in position 0

I'm studying Python for djangoWhen you run the server, continue UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 0: invalid start byteI don't know if this is the problem, but when ...


1 answers
149 views
0
To delete none after using def statement in Python

n = input('Enter string:')n = n.lower()n = n.replace(' ','')n = n.replace('',' ')n = n.strip()L = n.split(' ')S = set(L)X = list(S)k = len(X)def moonchk(n) : for i in range(0,k): a = X[i] print(a, '...

2 years ago

1 answers
119 views
0
I want to make a rock-paper-scissors program

I gathered examples to create a program, but I don't think it's good, so I'm asking questions.The first error that pops up is that com is definedㅠ


1 answers
17 views
0
Even if I bring it after running Python JavaScript, there are no elements in the div

After loading the container, it runs in JavaScript You have to crawl the binding page over there.So I'm going to scratch it after loading#!/usr/bin/python# # -*- coding: utf-8 -*-import requestsfrom b...

2 years ago

2 answers
67 views
0
Python for statement Creating recurring data frames by year

I want to receive a value as input and store the value of the for statement by year in the data frame.Trying to repeat for 10 years from 2019 Middle-aged housing amount in 2019 --> 2013 average / y...

2 years ago

1 answers
43 views
0
Refresh Android Studio

I'm making a simple soccer-related application.I want to make a team management page in the league, but after saving the results of web crawling in Python to mysql Using php language, spray it on the ...

2 years ago

2 answers
52 views
0
Create a two-dimensional array with 2d coordinates as elements in numpy

Hello, I'm asking you a question because I encountered a difficulty in creating an array with numpy.Now we want to create a two-dimensional array with two-dimensional coordinates (x, y) as an element....

2 years ago
« - 285 - »

© 2024 OneMinuteCode. All rights reserved.