473,385 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

print the screen shot in python

Hi!
I want to print an application view in python.I use labels and frames
in my program.And ý want to know if it is possible to print all of the
view of my program?
Thanks a lot...

Apr 2 '07 #1
4 4257
On Apr 2, 4:24 pm, "gslm" <slm_gu...@hotmail.comwrote:
Hi!
I want to print an application view in python.I use labels and frames
in my program.And ý want to know if it is possible to print all of the
view of my program?
Thanks a lot...
You need to give us more details. Are you using wxPython, Tkinter,
pyQT or what? And what version of python and OS? Do you want to take a
picture of the programs interface and print that with Python?

Mike

Apr 3 '07 #2
Thanks,
I use TKinter,os:Xp home,python25.
I want to print all my application's view, except the close-minimize
icons.
Apr 3 '07 #3
On Apr 3, 1:16 pm, "gslm" <slm_gu...@hotmail.comwrote:
Thanks,
I use TKinter,os:Xp home,python25.
I want to print all my application's view, except the close-minimize
icons.
I don't know enough about Tkinter, but you can use the graphics module
according to this post that should take a screenshot:

http://snippets.dzone.com/posts/show/398

You should also navigate through this series of posts on taking
screenshots using PIL and the win32 module:
http://mail.python.org/pipermail/pyt...ry/000714.html

The following post has a short script using the os module to capture a
screenshot too:
http://livingcode.blogspot.com/2006/...oa-python.html

Hopefully this will give you some direction. Other than that, we'll
have to wait for a Tkinter guru.

Mike

Apr 3 '07 #4
On 3 Nisan, 21:38, kyoso...@gmail.com wrote:
On Apr 3, 1:16 pm, "gslm" <slm_gu...@hotmail.comwrote:
Thanks,
I use TKinter,os:Xp home,python25.
I want to print all my application's view, except the close-minimize
icons.

I don't know enough about Tkinter, but you can use the graphics module
according to this post that should take a screenshot:

http://snippets.dzone.com/posts/show/398

You should also navigate through this series of posts on taking
screenshots using PIL and the win32 module:http://mail.python.org/pipermail/pyt...ry/000714.html

The following post has a short script using the os module to capture a
screenshot too:http://livingcode.blogspot.com/2006/...oa-python.html

Hopefully this will give you some direction. Other than that, we'll
have to wait for a Tkinter guru.

Mike
Thanks again, I have used ImageGrab function according to a member of
this group.But I have problems and I have just sent a question about
them.
If you look, I'll be very happy.

Apr 3 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Me Mine | last post by:
i, I have trying to code a small console app that will allow a user to select a window and then create a screen capture of the window. I haven't been able to figure out how to do the screen...
2
by: Eric Petruzzelli | last post by:
I would like to know if there is any way for me to print my GUI screen. I am in the middle of development and I need to show my customers / future clients how things are coming along. Some are...
2
by: G Moore | last post by:
I am trying to print out a table in the design mode... any ideas/help? Gordon Moore paragon_st@yahoo.com
2
by: py | last post by:
I need to take a screen shot of the computer screen. I am trying to use PIL and I saw there is ImageGrab...however it only works on Windows. Is there a platform-independent ability to work...
1
by: Jason Huang | last post by:
Hi, I have no problem in printing the C# Windows Form codes. However, when it comes to print the Form, the "Print" button is greyed out and I can't print the form directly from the Visual Studio...
6
by: CSharpguy | last post by:
In my gridview I have 2 -3 template fields which are hyperlinks. I allow the user to print this grid. When the grid prints it also prints the links, how can I take the user to a print preview page...
8
by: howa | last post by:
Hello, Is it possible to take a screen shot of the browser using PHP? Something similar to Alexa Web Site Screen Dump... thx
2
by: Brad Pears | last post by:
I have a vb.net 2005 application and am using the print preview screen. This screen has a printer icon on it that the user can use to print the document currently being viewed. It uses the default...
5
by: bdy120602 | last post by:
Is it possible, when a user or viewer of your Web page, prints or takes a screen shot of a Web page with mousover (roll-over) text in it, to have that text printed or captures as part of the screen...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.