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
17 views
0
I want to import the turtle in VSCode, but the turtle canvas appears for a moment and disappears.

The textbook says you should enter the code using IDLE, but I don't like IDLE very much.Can you manage with Visual Studio Code?By the way, if you enter the code below in IDLE, it will work.Does the tu...

2 years ago

2 answers
17 views
0
I want to put the results of the for statement in the array.

Sorry for the simple question.def date(): for num in range (0,100): num+=1 print(num)What should I do if I want to put this result (all results from 1 to 100) in the array?

2 years ago

2 answers
76 views
0
Use Tweepy to learn tweets containing certain strings at regular intervals and tweet the sentences contained in those tweets

Currently, I am having trouble creating a twitterbot on Tweepy.I'd like to write a program where I learn tweets containing certain strings at regular intervals and tweet the sentences contained in tho...

2 years ago

1 answers
274 views
0
Error in x, y, and format string must not be None

I just started Python.import numpy as npimport matplotlib.pyplot aspltx = np.linspace(0,2*np.pi,50)def(x): np.sin(x) plt.plot(x,f(x),label='y')plt.show()where ValueError: x, y, and format string must...

2 years ago

1 answers
70 views
0
"_init__() missing 1 required positional argument: 'figure'" error when using scatter in matplotlib

I have a question about matplotlib.An error occurred while executing the following code:How can I set the figure argument?error message_init__() missing 1 required positional argument: 'figure'source ...

2 years ago

1 answers
20 views
0
How to write python list inclusions to remove duplication

Get a query_set and Due to duplicate values in hoge column, I would like to eliminate duplicates.I'd like to write this in a list format. How should I write it?want_list=[]pass_hoge_list = [ ]for i in...

2 years ago

1 answers
31 views
0
How to Find Dispatch Targets in pywin32

For example, when I use pywin32 to operate Excel, I think I should do the following.How do I check the Excel.Application part?If any application is operational, which string should I use?How can I fin...

2 years ago

2 answers
93 views
0
CMake Installation

When I tried to install cmake on LINUX, I got an ERROR. pip install --usercmake-3.18.4.post1.tar.gzProcessing. /cmake - 3.18.4.post1.tar.gz Installing build dependencies... error Complete output from ...

2 years ago

1 answers
32 views
0
I want to extract only certain strings from the csv file

When loading the CSV below and outputting the tweets, I would like to extract only accounts containing specific string retweets (RT@***) and reflect them in a separate column (test4).Install Python on...

2 years ago

1 answers
47 views
0
Error loading Pandas

I want to use pandas to load the csv file, but I get an error.Source Code (I omit parts that are unrelated to the error) import numpy as npimport cv2import pathimportosimport csvimport pandas aspddefm...

2 years ago
« - 151 - »

© 2024 OneMinuteCode. All rights reserved.