python3.6.1 tag

6 questions


1 answers
153 views
0
This is a python mac installation problem.

I'm currently using Python on my Mac.I am using 2.7 versions, 3.5.0 versions, and 3.6.1 versions.By the way, modules are installed normally in 2.7 and 3.5.0 through pip and pip3 options.The problem is...

2 years ago

2 answers
144 views
0
The layout size setting for QstackLayout is not possible. What should I do? crying

I inserted the background picture through palette in the poker game.But it doesn't work when you actually run a program... It was a code that worked normally when running as a single class, but if you...

2 years ago

1 answers
71 views
0
I'm curious about the probability extraction by reading external data after wordvec natural language processing.

From data with the current id/date/text/smishing rowWe extracted only text/smishing, processed natural language with word2vec, and learned it with random forest and KNN.We want to extract whether or n...


2 answers
126 views
0
[Python] How to calculate the number of objects belonging to the class

It's exactly what the title is.class MyCounter: def __init__(self, value=0): self.counter = value pass def number_of_counters(): return ~~~~c1 = MyCounter()print(MyCounter.number_of_counters())c2 =...

2 years ago

2 answers
126 views
0
I want to read the json file on drive C with Python!!!!

I'm trying to get json file to python and use pandasI couldn't load the json filewith open('C:\BicData\dd.json') as k: data = json.load(k)


2 answers
83 views
0
Ask questions when you repeatedly insert or delete from the python list.

If you use for loop in Python to remove data repeatedly,I'd like to solve the case where I can't find the desired result because I already erased the data while looping.data= [1, 2, 3, 4, 5, 6]for i i...

2 years ago

© 2024 OneMinuteCode. All rights reserved.