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


4 answers
20 views
0
Extracting List Values from Python List

I'm a beginner, so please teach me.I'd like to extract a value from the list of a that matches the list of b. a = ['0', '1'', '2', '3', '4', '5', '6', '7', '8', '9']b = ['0']if bin a: print(OK)else: p...

2 years ago

1 answers
77 views
0
How to Resolve NotFound Errors in the Source Command in Enabling a Virtual Environment

python-mvenv<virtual space name>Create a Virtual Space in source<virtual space name>/bin/activate What should I do if the source command becomes NotFound when I try to type and enable it?P...

2 years ago

1 answers
78 views
0
About importing on Jupiter notebook

I made a file called reader on Jupiter notebook.I want to import it as shown in the image below, but I get an error Also, the saved one comes with .ipynb. What does this mean?I would appreciate it if ...

2 years ago

1 answers
20 views
0
I want to connect from Python on Bluemix to dashDB on JDBC.

import jaydebeapiimport jpejar='/opt/IBM/db2/V10.1/java/db2jcc4.jar'#location of the jdbc driver jarargs='-Djava.class.path=%s'%jarjvm = jptype.getDefaultJVMPath()jtype.startJVM(jvm,args)jaydebeapi.co...

2 years ago

2 answers
19 views
0
Indentation error in while statement

python version 2.7.10 When I was trying to draw a set of mandelobro, I was creating the following program.File mandelplot.py, line 33 List.append(z) ^IndentationError—unindent does not match any ou...

2 years ago

1 answers
18 views
0
Mail via IoT on AWS (mosquitto_pub)

Raspy GPIO (16) and when the switch is onI'm thinking of sending an email via AWS IoT.In the Python program below, the lines mosquitto_pub to show SyntaxError: invalid syntax.It may be elementary, but...

2 years ago

1 answers
24 views
0
I want to display the image.

I'm practicing reading a book, but it doesn't show up, so I'm struggling.

2 years ago

1 answers
47 views
0
Unable to connect to DB server with psycopg2

Please let me know.The psycopg2 returns an error.Source code is #-*-coding:utf-8-*- import psycopg2if__name__==__main__: connector=psycopg2.connect(host=127.0.0.1, database=pdb, user=pgusr, port=532 ,...

2 years ago

1 answers
71 views
0
I want to run the command when I erase the window in Tkinter.

I want to run the command when I erase the Toplevel window.In the tk.Tk() window, you can overwrite _del__, but if you do so in Toplevel, it will run when the main window is turned off.I think it's ok...

2 years ago

1 answers
65 views
0
What are the "-" and "j" of "-9.96587885e+03j" with the number 1.54991569e+03-9.96587885e+03j?

When I ran scipy.ftpack.ft(y), one of the returned values had the following numbers:1.54991569e+03-9.96587885e+03jI understand that e+03 means the third power of 10, but -9.96587885e+03jWhat are '-' a...

2 years ago
« - 163 - »

© 2024 OneMinuteCode. All rights reserved.