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
19 views
0
I want to create a program that outputs 5 even numbers starting with 2 in order from the smallest number.

What should I do if I want to create a program that outputs five even numbers starting with 2 in order from the smallest number?I know the code to make it even, but I don't know the future.n=0while %2...

2 years ago

1 answers
51 views
0
I gave it to the placeholder of tensorflow, but if the shape is different, I get scolded.

MNIST handwritten character recognition with two layers of NNHere's the code: gistIf you run summary_op in the 12th Cell if, the error will fail.Is the shape of x(name=input_x) strange?That seems to b...

2 years ago

1 answers
77 views
0
Python CSV output does not work.

Attempted to output the scraping that I tried while imitating.However, the output is only similar to the attached image.There are no specific errors, but I would appreciate it if you could tell me whe...

2 years ago

1 answers
22 views
0
About the book Cyber Security Programming

I'm reading a book called Cyber Security Programming - Hacker Thinking in Python, but I'm stuck with NetCat Replacement.How should I try it on page 24?Also, I don't use KaliLinux because I use Pycharm...

2 years ago

1 answers
76 views
0
DISPLAY METHOD OF ARRAY OF DATA RECORDED IN POLAR COORDINATE BY COLOR MAP

The purpose is to display the physical amount in a two-dimensional array of angle and radius coordinates in a color map.Currently, we are able to convert data from polar coordinates to x and y coordin...

2 years ago

1 answers
118 views
0
Raspy to Arduino: SPI transmission/reception timing incorrectly corrupted

Hi Now I'm creating a program where Razpai generates 4 bytes, sends them 1 byte each, connects them when Arduino receives 4 bytes, and restores the information. I wanted to send you a float. (To be ho...


7 answers
20 views
0
How to use "with" statements other than file I/O

I often see Python with statements about file I/O, but is there any other way to use them?Other than with open('myfile')asf:, do you see any examples of using or using the with statement?

2 years ago

5 answers
21 views
0
About conditional branching using a two-dimensional array in python

2D array li available li = [[0,0,0], [0,2,0], [0,1,0], [0,0,0], [0,3,0], [0,0,0]]The number in the middle column of the two-dimensional array li (0,2,1,0,3,0), (Question 1) Decide if at least one numb...

2 years ago

1 answers
104 views
0
ValueError: I want to resolve Series can only be used with a 2-level MultiIndex

I'm a beginner who just started Python last weekend.I want to create a tool to capture the net database and analyze it in a fixed-point manner, so I'm working on it while researching it.If you are fam...


2 answers
88 views
0
About Saving Tweets from Python

I want to save the tweet below, but it doesn't work.Running python intento.py > result.datI wrote #-*-coding:utf-8-*-from tweet.streaming import StreamListenerfrom tweet import OAuthHandlerfrom twe...

2 years ago
« - 100 - »

© 2024 OneMinuteCode. All rights reserved.