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
114 views
0
How to Expand Variables When Running the grep Command on Python

In the code below, only the one in the test.txt from the array using grep is I'd like to print out , but I don't know if the grep output is stored well in the variable, but I get an error no matter ho...

2 years ago

1 answers
64 views
0
Cannot load Tensorflow module

I'm a Python beginner.I would like to ask an expert to tell me something.Command Prompt for anaconda Virtual Environment conda install tensorflowEnter to install tensorflow.import tensorflow as tfI be...

2 years ago

2 answers
41 views
0
I want to remove rows from csv according to the conditions in pandas

I would like to read csv in Python's pandas, delete the line according to the conditions, and print it to a new file.If the csv file (list1.csv) is as follows, focus on time2 and delete three of the o...

2 years ago

1 answers
82 views
0
Error trying to save retrieved image: "FileNotFoundError: [WinError3] The specified path could not be found."

After using the Jupiter Notebook in Windows 10 and installing the module with the pip command after obtaining the Flicker API key, the following program results in an error:How should I deal with it?P...


1 answers
150 views
0
NetworkX Network Analysis Errors

Network with NetworkX's Kernighan-lin algorithmI tried to split the data, but I failed with the following error.I would appreciate your advice.IndexError Traceback (most recent call last) in () 17 for...

2 years ago

1 answers
142 views
0
I want to make the size of the graph automatic with plotly.

What should I do if I want to make a graph by specifying the size of the graph once and then automatically mold the size of the graph?The purpose is to create a graph that automatically changes size a...

2 years ago

1 answers
39 views
0
I want to add new columns using different rows of data in Pandas.

For DataFrame that you have already created, you would like to include the appropriate values under certain conditions in the new column that you are adding.This time, I brought the data of the game t...

2 years ago

1 answers
133 views
0
conversion from numpy to pytorch

I'm working on a prediction program for machine learning, and I'm working on two models: the one written in tensorflow and the one written in pytorch.I'd like to convert a prediction model written on ...

2 years ago

4 answers
65 views
0
What package management tools should I use for python?

ruby allows you to manage the packages you need for each project with gemfile, but What should I do with python?By the way, we are planning to develop using django.

2 years ago

1 answers
18 views
0
Can I set a variable for the argument of the with open function in python?

using pythonwith open('n.text','w')If so, I would like to write the file instead of n=100, is there a good way?

2 years ago
« - 183 - »

© 2024 OneMinuteCode. All rights reserved.