Home>Article>Backend Development> Where are Python images saved?

Where are Python images saved?

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼 Original
2019-06-13 10:08:36 8744browse

Where are Python images saved?

Where are Python images saved? Let me introduce how to save python images:

Open the winPython integrated development environment interface, and Create a py script as shown in the figure.

Where are Python images saved?

Related recommendations: "python video tutorial"

Load the skimage library and related files, the code is as follows:

from skimage import io,data

Where are Python images saved?

Enter the following code to complete the reading and saving of the image:

img=data.chelsea() io.imshow(img) io.imsave('d://cat.jpg',img)

Where are Python images saved?

Click the Save button to save our file, Just give the file a name;

Where are Python images saved?

You can see the file name we saved from above;

Then, click twice to run. Save our pictures to the corresponding location;

Where are Python images saved?

Save the pictures to the d drive, and you can see the related pictures at the corresponding location.

Where are Python images saved?

The above is the detailed content of Where are Python images saved?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn