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
54 views
0
When you use `|` with a group in Python re.sub() regular expression, you want to use a matching string in the string to be replaced.

What should I do if I want to use the matching string in re.sub() as the replacement string?I follow the method described in the document, but it does not print well.Current state codeimport reif__nam...


1 answers
90 views
0
Blobstore Python API Tutorial Does Not Work

https://cloud.google.com/appengine/docs/standard/python/blobstore?hl=jaI am doing the above tutorial, but it doesn't work.The source code remains unchanged. from google.appengine.api import usersfrom ...


1 answers
52 views
0
About Splitting and Combining Records

If you divide 10000 Byte records into 1000 Byte records, you can have 10 1000 Byte records, but the first record remains the same, and for the next nine records, you can delete 10 Byte from the beginn...

2 years ago

2 answers
20 views
0
CSV output of all the results of scraping multiple-page tables

I am able to scrap a multi-page table, but I am having trouble because I cannot output all of the results to CSV.In the code we tried, only the table obtained from the second URL is printed as a CSV.P...

2 years ago

1 answers
128 views
0
I don't know how to specify a file name when downloading files from Selenium using Chrome.

From Selenium, I was able to automatically operate Google Chrome and click on the CSV download button element to download it.When I download it, the Save As dialog appears. How do I specify where to s...


1 answers
108 views
0
Want to speed up Python programs that retrieve results from APIs

What do you want to solveThis is my first time to write a proper code, but sometimes it takes 5 minutes to execute, and I thought there might be a place where I can do it faster depending on how I wri...

2 years ago

1 answers
78 views
0
ImportError: cannot import name '_path'

I am trying to use Azure's Computer Vision API in Python (Anaconda3).After using the sample code provided by MS in github, There is an error and it cannot be resolved.[Code] import timeimport requests...

2 years ago

1 answers
18 views
0
I can't use the dictionary function well with pod.

The code below for making bot is not recognized except Hello, and it does not respond well.The input character is utf8 and python is version 3.6.bot_dict={ Hello : Konnichiha, 'Thank you': 'Dowitashim...

2 years ago

3 answers
21 views
0
I want Python to bit shift the entire 32 one-dimensional arrays.

Thank you for your help.[Used language] Python 3 [What do you want to do?] Now in the Byte (8-bit) length array (list) variable a[32]  If you consider the entire 32 Byte to be a 256-bit column,   I'd ...

2 years ago

2 answers
50 views
0
high-speed calculation of vectors and matrices

Please tell me how to do the following calculations at high speed.import numpy as np# It's actually about 100,000 long.a = np.array([1, 2, 3], [4, 5, 6]])# It's about 100,000 feet long.b=np.array([[1,...

2 years ago
« - 150 - »

© 2024 OneMinuteCode. All rights reserved.