[Tutor] Fwd: Re: Hii
Antonio Arizpe
aarizpe448 at gmail.com
Thu Jun 20 17:59:54 EDT 2019
On Thu, Jun 20, 2019 at 12:36 PM Alan Gauld via Tutor <tutor at python.org>
wrote:
> Forwarding to list.
> Please use Reply-All or Reply-List when responding to list emails.
>
>
>
> -------- Forwarded Message --------
> Subject: Re: [Tutor] Hii
> Date: Thu, 20 Jun 2019 08:50:31 -0500
> From: Antonio Arizpe <aarizpe448 at gmail.com>
> To: Alan Gauld <alan.gauld at yahoo.co.uk>
>
>
>
> i am using python 3.7
>
> On Thu, Jun 20, 2019 at 8:43 AM Antonio Arizpe <aarizpe448 at gmail.com
> <mailto:aarizpe448 at gmail.com>> wrote:
>
> it is for windows 7 64 bits but i will be targeting windows 7 and 10
> 32 and 64 bits
>
> i currently use a script i was able to work together and its for
> automated screenshots
> i imagined for the key strike counter for it to be similar because i
> imagined it as defining keystrikes as x = 1 and for every new key
> strike would apply x+=1 and saving it in a text file in a directory.
> im sorry im a little new for third party libraries im using im
> really just using the default script that comes with python
> installation
> to make example here is the code i use for automated screenshots
>
> import sys
> import os
> from datetime import date
> import pyautogui
> import time
> import shutil
>
>
> today = str(date.today())
>
> os.chdir ('C:\\Program Files\\Python37\\tll')
> os.mkdir (today)
>
>
> x=1
> while x<1080:
> pyautogui.screenshot('/Program
> Files/Python37/tll/'+str(today)+'/image'+str(x)+'.png')
> x+=1
> time.sleep(30)
>
> On Thu, Jun 20, 2019 at 3:30 AM Alan Gauld via Tutor
> <tutor at python.org <mailto:tutor at python.org>> wrote:
>
> On 19/06/2019 23:30, Antonio Arizpe wrote:
>
> > i just need help with a script thats registers keystrikes and
> adds up all
> > the times youve struck a key and gives a number of the total
> amount of
> > times the keyboard was struck. nothing specific about
> characters. just how
> > many times it was struck in a real number.
>
> It is possible, but it will likely be OS specific so you need to
> tell us which OS you are using/targeting.
>
> Also any code that you've tried always helps along with any error
> messages. Also tell us about any 3rd party libraries you are using.
>
>
> --
> Alan G
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
> http://www.amazon.com/author/alan_gauld
> Follow my photo-blog on Flickr at:
> http://www.flickr.com/photos/alangauldphotos
>
>
> _______________________________________________
> Tutor maillist?? -?? Tutor at python.org <mailto:Tutor at python.org>
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
More information about the Tutor
mailing list