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
51 views
0
(Modified) I want to separate letters and numbers from Python Data Frame and make them into new columns.

Hello, I'm a beginner studying DataFrame at Python.I want to distinguish between letters and numbers in the specific column of the df. I looked it up and it seems like you're using the import re. I do...

2 years ago

1 answers
90 views
0
Can I use a different version of a library like Python?

I'm using Transformers for PythonIt's compatible with the old version of the library In one Python,I want to use both versions of 3.01 and 4.10 together, is there a way?

2 years ago

1 answers
21 views
0
python pip installation issue

Pip installation does not work I did the above picture with powershell and did the same with cmdWhy is it like this when the environmental variables are set to fit?It is installed by default in Echo v...

2 years ago

1 answers
17 views
0
I'm a beginner at Python

with open('weather.txt', 'r', encoding='utf8') as weather_file: date = input ('What's the date today?') contents = weather_file.readlines()[int(date)] print(contents) If contents == 'Rain' or contents...

2 years ago

1 answers
87 views
0
I want to switch frames in Python tkinter, but I get a maximum recursion depth exceeded error.

from tkinter import *class myApp(Tk): def changeFrame(self, classParam): # # if self.nowFrame: # # self.NowFrame.destory()# An error occurs in this part. self.nowFrame = classParam self.nowFrame...

2 years ago

1 answers
61 views
0
How can I find the bounding box center coordinates (x, y) using Python?

The above bounding box center coordinates (x, y) are normalized from 0 to 1 for image size 288.AndThe size of the bounding box is normalized from 0 to 1 for image size 288.Example: 0.426259 0.311151 →...

2 years ago

1 answers
92 views
0
Is there a way in Python DataFrame to store a specific value position (row or column) and a specific number of values in each variable?

Hello, I'm Python beginner who is learning Python dataframe.fori in range(len(df)) if df1.loc[i, idx1]==HELLO : cnt1=cnt1+1 num=i df2.loc[10, 'idx8'] = df.at[i,'IDX8']There's a code like this, but ...


1 answers
42 views
0
I would like to combine the data of the Pandas data frame for 3 days into one Row.

Hello. I'm pre-processing the Pandas data frame data, but I'm inquiring because there's a blockage.What I want to do first is to combine three days of data into one Row per Oper, as shown in . For exa...

2 years ago

1 answers
91 views
0
I would like to ask you to extract only the English part of the Python string.

Hi, everyone. I'd like to extract a specific string with Python.I want to extract only the English part.Question number 1 (only the English part changes, and the rest are all the same structure.) [Inf...

2 years ago

1 answers
17 views
0
This is a question about changing the button when Python Windows is running

from tkinter import *window=Tk()button1=Button (window, text=Button1)button2=Button (window, text=Button2)button3=Button (window, text=Button3)button4=Button (window, text=Button 4)button1.pack()butto...

2 years ago
« - 429 - »

© 2024 OneMinuteCode. All rights reserved.