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
35 views
0
What happens if I write this FizzBuzz code in Ruby in Python?

I usually use Ruby. I started studying Python, but I was having a hard time, so please let me know.class FizzBuzz def self.fizz?(i) i>0&(i%3) == 0 end def self.buzz?(i) i>0&(i%5) == 0 en...

2 years ago

1 answers
34 views
0
The exe file created by pyinstaller does not have an extension and does not start.

In Python 3.6 environments, you are trying to exe a simple script that displays hello.When you run pyinstaller test.py --onefile, the following display appears, and the dist folder prints a test file ...

2 years ago

1 answers
25 views
0
I want to have another name on the supervisor web console.

I am using the supervisor web console.By default, the /etc/supervisord.conf file set to program is It will come out as it is, so Is it possible to use Japanese under another name?Even if I input the p...

2 years ago

1 answers
68 views
0
I don't understand the flow of the correlation matrix calculation

I don't understand the flow of the correlation matrix calculation.#Create correlation matrixR=np.corrcoef(X.T)# set the diagonal component to zero_R=R-np.identity(10)# Get index with maximum correlati...


1 answers
57 views
0
I cannot install matplotlib on python 3.7.

Download matplotlib-3.0.2-cp37-cp37m-win_amd64.whl from https://pypi.org/ and click from the command prompt.c:\Users\ーSername\Downloads>pip install matplotlib-3.0.2-cp37-cp37m_amd.whlEven if I try ...

2 years ago

1 answers
62 views
0
I want to extract two path elements from the end of the URL.

For example, https://example.com/theater/13/130301/3271/Represents ISBN from the URL 130301/3271/I would like to extract as a key.sre_constants.error:missing), unterminated subpattern at position 1I g...


1 answers
38 views
0
I want to access the text file in pyz

python 3.x I used the zipapp module to create a pyz archive file.If pyz contains a text file, how do I access it?In the case of Java, I think I can read the text in the jar file, but is Python impossi...

2 years ago

1 answers
75 views
0
Retrieving data across multiple pages in the API in Python

I want to frame the JSON I got from the API in PythonContinued with With the code below, the same page will be removed even if i looped with numbers.Is there any way to avoid this?Or is it not support...

2 years ago

1 answers
37 views
0
Error in converting object type data to int type

The data I read in csv was read as an object type, and when I converted it to int type, I stumbled due to an error like the one in the attachment.I have looked into various methods, but I cannot solve...

2 years ago

1 answers
26 views
0
I want to read data using sikuli and Python.

I've never touched a program before, so I'm going to create it.We are at a standstill.I'm a complete beginner, so please let me know if I can't do it.EnvironmentWindows 10office2016SikuliIDE 1.1.1 Wha...

2 years ago
« - 167 - »

© 2024 OneMinuteCode. All rights reserved.