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
44 views
0
Draw again in the first line with python3

####This kind of pattern###########I'd like to output it side by side like this repeatedly.for_inrange(3): print(##\n##)does not print to the first line again.What should I do?Also, I would appreciate...

2 years ago

2 answers
42 views
0
Retrieve only screenn_name from string

I'd like to get RT-only accounts from tweets.I tried to delete only RT and blanks using the following method, but how do I set it to get only the characters @mikipddw2on11? *TweetRT @mikipddw2on11: To...

2 years ago

2 answers
187 views
0
Differences in evaluation between training and test data

I'm doing a competition problem with Python that predicts a certain number.We took only the available feature quantities from the given training data and similarly took the same feature quantities fro...


1 answers
111 views
0
AttributeError: module 'numpy' has no attribute 'bool_'

Virtualbox Ubuntu In Python Interactive Modeimport tensorflowI typed AttributeError: module 'numpy' has no attribute 'bool_'The error appears.When I entered import numpy, there was no error.Please let...

2 years ago

1 answers
91 views
0
Compute matrices in PyTorch

I'm using PyTorch to learn in-depth learning.I use numpy's np.tile and np.reshape in the forward calculation, but if I convert the Tensor type to numpy's ndarray type, the requirements_grad informatio...


2 answers
95 views
0
Python's input function reads up to the next line following the new line code on PyCharm.

We recently installed PyCharm Community Edition with Anaconda Plugin 2019.1.3.x64 on Windows 7 (SP1).So if you're running Python 3.7 code and you have multiple input functions and multiple lines of st...


1 answers
27 views
0
How to Resolve FileNotFoundError

I'm a beginner who started studying python recently.I read and write csv and xlsx files.In the process, when I entered the code below in the book, a FileNotFoundError appeared.The csv file exists beca...

2 years ago

1 answers
89 views
0
I want to find the red area for each divided image by dividing the image.

I'd like to divide the images into nine parts and find the area in red for each image.I tried my best, but if I move the code below, the same value will appear for 9 pieces.I'd like to find the one wi...

2 years ago

2 answers
66 views
0
Understanding How to Give Indexes When Converting a Numpy Array to Dataframe

When converting an n-dimensional numpy array to dataframe, we would like you to tell us how to create a data frame such that the first column of dataframe is a first-dimensional index, the second-dime...

2 years ago

1 answers
41 views
0
Understanding How to Link to a PDF Using PyPDF2

Python is trying to implement linking to an existing PDF with a page number in the lower right corner.I want to jump to the first page when I click on the page number in the lower right corner of a mu...

2 years ago
« - 56 - »

© 2024 OneMinuteCode. All rights reserved.