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'm asking how to save data using openpyxl!

Data processed using for statement ex) x1= []for i in range(5): x1.append(random.uniform(0,10))How can I input the 10 values from into each cell of the Excel...?I can't input all of them randomly. I'm...

2 years ago

1 answers
101 views
0
How can I solve the problem of not being able to read the data when I crawl the web with Beautiful Soup?

I'm going to use Python Beautiful Soup to crawl the web.def scrapy(): url = 'http://cu.bgfretail.com/product/product.do?category=product&depth2=4&sf=N' source_code = requests.get(url) plain_te...

2 years ago

1 answers
18 views
0
The question is about Python Python. Please reply. "T"

Hello, everyone I'm a third year programmer.Recently, I started to study Python in earnest. However, program languages such as php and JavaScript have a lot of information on the Internet, but it is h...

2 years ago

1 answers
90 views
0
What method should I use to move files?

source_files = '/PATH/TO/DIR1/*'destination_folder = '/PATH/TO/DIR2'When the source and destination are decided like that, I want to move the fileI looked up the os module, but there is no copy functi...

2 years ago

1 answers
17 views
0
The first attempt is to receive it, but if you try it several times, it works X

def Input_stdid():stdId= while 1: stdId_temp=0 stdId_temp=input(Input stdudent id: ) for i in stdId_temp: if i in 0123456789 and len(stdId_temp)==8: stdId+=str(i) else: print(Wrong Input!) Input_st...

2 years ago

1 answers
53 views
0
Python - How to write new data after creating new csv files?

For example, I want to measure the price change for a specific item every time the program runs by time and save it as a file. If we do it as below, the existing contents of output.csv will disappear,...

2 years ago

1 answers
52 views
0
Python code question

one_more_input = yesuser_select = one_more_input.lower() if(user_select is yes or user_select is y): result = True else: result = Falseprint(result)We are creating a function that returns True if Y ...

2 years ago

1 answers
128 views
0
Python programs that read one character from the user

Is there a way to receive only one character as a user's input value? For example, if a user presses only one key on the terminal (for example, getch()), it is returned immediately. I know there are r...

2 years ago

1 answers
143 views
0
To compare multiple variables to a single value

I'm now creating a function that returns a string of three words by comparing several variables with one integer value. I wonder how to write this in Python. For example, x = 0y = 1z = 3Mylist = []if ...


1 answers
113 views
0
I have a question about deleting columns after grouping Python Pandas data.

%matplotlib inlineimport numpy as npimport pandas as pdimport matplotlib as mplimport matplotlib.pyplot as pltimport osdata_filename = 'Popular_Baby_Names'data = pd.read_csv(C:/Anaconda3/DataSet/Popul...

2 years ago
« - 274 - »

© 2024 OneMinuteCode. All rights reserved.