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
116 views
0
[Python] If an error occurs during crawling repetition, I ask you to re-run the repetition statement.

Hello, we are producing a Python crawling program through the request module.After starting crawling in the program you are designing, due to a network error, etc. I wonder if there is an error in the...

2 years ago

1 answers
26 views
0
I'm a beginner. I want to use Python while statements in duplicate, but it doesn't work.

What I want to do with Python,Out of a certain number of D10 dice, roll back the number of dice that are more than a certain number and roll back the number of dice that are more than a certain number...

2 years ago

1 answers
18 views
0
Idle for terminal?

https://tqdm.github.io/The tqdm GitHub main page contains an example gif image of the module.If you look at this gif, it looks like it's being used in a terminal, but there are commands that are avail...

2 years ago

1 answers
89 views
0
I'd like to specify a specific order when selecting Python characters randomly, is it possible?

d = np.random.choice(['A', 'B', 'C', 'D'], 30, p=[0.4, 0.4, 0.1, 0.1])print(d)From the above code Can I set it to turn the same character back to random if it comes out 3 times in a row like AAA?I'd l...

2 years ago

1 answers
24 views
0
[Python] I can't solve the problem of marking the excel sheet with specific words

# Writing Codefrom time import strftimefrom openpyxl import Workbookwb = Workbook()ws = wb.create_sheet (test)wb.remove_sheet(wb['Sheet'])ws.append ([Name, Content, Shipping, Installation, Price])cont...

2 years ago

1 answers
61 views
0
Question when adding conditions including external functions to function parameters.

Python function question.For example, an external function a returns the current temperature In creating a function b that operates according to temperature, def b (c = True): while true: if c: Turn...

2 years ago

2 answers
49 views
0
The list itself is input, so how can I get it entered?

x = [1, 3, 5] This is the input value, but what I've learned so far is map, split, and so on, I can only enter the values listed in this way 135, but I don't know how to input the list itself.

2 years ago

1 answers
24 views
0
To remove Python deduplication

word_list = [cat, dog, rabbit]letter_list = [ ]for a_word in word_list: for a_letter in a_word: letter_list.append(a_letter)print(letter_list)How do I get the output value without duplication?

2 years ago

1 answers
162 views
0
Python if continue in the door

//import randomprint (Name Generation)Main character = input()print The name of the main character f{Heroine})while 1: power = random.randrange(3, 9) health = random.randrange(5, 9) mana = random.rand...

2 years ago

1 answers
50 views
0
I want to apply all the files in the folder as a for statement.

Hello, my code is as follows.import osfile_list = os.listdir ('path with file')file_list# Save the file name you want to run in file_list (csv file)for i in file_list: data = pd.read_csv (where f'file...

2 years ago
« - 465 -

© 2024 OneMinuteCode. All rights reserved.