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
63 views
0
Converting Python strings to variable names

Hello. ^^I was making a programSelf the string delivered as a factor.Can we replace it with a variable?I'm asking this question because I'mFor example, this is the case.def a(self, string) : self.stri...

2 years ago

1 answers
67 views
0
Python unindent does not match any outer indentation level error.

import random as rd class Vocabulary: def __init__(self, wdict): self.words = wdict.copy() self.untrained = set(self.words) self.renew() def renew(self): self.target = list(se...

2 years ago

1 answers
150 views
0
Python: How to count the desired data values in a csv file

I want to count only the numbers between 500 and 550 in the csv file, how do I enter them?I used a Pandas module, and I want to get the result of a strong number (count) x 25 at the end, how should I ...

2 years ago

1 answers
42 views
0
[python] Pull the value of a specific key from json to make it a list

[ { A:C:/user/..., B:2 }, { A:C:/abd/..., B4 } ]When the above file is referred to as example.json, I would like to make a list by extracting only the values for key'A'. How can I code in this...

2 years ago

2 answers
45 views
0
[python] Save json

def lnktojson(lnkdata_path): file_list = glob.glob(os.path.join(lnkdata_path, '*.lnk')) json_data = [] for f_idx in range(len(file_list)): try: #save json data file = Lnk.file_open(file_list[f_idx]...

2 years ago

1 answers
41 views
0
Extract only certain values from json files

{ 1.png896616:{ filename:1.png, size:896616, regions:[ { shape_attributes:{ name:polygon, all_points_x:[ 286,284,...... ], all_points_y:[ 94,93,.... ] }, region_attribut...

2 years ago

2 answers
55 views
0
Python vs. Code Virtual Environment Execution Question!

If you set up a virtual environment, it should float like that, but I don't float like the bottomIt floats like thisI changed the course and ran itIt's being executed like this, but I don't know if th...

2 years ago

1 answers
19 views
0
Can I make a request for development here? It's a Python question.

I'm Parin, who posted a question a few days ago ㅠ

2 years ago

1 answers
56 views
0
I am leaving an inquiry because I couldn't click on Selenium Instagram Crawling's first post.

Hello! I've looked it up as much as I can, but it's really weird, so I'm asking!from selenium import webdriverfrom selenium.webdriver.common.keys import Keysfrom selenium.webdriver.chrome.options impo...

2 years ago

1 answers
54 views
0
Count the number of specific values in the numpy Count the number of specific rgb values in the image.

The numpy shape is It comes in this form, but I want to count each of these values when it's [255 255 255] It's different from the list, so I don't have a clue.The shape is (3024, 3024, 3) type

2 years ago
« - 418 - »

© 2024 OneMinuteCode. All rights reserved.