Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

how to take a screen shot in python 3.8 code example

Example: screenshot in python

import pyautogui


class gng() :
    myScreenshot = pyautogui.screenshot()
    myScreenshot.save('C:\File\Code\save.png')


gng()

Tags:

Python Example

Related

matplotlib.pyplot histogram code example java integer to hex code example how to uninstall java on ubuntu server 20.04 code example class component in react native code example np 2d array of random numbers code example react search page code example export statement javascript code example comment section of code c# code example launch yarn react app code example add indexes to migrations code example moons of mercury code example how to use promises in javascript code example

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy