ip tag

56 questions


1 answers
91 views
0
open error in raise OSError('Not agzipped file(%r)'%magic)gzip

sample code in the book Deep Learning from scratch$python mnist.pyWhen I ran it, I got the following error in the gzip part.The execution environment is Anaoconda3(python3.5), windows7.Traceback (most...

2 years ago

2 answers
94 views
0
Pip option to upgrade all Python packages

I want to upgrade the package with pip at onceWhat option should I use?

2 years ago

1 answers
106 views
0
How do I install all packages in a text file?

You are about to install all the packages that you originally had in your virtual environment.Save the package list to requirements.txt as follows. requirements.txt:BeautifulSoup==3.2.0Django==1.3...b...

2 years ago

1 answers
74 views
0
I'm curious about the algorithm that processes compressed files in Java

Hello, everyone~I'm curious about the algorithm or process of decompressing Java~ Compressed to a ZIP file, when uncompressed from MultipartFile or File Typically, you will create a new file. (For man...

2 years ago

1 answers
102 views
0
There is a Python pip error.

I installed and used Python 3.6.5 and found out that I installed it in 32bit. After removing the program from the control panel, I installed it again as 64bit. But... Pip does not run. T.TWhen install...

pip
2 years ago

1 answers
109 views
0
(Python) len traceback, error in .rstrip

name = input ('Enter file name: ')if len(name) > 1 : name = 'mbox-short.txt'filename = open(name)for line in filename : if 'From ' in line : print(line.rstrip) else : continueprint(filename)(1)I'...

2 years ago

1 answers
128 views
0
When installing packages with pip, can I save them somewhere other than the default location?

pip install package_name will keep you in the same place.How do I install packages in a different location, such as a desktop?(Not because of Python virtual environment, I know this.)

2 years ago

1 answers
151 views
0
What if I want to see all the packages I installed with easy_install/pipe?

What if I want to see all the packages I installed with easy_install/pipe?(For Debian, use apt-get)

2 years ago

1 answers
75 views
0
How can I restore it from the zip?

I use the zip like thislist1 = ['a', 'b', 'c', 'd']list2 = [1, 2, 3, 4]result = zip(list1, list2) #[('a', 1), ('b', 2), ('c', 3), ('d', 4)]The opposite of the zip[('a', 1), ('b', 2), ('c', 3), ('d', 4...


1 answers
120 views
0
I wonder how to install Python 3 version package from Ubuntu to pip

I'm using Ubuntu 12.04 and my computer has Python 2.7 and 3.5.Basically, it is linked to Python 2.7, so if you just pip, the 2.7 package will be installed right away, but I don't know what option to i...

2 years ago
« - 4 - »

© 2024 OneMinuteCode. All rights reserved.