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
47 views
0
functions in python, questions about swap

*This is my first time asking a question, so I would appreciate it if you could accept it warmly.We created two functions min_index, selections as follows:j=min_index(A[i:]) A[i], A[i+j] = A[i+j], A[i...

2 years ago

1 answers
32 views
0
About Deleting a List Included in a Dictionary

list=[]dict={}key=sq{}.format(moji)list.append(su)dict[key] = list as{'Ah':['10', '20', 'i':['11', '21']}I included a list in the dictionary so thatI would like to delete the key 'i' and ['11', '21'] ...

2 years ago

1 answers
37 views
0
Data cleaning using Pandas is not going well.

After loading the csv, I want to use pandas to delete the comma (,) in the specified column, but it doesn't work.Executed the following code:import pandas as pdimport numpy as npimport matplotlib.pypl...

2 years ago

1 answers
65 views
0
What about Perl's require statement in Python?

Hi, I've been studying Perl for about five years, and I've decided to start studying Python. I'm a beginner.I'm currently thinking of creating a web application in Python, but Perl was able to load a ...

2 years ago

1 answers
63 views
0
How to retrieve the contents of the name tag in XML with BeautifulSoup

I am using BeautifulSoup4, Python 3.6.The parser is lxml-xml.Attempting to parse the following XML and get entry.name.string results in an error:<entry><name>Foo>/name>>80>/val...


1 answers
42 views
0
Pandas series mean value becomes nan value

We are complementing the missing value of application_{train|test}.csv in the kaggle Home Credit Default Risk.I would like to fill the following two characteristics with the average value, but mean() ...

2 years ago

1 answers
94 views
0
Understanding Django Runserver Vulnerabilities

I am trying to develop a web application in Django.So I was curious about the security of the runserver.Even though it's for development, I started the server, so I thought it might be a risk of being...

2 years ago

1 answers
94 views
0
I want to do a single regression analysis with python.

I'd like to do a single regression analysis on python's jupyter notebook, but one of the data is saved as df1, but the csv on the other x axis is not saved, so I'd like to do a single regression analy...

2 years ago

2 answers
21 views
0
Why is "None" coming up?

class Friend: def __init__(self, name, phone): self.name = name self.phone = phone def get_name(self, input_name): self.name = input_name def get_phone (self, input_phone): self.phone = input_phon...

2 years ago

1 answers
43 views
0
Use Python to transfer the contents of the list to Excel

filename = File name.xlsxbook = openpyxl.load_workbook(filename)# sheet extractionsheet = book.worksheets[0]# Enter datadata = []data_value = datafor row in sheet.rows: data.append([ row[0].value, r...

2 years ago
« - 192 - »

© 2024 OneMinuteCode. All rights reserved.