Where are Python images saved?

爱喝马黛茶的安东尼
Release: 2019-06-20 10:22:23
Original
8815 people have browsed it

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
Copy after login

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)
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!