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
92 views
0
When collecting data through web scraping, the classes are the same

Hello, I'm a beginner at Python.I'm doing web scraping on a site called fnguide, and I want to find the necessary dataBoth classes are the same.Ha...This is really unexpected, so I'm embarrassed.How d...

2 years ago

2 answers
15 views
0
Python character extraction, latitude and longitude extraction with geopy.

import refrom geopy.geocoders import Nominatimfrom pprint import pprintimport pandas as pdn = input (Please write your current location:)app = Nominatim(user_agent='tutorial')location = app.geocode('{...

2 years ago

1 answers
87 views
0
Python Text File Questions: When you type a number, you add the numbers in the file to save them to the file

Is there any code that can be modified by opening a text file (.txt)? If I type a number, I want to add the numbers in the file to make it possible to save it in the file, so I'd appreciate it if you ...

2 years ago

1 answers
15 views
0
In this part readlines areas that don't understand!

For example, the contents of the txt fileAssuming your name, weight, and height,f =open(~.txt, r)print(f.realines())f.closeI understand that if you write it like this, it's printed in a list format.By...

2 years ago

1 answers
11 views
0
About self while learning Python class

class file: def __init__(self, mp3, mp4, txt): self.mp3 = mp3 self.mp4 = mp4 self.txt = txtI don't know why I have to do this. What happens if self.txt = txt doesn't process this?I don't understand...

2 years ago

1 answers
15 views
0
Python Ranking Features

I'm creating a ranking function with Python.I want to put a number in front of the ranking, what should I do?with open(d:\ZeroBOT\Json_File\main.json) as f: lvs = json.load(f) v1_sorted_by_lvl = sorte...

2 years ago

2 answers
97 views
0
Senior artists. I have a question about the Python Tkinter button stopping.

Hello.I'm a beginner who is studying Python.I'm just making a program that takes a simple screen shot using Python Tkinter.I'm asking the seniors like this because there's a stop phenomenon with the f...

2 years ago

1 answers
101 views
0
Python folium, geojson, csv questions. UnicodeDecodeError: 'cp949' codec can't decode

Below is the code that I made. #-*- coding: utf-8 -*-import foliumfrom folium import pluginsimport pandas as pdimport jsonimport geojsoncountry_data='row_deal_s.csv'df = pd.read_csv('row_deal_s.csv')d...


2 answers
15 views
0
Divide one array into multiple arrays. Divide by an array of adjacent integers.

array([ 57, 58, 59, 60, 61, 78, 79, 80, 81, 82, 83, 101, 102, 103, 104, 105, 106] These arrangementsarray([57,58,59,60,61]), ([78,79,80,81,82,83]), ([101,102,103,104,105,106]) Is there a way to conve...

2 years ago

1 answers
108 views
0
To change a character to a time form in Python

Hello.Python used an external api to call up the time3m 32s and 1h 23m 6s are written like this.How do I change it to separate it into a colon by two digits like 00:03:32 and 01:23:06?It's kind of vag...

2 years ago
« - 403 - »

© 2024 OneMinuteCode. All rights reserved.