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
93 views
0
Unicode error when opening CSV file in Python with Try, Exception statement

Re-upload with a little more complement from the previous question.Code that reads CSV files from the specified folder and writes columns to a new CSV file.If you open the file with try and get an err...

2 years ago

2 answers
45 views
0
Python question!

I'm writing the code below.The first time you run it, the result is It's a. That's it. It's m. It's like this. When you press the switch, you want to go to abcd[3] and create a loop that expresses the...

2 years ago

1 answers
50 views
0
Please tell me how to combine multiple lists in Python

list1 = [1,2,3]list2 = [4,5,6]list3 = [7,8,9]When you say there's something like this,result = [1,2,3,4,5,6,7,8,9]Please tell me the function that makes it list1.append(list2)If you do[1, 2, 3, [4, 5,...

2 years ago

1 answers
68 views
0
[Python] When importing your own files, how do you handle other libraries that you need?

For example,There's a file called that's a collection of handwritten functions called functions.pyI want to retrieve these functions from abc.py and use them. At that time, if the functions defined in...

2 years ago

1 answers
92 views
0
Can I convert a Unicode string to a regular string (including $$)?

Is it possible to convert a Unicode string to a regular string?If it's just an alphabet, I'll do something about it, but in addition to the alphabet, it also contains special characters such as , and ...


1 answers
104 views
0
Why do you define main() instead of just using it?

def main(): # Which chord?if __name__ == __main__: main()Why do you just do it like that from the top of the file when you have to define the main() in this way?

2 years ago

1 answers
113 views
0
I have a question about the Python grouping module.

words = ['abc', 'cab', 'cafe', 'goo', 'face']from itertools import groupbya = [list(group) for key,group in groupby(sorted(words,key=sorted),sorted)]print(a)I found a module in Python that groups anag...

2 years ago

1 answers
55 views
0
About how to specify the x-axis y-axis range in matplolib

In the code below, you want to limit the y-axis from 0 to 1000 for the second plot.FFT has an infinite number, so I'm just going to cut it to the top 1000.import scipyfrom matplotlib import pylabxs = ...

2 years ago

1 answers
104 views
0
There is no error in python3 crawling, but html does not appear

import requestsfrom bs4 import BeautifulSoupurl = https://upbit.com/service_center/noticeresult = requests.get(url =url)bs_obj = BeautifulSoup(result.content, html.parser)print(bs_obj)There is no erro...

2 years ago

2 answers
14 views
0
I want to shorten the length of the Python cord

button1 = Button(window,text= ,bg=skyblue,command=process1)button2 = Button(window,text= ,bg=skyblue,command=process2)button3 = Button(window,text= ,bg=skyblue,command=process3)button4 = Button(window...

2 years ago
« - 306 - »

© 2024 OneMinuteCode. All rights reserved.