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
137 views
0
When I was making a bot to show the weather on Discord.py, I got the following error.

Actual Code import discordimport urllib.requestimport jsonimport reclient=discord.Client()citycode = '016010'resp=urllib.request.urlopen('http://weather.livedoor.com/forecast/webservice/json/v1?city=%...

2 years ago

1 answers
77 views
0
Read json file in Python

When reading numbers from multiple json files, you want to read 345 files, but you can only read 256 files.I don't know the cause, so please tell me the reason and how to deal with it.Program Code imp...

2 years ago

2 answers
70 views
0
Different sequences disappear in python sequences

values=[0, 1, 2, 3, 4 ]num = [a, b, c, d, e ]num_tmp = [ ]num_tmp = numfor value in values: num = num_tmp print(num) print(num_tmp) num.clear()In the above case, the value is num=[a, b, c, d, e], but ...

2 years ago

1 answers
73 views
0
The external program does not return the correct value in subprocess.

I am trying to notify the temperature using the Line messaging API.I added the following code to the sample program here, and when I ran temperature from LINE, an error was thrown out.What should I do...

2 years ago

1 answers
122 views
0
Unable to import Numpy in python 3.7

I want to download Anaconda and use Numpy in Python 3.7 in the package, but when I type import numpy as np, I get the error ModuleNotFindError: No Module Named 'numpy'.I tried the following solution, ...

2 years ago

2 answers
29 views
0
Browse the Python Project Reference Directory

QuestionAre there any general settings or conventions in the python project that reference the reference directory?BackgroundFor example, in Rails, if you use that framework to write code, you can see...

2 years ago

1 answers
122 views
0
convert error in csv reading of python deep learning

Currently, I am trying to read csv in Python's pandas to learn.So if you run itValueError: could not convert srtrring to float' v-0.6703230.0173202.448769\nv-0.2484260.0668552.655411\nv-0.634120.15956...


1 answers
71 views
0
Is the library the only thing that Python venv makes independent?

I recently started using venv, but I have one question.Is it correct to understand that even if it is independent of other python environments, python libraries are independent, and other libraries (e...

2 years ago

1 answers
45 views
0
ValueError: too many values to unpack (expected 2) solution (python 3.7)

import syssys.path.append('..')from optimizer import SGDfrom trainer import trainerimport numpy as npfrom two_layer_net import TwoLayerNetmax_epoch=4395batch_size=500hidden_size=2000learning_rate = 1....

2 years ago

1 answers
154 views
0
About gan errors using the chainer

I would like to run the following github program.https://github.com/musyoku/improved-gan/I don't even understand the contents of the error.I am aware of my lack of experience.I was told that there are...

2 years ago
« - 60 - »

© 2024 OneMinuteCode. All rights reserved.