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
17 views
0
I would like to get a post of weibo from python, but I get a TypeError.

I would like to use the program below to get a post on weibo from python. from weibo import ClientAPI_KEY='294703483' #appkeyAPI_SECRET='a2ef9de0a580edb7a26daf2804d27624'#appsecretREDIRECT_URI='https:...

2 years ago

1 answers
193 views
0
I want to run pyautogui without remote connection on Windows 10 in the cloud

I'm trying to automate my work using pyautogui in windows built on the cloud, but even if I start pyautogui on a session logged in with a remote connection, if I disconnect (disconnect) the remote con...


1 answers
40 views
0
Data Frame Nan and None Comparison

Python's Pandas has two data frames raw1, raw2, and I would like to output only the different ones (x1!=y1 or x2!=y2) comparing raw1's x1, x2 and raw2's y1, y2, but the missing value is nan on one sid...

2 years ago

1 answers
34 views
0
I don't know what the error means for PEP8

I read the PEP8 document, but it was my first time.Honestly, I don't know how to fix it, so I would appreciate it if you could point it out.Error Message too many blank linesError Message Location def...

2 years ago

1 answers
96 views
0
The pip install pandas will not be able to build the wheel.

I'm a python beginner.The environment is Windows 10, Python 3.8.0.I'm using VScode.pip install pandas displays the following:Could not build wheels for numpy, since package 'wheel' is not installed.Co...

2 years ago

1 answers
19 views
0
Unable to download from pytube

I am a person who writes scripts using pytube and downloads video files from youtube.I was able to download it smoothly until yesterday, but suddenly I can't.Try running the script in Pycharm I got an...

2 years ago

1 answers
61 views
0
Deployment Fails in a Sagemaker Environment

PrerequisitesWe are creating a TTS system using acoustic models with aws' sagemaker.What do you want to doI would like to deploy an acoustic model with sagemaker.Problems/Error Messages you are experi...


1 answers
68 views
0
I want to filter the parent value from the child model with Django reverse reference and extract the data.

I am currently doing a tutorial on Django, but I would like to filter out the values in views.py on the model below, but I don't know how to write the code.Could you please let me know the details?I w...

2 years ago

1 answers
15 views
0
The error in finding the distance between the two points is invalid syntax.

Two points (cospi/3, sinpi/3) and (-exp(2), log(10)I wrote the following code to find the distance.import pathdef distance (x1, y1, x2, y2): return((x2-x1)**2+(y2-y1)**2)**0.5print(((math.cos(math.pi/...

2 years ago

1 answers
17 views
0
Recommended books for python 2.7 data structures and algorithms

I am currently using Python (series 2), but I would like to study because I have little understanding of data structure and algorithms.I understood that there are various summary sites and study sites...

2 years ago
« - 133 - »

© 2024 OneMinuteCode. All rights reserved.