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
35 views
0
I want to rewrite only one element of the list in Python 3.

[0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...

2 years ago

1 answers
41 views
0
ImportError: cannot import name '_worker_manager_loop'

Traceback (most recent call last): File main.py, line 4, in <module> import data File D:\EDSR-PyTorch-master\src\data\_init__.py, line 2, in <module> from dataloader import MSDataLoader Fi...

2 years ago

1 answers
87 views
0
stackoverflow error in python in keras

If you run the program below, you will receive a stackoverflow error.I don't know what to do, so please let me know if you know.main.py # Import Packageimportosfrom keras.layers import BatchNormalizat...


1 answers
42 views
0
variables in a regular expression

Cannot use variable in regular expression.I would like to add up the dates for a particular month, but the following would not work.month=input()re.findall(r'month/([0-9]{1,2}), data)What should I do?


1 answers
23 views
0
I want to complete the python program.

·Create an Account class to manage ID and PasswordCreate dictionary type private variable __data·From now on, key is ID and value is PasswordCreate Initial Account in Constructor·No arguments·Initial ...

2 years ago

1 answers
42 views
0
I want to replace consecutive full-width spaces with one full-width space.

u Name 1 Name 2 Name 3 Name 4In the above string, I would like to replace two or more consecutive full-width spaces with one full-width space.


2 answers
21 views
0
How do I process the contents of a csv file by column?

I'm a beginner, so I may not be able to say enough, but I appreciate your cooperation.The csv file (filename data) says the following in order from the first row to the first row.data.csv0.10.20.3 0.5...

2 years ago

1 answers
104 views
0
I want Discord bot to be able to randomly send images in the list in response to specific words.

I'd like to send random images to specific words on the discord bot.I asked you a question because I don't know.At this stage, it is possible to take random items on the list, but I don't know how to ...

2 years ago

1 answers
15 views
0
Multi-threaded programs to update Python packages in bulk

I would like to update all packages in one package using threads in Python.However, the code below doesn't get as fast as the Go routine or when multi-threaded with Python.Why is it getting late? #!/u...

2 years ago

1 answers
35 views
0
Unable to compile C++ when building Python module in VisualStudio Code.

When I ran python setup.py build develop on linko14/AlphaPose-1, I got the following error. VisualStuido is 2017. Yes, 4\\cl.exe'faildetector\nms\src/soft_nms_cpu.cpp(3172)—Warning C4244: '=': Convers...

2 years ago
« - 178 - »

© 2024 OneMinuteCode. All rights reserved.