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
I don't understand the error.

My environment is Ubuntu 18.10, python 2.7.I want to use Social_mapper, but I tried python. However, an error occurred.pwd/home/ubuntu/san/social_mapperpython social_mapper.py-imagefolder-i/home/ubunt...

2 years ago

1 answers
16 views
0
Python Memory Leaks

I wrote a program for data aggregation in Python.I'd like to put in about 5000 input images.Memory usage keeps increasing as you run it.As memory leaks are suspected, I tried garbage collection but co...

2 years ago

1 answers
107 views
0
To access a structure/class that contains a user-defined structure/class in boot::python

I want to do this with Boost::python.C language sidestructure A{ intx; inty;}US>structure B{ intid; Aa;}Python sideb=B()b.a.x = 0b.a.y = 1b.id = 25I tried Boost.python and found that boot::python::cla...

2 years ago

2 answers
81 views
0
I would like to add a new column to the data frame and do the calculation.

We would like to add the column Assessment to the sales data like the image to evaluate A, B, C for index, id in enumerate (data['ID'].unique()): sm_data=data[data['ID']==id]Create Column sm_data['Ass...

2 years ago

1 answers
76 views
0
When you write the value of the tkinter text box to csv, the label is also included.

import tkinter askimport d_listtl=tk.Tk()tl.geometry ('600x600')tl.title (Registration Monitor)# Buttons Configurationdefbot1_1(): import csv detail.append(txt1.get()) detail.append(txt2.get()) detail...

2 years ago

1 answers
80 views
0
Transmitting Infrared on irrp.py doubles the signal

I used RaspberryPi3B+ as an infrared remote control and used it for lighting.At one point, the update failed and 3B+ stopped booting, so I re-entered the operating system.Then, I couldn't operate with...


2 answers
114 views
0
Python Hexadecimalization of Shift-jis Character Codes

This is Win10 Pro, Python 3.7.Shift-jis characters (external characters) .encode('cp932').hex()I'd like to convert to hexadecimal using a conversion like , but it doesn't match the site below.https:/...

2 years ago

1 answers
147 views
0
Pythorch designed Seq2seq, but only the same words are printed

I tried to proofread the text using Seq2seq at Pythorch, but Decoder prints only the same word.This is main.py.Doing this will give you training and more.#main.pyimport copyimport torchimport torch.nn...


1 answers
89 views
0
I want to resolve 'DataFrame' object has no attribute's split' error in pandas

I would like to split the string (the string of numbers in the OID column) separated by the / read from CSV in pandas and re-list it, but I can't implement it well because of the error in the title.I ...

2 years ago

2 answers
46 views
0
How to perform one-dimensional convolution in Tensorflow

Currently, we are trying to reproduce the following structure on the tensorflow.In Tutorial, the story revolves around two-dimensional convolution, and we don't know how to accurately describe one-dim...

2 years ago
« - 138 - »

© 2024 OneMinuteCode. All rights reserved.