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
43 views
0
Is there a way to call the function defined in main.py from the module I import on main.py?

Thank you for your cooperation.I'd like to do the following, but I'd like to call fun() defined in main.py from sub.py, where main.py imports it. Is there a way to do it?#main.pyfrom sub.py import*def...

2 years ago

1 answers
101 views
0
I want to improve the loss rate and acc rate of the image discrimination AI model.

We are developing AI to distinguish between rabbits and turtles.However, for some reason, the learning is not going well and the values of loss and acc (discriminatory success rate) are not getting be...


1 answers
77 views
0
Failed to redirect a parameterized URL

I am currently developing a web application using Django.So I'm looking for a way to redirect a URL with parameters as the title suggests.Specifically, I would like to redirect the URL with encrypted ...

2 years ago

1 answers
43 views
0
Unable to Play WAV in Raspberry Pi Background

I want Raspberry Pi to automatically turn on the LED and play the WAV file at startup./etc/rc.local will stop until the LED lights up.import pygameimport timeimport RPi.GPIO as GPIOGPIO.setmode (GPIO....

2 years ago

1 answers
45 views
0
Regarding the segmentation and extraction of Python data preprocessing string data

I have a question about Python data preprocessing.I am analyzing the job offer data, and in the attached first sheet of DataFrame, at the preprocessing stage.When I checked the string data in the posi...

2 years ago

1 answers
67 views
0
Indentation width in jupyter notebook

In jypyter notebook, I didn't set it specifically, but the indentation width is 2.I'd like to change the indentation to 4 spaces, what should I do?

2 years ago

2 answers
60 views
0
I want to hide the label being printed using matplotlib plt.xticks (rotation=90).

I used plt.xticks (rotaion=90) to rotate the X axis in matplot.The label will be printed on the jupyter notebook using plt.xticks().I don't want this print statement to be displayed because I'm creati...

2 years ago

2 answers
127 views
0
Pyautogui does not work as expected in Python 2.7

I'm in trouble because the code doesn't work as expected.I would appreciate it if you could let me know how to fix it.environmentPython 2.7Windows 7 Code ObjectivesPaste pre-saved gazou1.png and gazou...


2 answers
15 views
0
Is there any difference between Python u and unicode()?

In order to convert Python to Unicode, I think there is a way to use uabc and unicode().If I do the following, the results will be different, but what are the differences?The top returns 1, and the bo...

2 years ago

1 answers
88 views
0
treat the path of the tkinter dialog file as an argument

You are currently opening a dialog using tkinter.I got the file path, but I would like to replace it with f1, f2.What should I do?import matplotlib.pyplot as pltimport numpy as npimportosimport tkinte...

2 years ago
« - 119 - »

© 2024 OneMinuteCode. All rights reserved.