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
40 views
0
Flipping strings in Python

I looked up str object and there was no reverse functionWhere can I find it?

2 years ago

1 answers
103 views
0
Textvariable error on Python tkinter module Label...

import tkinterwindow=tkinter.Tk()window.title(Composing Program)window.geometry(700x700+0+0)window.resizable(False, False)o=4def octaveDown(): global o o-=1def octaveUp(): global o o+=1down=tkinter.Bu...

2 years ago

1 answers
39 views
0
Using Python 3 on Linux

You must use Python 3.6 on Linux.Even though I set the alias python='/usr/bin/python3,6', the python 2.7 version was executed I went into the /usr/bin folder myself and looked at it, but there seems t...

2 years ago

1 answers
44 views
0
Filling 0 before string

I'm going to print out a number, but I want to make it 5 digits no matter what.For example, print(3) = 00003print(50000) = 50000print(723) = 00723Like this!How can I make it short?

2 years ago

1 answers
140 views
0
I want to know how to read a binary file one by one

I wonder how to read binary files by 1 byte!In the file io I've learned so far, the only way to read one line at a time was to read multiple lines at a timeThen is there a way to read one by one like ...

2 years ago

1 answers
127 views
0
How to read JSON files in Python

I made a code to read the entire Json file with PythonIt won't go back And I don't read the entire fileI want to use each of themWhat should I do?{ maps: [ { id: blabla, iscategorical: 0 }, { id...

2 years ago

1 answers
105 views
0
How to leave a comment of a function folded in the piecham on the line where the function is defined

Press Ctrl+Alt+T to set the folding settings for a specific section in the pie chamber. It looks like this:# pragma region This is the folding sectionBlah blah# # end regionThis folds as shown below[G...

2 years ago

1 answers
11 views
0
Why is the ['...'] in Python?

I showed the data on the prompt as I wanted.I took the pdf link as a regular expression, but I think it's in the string format.The problem is ['........................'] I want to remove it, but I ca...

2 years ago

1 answers
122 views
0
To convert a hex string to an integer

in python scriptWhen the string stores hexadecimal digitsHow do I convert this string to int?For example,str1 = 0xffffstr2 = ffffWhen we're together

2 years ago

1 answers
94 views
0
Why can't Python annotate multiple lines?

Why can't Python annotate multiple lines?I know that you use or ' to process multiple lines, but technically, it's right to classify it as a string, so I exclude it.Other languages support multi-line...

2 years ago
« - 327 - »

© 2024 OneMinuteCode. All rights reserved.