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
119 views
0
Python - Telegram conversation robot While non-working error question.

Hello!Currently, we are making a coin alarm bot using Telegram with Python.I'm a total beginner, so I'm looking for it on Google.If you create a conversation bot and send a command as shown below, the...

2 years ago

1 answers
45 views
0
Panda's Setting With Copy Warning question

# Skip the top partm = dom_int_skd.ETD < dom_int_skd.STDdom_int_skd['DLA'] = dom_int_skd.ETD[m] + timedelta(1) - dom_int_skd.STDdom_int_skd.DLA.fillna(dom_int_skd.ETD - dom_int_skd.STD, inplace=Tru...

2 years ago

1 answers
18 views
0
I have a question about Python code execution and core allocation.

It wouldn't matter if I could run just one Python code.I wonder how cpu will be allocated when operating different Python codes.As far as I know, Python uses only one core unless it is multiprocessed....

2 years ago

1 answers
19 views
0

1 answers
83 views
0
Add Python dictionary values and output them as strings

class HashMap: def __init__(self): self.vals = {} def insert(self, key, val): self.vals[key]= val def __str__(self): result = '' for i in self.vals.items(): result = result + str(i) + ',' return...

2 years ago

1 answers
17 views
0
Python init

In the same conditions as above, I coded as below, but do I have to include renting a car in one init?(I couldn't do it when it wasn't a new car and a new car yet.)class Car(): def max_fuel(self,maxfu...

2 years ago

1 answers
19 views
0
This is a question about making 369 games related to Python.

With Python, I want to start with a number 1 as an input, and then I want to make a game of 369 so that the computer outputs a number or a pair for every number that goes into it. Also, I want to make...

2 years ago

2 answers
42 views
0
Python error: NameError: name 'new' is not defined

class S(Car): def __init__(self,type_=): self.maxfuel = 60 self.fueleconomy = 10 if (type_ == new): self.type_ = new elif (type_ == old): self.type_ = old else: print(Choose only one of the ne...

2 years ago

1 answers
16 views
0
syntax error workaround

keywords_in_abstract = []for ab in downloaded_abstracts: keyword_box = [] words = ab.replace('.','').split(' ') for w in words: if w.upper() = disease: keyword_box.append(w.upper()) for w i...

2 years ago

1 answers
18 views
0
Python novice: print(some_function()) Why is None stamped at the end.

def num_of_day(year, month) : if (str(month).isnumeric() == 0) | (month < 1) | (month > 12) | (str(year).isnumeric() == 0) | (year < 0) : print('Something is wrong') elif (str(month).isnumer...

2 years ago
« - 419 - »

© 2024 OneMinuteCode. All rights reserved.