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
112 views
0
I have a question for Python web crawling.

import requestsresponse = requests.get('http://?????/')html = response.textfrom bs4 import BeautifulSoupsoup = BeautifulSoup(html, 'html.parser')for tag in soup.select('tbody'): print(tag.text)I dele...

2 years ago

1 answers
120 views
0
I changed only one element in the list, but the whole element changed. Why is that?

[[1, 1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1]] I wrote it like this. myList = [[1] * 4] * 3I changed only one value at the beginning, but the whole value of the element changed.myList[0][0] = 5 #[5, 1, 1,...


1 answers
39 views
0
How to create a chrome window again after closing the chrome window with webdriver.close() in Python selenium Question

When you run driver = webdriver.chrome(), Chrome driver executable (?) window (dos-like window on a black screen) and Chrome browser window It's on the screen together.Since then, only the Chrome brow...

2 years ago

1 answers
12 views
0
Can you make this program with Python?

I just started learning programming I am a student who studies Python alone.I studied many functions and functionsI have no idea how to make the program.I want to make a schedule program for fun.For e...

2 years ago

1 answers
15 views
0
How do I make the ini file?

I made a file called config.iniI'm trying to save information similar to passwords.I wonder how to make the ini file;;(The book is very unfriendly) Do I just make it into a txt file and change the ext...

2 years ago

1 answers
69 views
0
I have a question about slicing the Python list.

[start:end:step] when slicing the list.a=[1,2,3,4,5]a[:] #[1,2,3,4,5]a[0:5] #[1,2,3,4,5]with the same return valuea[::-1] #[5,4,3,2,1]a[0:5:-1] #[]For a[0:5:-1], the return value is changed by the emp...

2 years ago

1 answers
13 views
0
An error occurs when trying to convert a Python 3 string to an integer if a non-numeric character exists

While(correct_count) I need to fix this print(Input Error)When you press enter without a fixed income power It goes like this.What should I do?

2 years ago

1 answers
29 views
0
Calling C/C++ on Python

I want to use C/C++ libaray in Python, how can I bind it?

2 years ago

1 answers
114 views
0
Simple question! Please answer quickly (Error in Python list?

a=b=[0]print(a[0])b[0]=1print(a[0])Why was the value of b automatically substituted for the value of a when the value of a was not adjusted except when the list was first declared in the code above? I...

2 years ago

2 answers
46 views
0
Enter the date of the Python code that tells the day of the week.

I'm working on a code that tells me the day of the week when I write the date.First of all,import datetime def print_whichday(year,month,date)r=[Monday, Tuesday, Wednesday, Thursday, Friday, Saturday,...

2 years ago
« - 318 - »

© 2024 OneMinuteCode. All rights reserved.