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
85 views
0
Please help me to re-form the data frame after counting the number of python data frames under certain conditions.

df = pd.DataFrame([data])The structure of the data table that comes out when you print df in is as follows.The code is recorded for each date, and I'd like to distinguish how many codes 3 and how many...


1 answers
57 views
0
Questions about Python Pandas, no module named 'pandas'

There's an error like above. It's my first time using Panda's. How can I solve this?

2 years ago

1 answers
46 views
0
Can I add a function to one sentence with python(pyspark)for statement?

Original manually manipulated function df2 = df1.withColumn(test1, col(data.test1))\ .withColumn(test2, col(data.test2))\ .withColumn(test3, col(data.test3))\ .withColumn(test4, col(data.test4))\ ...

2 years ago

1 answers
27 views
0
If there is a program that is currently running, what code should I insert to detect (?) it when the system shuts down and prevent it from shutting down?

Every day, at 9 p.m., I'm working on a Python programYou have registered with the startup program in Windows 8.1.However, if you shut down your computer before 9 o'clock, the program will not run.To p...

2 years ago

1 answers
12 views
0
How Python Source Code Is Private

Master, please make a move.It's a question.Do not show your source code due to technology leakage or applicationI want to be inserted into another project.Of course, my case would be a rush.C/C++, etc...

2 years ago

1 answers
12 views
0
This is a special method __getattribute__ question related to Python point operators.

class Test: def __init__(self, value): self.objattr = value def __getattribute__(self, name): print(__getattribute__) return super().__getattribute__(name) def __getattr__(self, name): return 'No ...

2 years ago

1 answers
118 views
0
I can't import konlpy, what should I do with the error?_ 2 No JVM shared library file (jvm.dll) found.

Inside the terminal >> jpype.getDefaultJVMPath()'C:\\Program Files\\Java\\jdk-14.0.1\\bin\\server\\jvm.dll' That's what it says. Inside Jupiter jpype.getDefaultJVMPath()ValueError: No JVM shared...

2 years ago

2 answers
13 views
0
Web crawling values are different

//import requestsfrom bs4 import BeautifulSoupheaders = {'User-Agent' : 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36'}_url = https...

2 years ago

1 answers
71 views
0
You are trying to print out a dictionary-specific value in the list

[{'name': 'name', 'age': 1, 'kind': 'n'}, {'name': 'value', 'age': value, 'kind': 'value'}, {'name': 'value', 'age': value, 'kind': 'value'}]The list is stored in this way, but I don't know how to set...

2 years ago

1 answers
85 views
0
I want to extract the keys from the two dictionaries and divide only the same key into one dictionary again.

// Use three dictionaries.Output A > {'ACG': [0], 'CGT': [1], 'GTT': [2], 'TTC': [3], 'TCC': [4], 'CCG': [5], 'CGG': [6, 10, 15]}Output B > {'AAT': [0], 'ATA': [1], 'TAT': [2], 'ATC': [3], 'TCC'...

2 years ago
« - 376 - »

© 2024 OneMinuteCode. All rights reserved.