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
95 views
0
[openpyxl] load_workbook file import question

Ubuntu 18.04Windows 10Hansel 2014anaconda 4.6.14Python 3.7.2openpyxl 2.6.2PyQt5 5.12.2PyInstaller 3.4import osfrom openpyxl import load_workbookfilename = '/Users/feynman/Desktop/test.xlsx'# # filena...

2 years ago

1 answers
19 views
0
Python question

def Greeting(sentence) : Greeting_Keywords = [Hi, Hi, Hi, Hi] Greeting_Responses = [Hi, Hi, Hi, Hello] for word in sentence: if word.lower() in Greeting_Keywords : return random.choice(Greeting_Resp...

2 years ago

1 answers
20 views
0
It says Python indentation error, but I don't know what's wrong.

col, row = map(int,input().split())x = [-1, 0, 1, 1]y = [0, 1, 0, 1]cnt = 0mat = []for i in range(row): mat.append(list(input()))for i in range(row): for j in range(col): if(mat[i][j] == '.'): for k...

2 years ago

2 answers
64 views
0
Parse CSV file to json with Python, parse json to csv

Hello, I'm a total beginner in programming.I'm going to use Python Parsing json to csvParsing the csv (is that the term?) Is it encoding?I received a task to make it into a json fileOur current level ...

2 years ago

1 answers
82 views
0
Python multilayer list data processing question.

I want to make a list of sizes (900, 156, 2) by repeating the process of averaging 2496 data with axis=1 in a three-dimensional list of sizes (900, 2496,2) in 16 window sizes and returning it as a sin...


1 answers
55 views
0
How do I solve the pending phenomenon that occurs when I import data with Ajax + Python?

I use Python and Ajax to check the values in the database We used the JavaScript setInterval() function to check the value after a certain period of time. If you take the value from Python, you take i...

2 years ago

1 answers
62 views
0
[Python] Data frame. I'm working on a code that calculates only the rows

from pandas import Series, DataFrameraw_data = {'': ['2018-01-01 12:00:00 AM', '2018-01-02 12:00:00 AM', '2018-01-03 12:00:00 AM', '2018-01-04 12:00:00 AM'], 'drop': [None, 1, None, None], 'collect'...

2 years ago

1 answers
20 views
0
Python numpy, here's the question

I from itertools import permutationsa=permutations(['1','4','5','6','7','9'],6)This was done to obtain the results of a batch (by 6!) consisting of 1,4,5,6,7,9I'm going to do this with numpy. But I do...

2 years ago

1 answers
79 views
0
What error is no ciphers available? (Qpython)

I am using the QPython3 Android app and I installed the requests module with pip.import requestsreq = requests.get(http://google.com)print(req.text)If you enter the code as shown above, it will run no...

2 years ago

1 answers
20 views
0
To save Int to a list

def times(num): i = 1 ll = [] while i < 10: result = num * i ll = [result.append()] #problem i = i + 1 return llHi, everyone.If you enter a number of num in the function times(num), it would be ...

2 years ago
« - 263 - »

© 2024 OneMinuteCode. All rights reserved.