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
141 views
0
I'd like to get a voice message from Python as an event.

After converting the input voice into text, a program that outputs the appropriate answer (a line written in text) back to voice I'm making itRight now, I'm making sure that I keep going through infin...


1 answers
116 views
0
I'm asking you a question while studying Python commands.

I don't know what to do with Python, so I was studying the def syntax, and I asked because I had a question.The contents below are what I did.Questions Is there a way to use the def phrase as a plural...

2 years ago

1 answers
69 views
0
Reset sorting criteria

In general, it is sorted with the standard 0<1<2<3<4<5<6<7<8<9I would like to arrange it based on 1<2<3<4<5<6<7<8<9<0.I remember doing it in C++ a...

2 years ago

1 answers
95 views
0
How to crawl multiple pages of fixed url?

I'm practicing crawl, and I'd like to collect reviews on several pages as above.Page 1 barely succeeded in crawling, but from the next page Even if I go to the next page, the url doesn't change, so I'...

2 years ago

2 answers
18 views
0
From Python to os.What does Pardir mean?

import sys, osos.chdir(C:\Coding\DeepLearning)sys.path.append(os.pardir)import numpy as npfrom dataset.mnist import load_mnistfrom TwoLayerNet import TwoLayerNetIn this phrase, o.s.What does Pardir me...

2 years ago

1 answers
132 views
0
How can I write without using an ifelse statement in Python?

x= 2000y= 3000z= 3500a = int (input (Number of Americano Sales: )))b = int (input (Café latte sales count: )))c = int (input (number of cappuccino sold: )))t = x*at = t + y*bt = t + z*cprint (Total sa...

2 years ago

1 answers
18 views
0
Hello, please help me to list the results of Python!

x = (int(input(How many items do you want in your list? )))for i in range(1, x + 1): input(Enter string + str(i) + :)Put 4 list numbers here Enter string 1:AppleEnter string 2:ToyEnter string 3:Banan...

2 years ago

1 answers
34 views
0
[Simple] Accessing a property with Python variables

I have a question, but I can't find it well even if I search for it, so I'm askingIf the class foo has an attribute called bar, tmp = foo()tmp.bar You can approach it like this.If so a = when 'bar' Ca...

2 years ago

1 answers
115 views
0
I'm working on a code to input and output files on Python, but I don't know where I got it wrong crying

`python>inputfile=open(ALE.txt,r)outputfile=open(ALE2.txt,w)list1=[]for line in inputfile:Team,Won,Lost=line.split(',')Won=int(Won)Lost=int(Lost)Percentage=round((Won)/(Won+Lost),3)list1.append([Perce...

2 years ago

1 answers
99 views
0
Python tensorflow execution error.

I am currently studying TensorFlow Fault Neural Network.I'm studying using Jupiter laptop and Python version 3.6The above error occurred while using Jupiter laptop.The first error was that the as_matr...

« - 238 - »

© 2024 OneMinuteCode. All rights reserved.