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
107 views
0
How to make python pandas datetime conversion jobs faster to numpy

The data in df[click] is in the form of a string yyyyymmddHHMMSS as shown below. [20211122000000, 20211122000000, 20211122000000, 20211122000000 ...]The code below is being used to convert to datetime...

2 years ago

2 answers
16 views
0
Error implementing phone book using Python pickle

[Program Design]Separate the following functions into functions.[Phonebook] Pickle Module import pickle phoneDic = { Kim Gap-soon: ** Preventing exposure of mobile phone numbers to protect personal in...

2 years ago

1 answers
58 views
0
Python dataframe re.sub Post a question.

The API information is being preprocessed using a data frame.In order to eliminate useless text, re.subfunction was used as below.import reimport pandas as pdregex = \(.*\)|\s-\s.*df = pd.dataframe(re...

2 years ago

2 answers
19 views
0
Python is expressed in an equivalent sequence.//

import randomimport mathimport numpy as npimport pandas as pdimport xlwings as xwarr1,arr2,arr3 = [],[],[]arr4,arr5,arr6 = [],[],[]arr7,arr8,arr9 = [],[],[]arr10,arr11,arr12 = [],[],[]arr13,arr14,arr1...

2 years ago

1 answers
14 views
0
Add a number in the Python list

a = [1, 3, 5, 10, 12]a = [31]Can you add numbers in the same list like that?

2 years ago

1 answers
43 views
0
I want to get the total number of numbers on the list, so I can hear the question!

import numpy as npimport osimport reseoul_file = open(seoul.txt, r, encoding = utf8)seoul = seoul_file.read().splitlines()print (Seoul Data Receivedseoul_file.close()time12_seoul = []date12_s = []date...

2 years ago

2 answers
137 views
0
I'm asking if I can loop around the coding beginner list slice.

I'd like to cut and print the bottom list combination of 5 pieces, so can you make the list slice range with a loop and make it automatically??num = int(input())moc = num//4namu = num%4like = 0hell = ...

2 years ago

2 answers
138 views
0
Converting ISO2 code by Python basic country to continental name

Hello.In order to convert the country-specific ISO2 code to a continental name, try for 5 hours and then post a question because it gets stuck.First of all, I modified the code that I got through Goog...

2 years ago

1 answers
53 views
0
Question about Python list.

import random#Types of food food_kind = [Korean food, Chinese food, Western food, Japanese food, Asian food, Snack food]food_kind_detail = [food_kor, food_chi, food_west, food_jpa, food_asia, food_sfo...

2 years ago

1 answers
60 views
0
Python Web Input Processing

@app.route(/users/<userid>, methods=[GET, POST])def user(userid): if not id in session: return redirect(/login) if request.method == GET: user_info = fc.guild_user(session[id], userid) if use...

2 years ago
« - 437 - »

© 2024 OneMinuteCode. All rights reserved.