Posts: 4
Threads: 1
Joined: Nov 2018
Nov-11-2018, 08:54 AM
(This post was last modified: Nov-11-2018, 08:54 AM by JAREDZ.)
hello, i'm new to python and i tried this simple code to accomplish actions when a pixel has the expected color, but it's so slow i don't understand why, it seems like it takes way too long to just check pixel color.
#python3
import pyautogui
while not pyautogui.pixelMatchesColor(1006, 323, (253, 253, 253), tolerance=2) :
pyautogui=pyautogui
pyautogui.click(1010, 315, button='left')
pyautogui.click(685, 437, button='left')
pyautogui.hotkey('tab', 'enter')
pyautogui.click(715, 467, button='left')
pyautogui.click(715, 467, button='left')
pyautogui.click(905, 245, button='left')
pyautogui.hotkey('esc') i just want my code to wait until the pixel at the given location is 253, 253, 253, with a tolerance of 2, and then, right away, it should start clicking, etc, but it has a long delay, idk why.
can you help me ? what's wrong?
Posts: 12,031
Threads: 485
Joined: Sep 2016
Posts: 4
Threads: 1
Joined: Nov 2018
Nov-11-2018, 10:16 AM
(This post was last modified: Nov-11-2018, 10:20 AM by JAREDZ.)
(Nov-11-2018, 09:43 AM)Larz60+ Wrote: run with a profiler, see: https://docs.python.org/3/library/profile.html
thank you for your answer, I tried to run with, python3 -m cProfile myscript.py
i don't see any difference tbh, still almost 2 seconds delay before actions, when the pixel has the right color, shouldn't be so long, what am I doing wrong ?
Posts: 12,031
Threads: 485
Joined: Sep 2016
running profile will show you where the bottleneck is, it doesn't fix it for you.
show report, should look something like:
Output: 197 function calls (192 primitive calls) in 0.002 seconds
Ordered by: standard name
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.001 0.001 <string>:1(<module>)
1 0.000 0.000 0.001 0.001 re.py:212(compile)
1 0.000 0.000 0.001 0.001 re.py:268(_compile)
1 0.000 0.000 0.000 0.000 sre_compile.py:172(_compile_charset)
1 0.000 0.000 0.000 0.000 sre_compile.py:201(_optimize_charset)
4 0.000 0.000 0.000 0.000 sre_compile.py:25(_identityfunction)
3/1 0.000 0.000 0.000 0.000 sre_compile.py:33(_compile)
Posts: 4
Threads: 1
Joined: Nov 2018
Nov-11-2018, 10:31 AM
(This post was last modified: Nov-11-2018, 10:31 AM by JAREDZ.)
(Nov-11-2018, 10:20 AM)Larz60+ Wrote: running profile will show you where the bottleneck is, it doesn't fix it for you.
show report, should look something like:
Output: 197 function calls (192 primitive calls) in 0.002 seconds
Ordered by: standard name
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.001 0.001 <string>:1(<module>)
1 0.000 0.000 0.001 0.001 re.py:212(compile)
1 0.000 0.000 0.001 0.001 re.py:268(_compile)
1 0.000 0.000 0.000 0.000 sre_compile.py:172(_compile_charset)
1 0.000 0.000 0.000 0.000 sre_compile.py:201(_optimize_charset)
4 0.000 0.000 0.000 0.000 sre_compile.py:25(_identityfunction)
3/1 0.000 0.000 0.000 0.000 sre_compile.py:33(_compile)
wow, that's what i get, so weird, why so many function calls for such a little scrit
[output] 507813 function calls (498548 primitive calls) in 12.465 seconds
Ordered by: standard name
ncalls tottime percall cumtime percall filename:lineno(function)
284 0.002 0.000 0.003 0.000 <frozen importlib._bootstrap>:103(release)
228 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:143(__init__)
228 0.001 0.000 0.007 0.000 <frozen importlib._bootstrap>:147(__enter__)
228 0.001 0.000 0.003 0.000 <frozen importlib._bootstrap>:151(__exit__)
284 0.003 0.000 0.005 0.000 <frozen importlib._bootstrap>:157(_get_module_lock)
228 0.001 0.000 0.001 0.000 <frozen importlib._bootstrap>:176(cb)
56 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap>:194(_lock_unlock_module)
314/6 0.001 0.000 4.156 0.693 <frozen importlib._bootstrap>:211(_call_with_frames_removed)
2623 0.002 0.000 0.002 0.000 <frozen importlib._bootstrap>:222(_verbose_message)
4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:232(_requires_builtin_wrapper)
211 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:307(__init__)
211 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:311(__enter__)
211 0.001 0.000 0.003 0.000 <frozen importlib._bootstrap>:318(__exit__)
844 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:321(<genexpr>)
166 0.001 0.000 0.001 0.000 <frozen importlib._bootstrap>:35(_new_module)
267 0.001 0.000 0.001 0.000 <frozen importlib._bootstrap>:369(__init__)
373 0.001 0.000 0.006 0.000 <frozen importlib._bootstrap>:403(cached)
268 0.001 0.000 0.001 0.000 <frozen importlib._bootstrap>:416(parent)
211 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:424(has_location)
13 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:433(spec_from_loader)
211 0.002 0.000 0.011 0.000 <frozen importlib._bootstrap>:504(_init_module_attrs)
211/210 0.001 0.000 1.443 0.007 <frozen importlib._bootstrap>:564(module_from_spec)
228 0.001 0.000 0.001 0.000 <frozen importlib._bootstrap>:58(__init__)
9/8 0.000 0.000 0.098 0.012 <frozen importlib._bootstrap>:622(_load_backward_compatible)
220/6 0.003 0.000 4.178 0.696 <frozen importlib._bootstrap>:651(_load_unlocked)
226 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap>:707(find_spec)
4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:728(create_module)
4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:736(exec_module)
4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:753(is_package)
284 0.002 0.000 0.002 0.000 <frozen importlib._bootstrap>:78(acquire)
222 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap>:780(find_spec)
684 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap>:843(__enter__)
684 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap>:847(__exit__)
14 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:861(_find_spec_legacy)
226 0.004 0.000 0.114 0.001 <frozen importlib._bootstrap>:870(_find_spec)
228/6 0.002 0.000 4.180 0.697 <frozen importlib._bootstrap>:936(_find_and_load_unlocked)
228/6 0.004 0.000 4.180 0.697 <frozen importlib._bootstrap>:966(_find_and_load)
389/41 0.001 0.000 3.753 0.092 <frozen importlib._bootstrap>:997(_handle_fromlist)
27 0.001 0.000 0.004 0.000 <frozen importlib._bootstrap_external>:1067(_path_hooks)
534 0.001 0.000 0.011 0.000 <frozen importlib._bootstrap_external>:1080(_path_importer_cache)
222 0.002 0.000 0.106 0.000 <frozen importlib._bootstrap_external>:1117(_get_spec)
222 0.001 0.000 0.107 0.000 <frozen importlib._bootstrap_external>:1149(find_spec)
28 0.001 0.000 0.002 0.000 <frozen importlib._bootstrap_external>:1196(__init__)
224 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1202(<genexpr>)
36 0.000 0.000 0.005 0.000 <frozen importlib._bootstrap_external>:1216(find_loader)
207 0.001 0.000 0.004 0.000 <frozen importlib._bootstrap_external>:1228(_get_spec)
484 0.011 0.000 0.097 0.000 <frozen importlib._bootstrap_external>:1233(find_spec)
29 0.001 0.000 0.052 0.002 <frozen importlib._bootstrap_external>:1281(_fill_cache)
29 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1310(<setcomp>)
28 0.000 0.000 0.003 0.000 <frozen importlib._bootstrap_external>:1322(path_hook_for_FileFinder)
332 0.003 0.000 0.006 0.000 <frozen importlib._bootstrap_external>:263(cache_from_source)
207 0.001 0.000 0.005 0.000 <frozen importlib._bootstrap_external>:361(_get_cached)
484 0.001 0.000 0.001 0.000 <frozen importlib._bootstrap_external>:37(_relax_case)
166 0.001 0.000 0.001 0.000 <frozen importlib._bootstrap_external>:393(_check_name_wrapper)
36 0.000 0.000 0.006 0.000 <frozen importlib._bootstrap_external>:413(_find_module_shim)
166 0.006 0.000 0.009 0.000 <frozen importlib._bootstrap_external>:430(_validate_bytecode_header)
166 0.001 0.000 0.048 0.000 <frozen importlib._bootstrap_external>:485(_compile_bytecode)
332 0.001 0.000 0.002 0.000 <frozen importlib._bootstrap_external>:52(_r_long)
207 0.002 0.000 0.003 0.000 <frozen importlib._bootstrap_external>:524(spec_from_file_location)
2645 0.005 0.000 0.013 0.000 <frozen importlib._bootstrap_external>:57(_path_join)
2645 0.003 0.000 0.006 0.000 <frozen importlib._bootstrap_external>:59(<listcomp>)
332 0.001 0.000 0.001 0.000 <frozen importlib._bootstrap_external>:63(_path_split)
166 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:669(create_module)
166/6 0.001 0.000 4.177 0.696 <frozen importlib._bootstrap_external>:672(exec_module)
166 0.004 0.000 1.297 0.008 <frozen importlib._bootstrap_external>:743(get_code)
1170 0.001 0.000 0.018 0.000 <frozen importlib._bootstrap_external>:75(_path_stat)
166 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:800(__init__)
166 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:825(get_filename)
166 0.242 0.001 1.230 0.007 <frozen importlib._bootstrap_external>:830(get_data)
166 0.000 0.000 0.003 0.000 <frozen importlib._bootstrap_external>:840(path_stats)
520 0.001 0.000 0.008 0.000 <frozen importlib._bootstrap_external>:85(_path_is_mode_type)
41 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:908(__init__)
41/40 0.001 0.000 1.430 0.036 <frozen importlib._bootstrap_external>:919(create_module)
41 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:927(exec_module)
460 0.001 0.000 0.008 0.000 <frozen importlib._bootstrap_external>:94(_path_isfile)
60 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap_external>:99(_path_isdir)
1 0.000 0.000 0.000 0.000 <string>:1(<module>)
103 0.000 0.000 0.000 0.000 <string>:12(__new__)
1 0.000 0.000 0.000 0.000 <string>:5(ArgInfo)
1 0.000 0.000 0.000 0.000 <string>:5(ArgSpec)
1 0.000 0.000 0.000 0.000 <string>:5(Arguments)
1 0.000 0.000 0.000 0.000 <string>:5(Attribute)
1 0.000 0.000 0.000 0.000 <string>:5(ClosureVars)
1 0.000 0.000 0.000 0.000 <string>:5(DecimalTuple)
1 0.000 0.000 0.000 0.000 <string>:5(DefragResult)
1 0.000 0.000 0.000 0.000 <string>:5(FrameInfo)
1 0.000 0.000 0.000 0.000 <string>:5(FullArgSpec)
1 0.000 0.000 0.000 0.000 <string>:5(ParseResult)
1 0.000 0.000 0.000 0.000 <string>:5(SelectorKey)
1 0.000 0.000 0.000 0.000 <string>:5(SplitResult)
1 0.000 0.000 0.000 0.000 <string>:5(TokenInfo)
1 0.000 0.000 0.000 0.000 <string>:5(Traceback)
1 0.000 0.000 0.000 0.000 <string>:5(_Instruction)
1 0.000 0.000 0.000 0.000 <string>:5(_TagInfo)
1 0.000 0.000 0.000 0.000 <string>:5(_Version)
1 0.000 0.000 0.000 0.000 <string>:5(manifest_mod)
1 0.000 0.000 0.000 0.000 <string>:5(uname_result)
1 0.000 0.000 0.000 0.000 <string>:5(usage)
1 0.000 0.000 0.000 0.000 BmpImagePlugin.py:207(DibImageFile)
1 0.000 0.000 0.064 0.064 BmpImagePlugin.py:27(<module>)
15 0.000 0.000 0.000 0.000 BmpImagePlugin.py:49(_accept)
1 0.000 0.000 0.000 0.000 BmpImagePlugin.py:56(BmpImageFile)
1 0.000 0.000 0.000 0.000 ElementPath.py:246(_SelectorContext)
1 0.000 0.000 0.001 0.001 ElementPath.py:59(<module>)
1 0.000 0.000 0.000 0.000 ElementTree.py:104(ParseError)
1 0.000 0.000 0.000 0.000 ElementTree.py:1138(_ListDataStream)
1 0.000 0.000 0.000 0.000 ElementTree.py:123(Element)
1 0.000 0.000 0.000 0.000 ElementTree.py:1248(XMLPullParser)
1 0.000 0.000 0.000 0.000 ElementTree.py:1360(TreeBuilder)
1 0.000 0.000 0.000 0.000 ElementTree.py:1435(XMLParser)
1 0.000 0.000 0.035 0.035 ElementTree.py:34(<module>)
1 0.000 0.000 0.000 0.000 ElementTree.py:494(QName)
1 0.000 0.000 0.000 0.000 ElementTree.py:542(ElementTree)
1 0.000 0.000 0.007 0.007 GifImagePlugin.py:27(<module>)
15 0.000 0.000 0.000 0.000 GifImagePlugin.py:38(_accept)
1 0.000 0.000 0.000 0.000 GifImagePlugin.py:46(GifImageFile)
1 0.000 0.000 0.000 0.000 GimpGradientFile.py:102(GimpGradientFile)
1 0.000 0.000 0.000 0.000 GimpGradientFile.py:16(<module>)
1 0.000 0.000 0.000 0.000 GimpGradientFile.py:61(GradientFile)
1 0.000 0.000 0.000 0.000 GimpPaletteFile.py:17(<module>)
1 0.000 0.000 0.000 0.000 GimpPaletteFile.py:24(GimpPaletteFile)
15 0.000 0.000 0.000 0.000 Image.py:1266(getpixel)
1 0.000 0.000 0.000 0.000 Image.py:2219(ImagePointHandler)
1 0.000 0.000 0.000 0.000 Image.py:2224(ImageTransformHandler)
15 0.000 0.000 0.000 0.000 Image.py:2485(_decompression_bomb_check)
15 0.002 0.000 0.228 0.015 Image.py:2499(open)
15 0.002 0.000 0.013 0.001 Image.py:2543(_open_core)
6 0.000 0.000 0.000 0.000 Image.py:2676(register_open)
5 0.000 0.000 0.000 0.000 Image.py:2691(register_mime)
1 0.000 0.000 0.272 0.272 Image.py:27(<module>)
6 0.000 0.000 0.000 0.000 Image.py:2702(register_save)
2 0.000 0.000 0.000 0.000 Image.py:2713(register_save_all)
12 0.000 0.000 0.000 0.000 Image.py:2725(register_extension)
3 0.000 0.000 0.000 0.000 Image.py:2735(register_extensions)
1 0.000 0.000 0.000 0.000 Image.py:2845(_apply_env_variables)
15 0.000 0.000 0.208 0.014 Image.py:356(preinit)
1 0.000 0.000 0.000 0.000 Image.py:36(DecompressionBombWarning)
1 0.000 0.000 0.000 0.000 Image.py:40(_imaging_not_installed)
15 0.000 0.000 0.001 0.000 Image.py:416(_getdecoder)
1 0.000 0.000 0.000 0.000 Image.py:467(_E)
1 0.000 0.000 0.000 0.000 Image.py:502(Image)
15 0.000 0.000 0.000 0.000 Image.py:517(__init__)
15 0.000 0.000 0.000 0.000 Image.py:584(__del__)
45 0.000 0.000 0.000 0.000 Image.py:792(load)
1 0.000 0.000 0.000 0.000 ImageChops.py:18(<module>)
1 0.000 0.000 0.000 0.000 ImageColor.py:20(<module>)
30 0.010 0.000 1.291 0.043 ImageFile.py:130(load)
15 0.000 0.000 0.054 0.004 ImageFile.py:259(load_prepare)
1 0.000 0.000 0.000 0.000 ImageFile.py:291(StubImageFile)
1 0.000 0.000 0.000 0.000 ImageFile.py:30(<module>)
1 0.000 0.000 0.000 0.000 ImageFile.py:321(Parser)
45 0.000 0.000 0.000 0.000 ImageFile.py:516(_safe_read)
1 0.000 0.000 0.000 0.000 ImageFile.py:540(PyCodecState)
1 0.000 0.000 0.000 0.000 ImageFile.py:552(PyDecoder)
15 0.000 0.000 0.000 0.000 ImageFile.py:66(_tilesort)
1 0.000 0.000 0.000 0.000 ImageFile.py:75(ImageFile)
15 0.000 0.000 0.011 0.001 ImageFile.py:78(__init__)
1 0.000 0.000 0.000 0.000 ImageMode.py:17(<module>)
1 0.000 0.000 0.000 0.000 ImageMode.py:20(ModeDescriptor)
1 0.000 0.000 0.000 0.000 ImageOps.py:20(<module>)
1 0.000 0.000 0.046 0.046 ImagePalette.py:19(<module>)
1 0.000 0.000 0.000 0.000 ImagePalette.py:23(ImagePalette)
1 0.000 0.000 0.000 0.000 ImageSequence.py:19(<module>)
1 0.000 0.000 0.000 0.000 ImageSequence.py:19(Iterator)
15 0.000 0.000 0.000 0.000 JpegImagePlugin.py:292(_accept)
1 0.000 0.000 0.000 0.000 JpegImagePlugin.py:299(JpegImageFile)
1 0.000 0.000 0.053 0.053 JpegImagePlugin.py:35(<module>)
1 0.000 0.000 0.000 0.000 JpegPresets.py:67(<module>)
1 0.000 0.000 0.000 0.000 PaletteFile.py:16(<module>)
1 0.000 0.000 0.000 0.000 PaletteFile.py:22(PaletteFile)
390 0.004 0.000 0.019 0.000 PngImagePlugin.py:102(read)
15 0.000 0.000 0.000 0.000 PngImagePlugin.py:121(close)
60 0.001 0.000 0.005 0.000 PngImagePlugin.py:128(call)
45 0.000 0.000 0.001 0.000 PngImagePlugin.py:134(crc)
1 0.000 0.000 0.000 0.000 PngImagePlugin.py:179(iTXt)
15 0.000 0.000 0.000 0.000 PngImagePlugin.py:185(__new__)
1 0.000 0.000 0.000 0.000 PngImagePlugin.py:200(PngInfo)
1 0.000 0.000 0.000 0.000 PngImagePlugin.py:277(PngStream)
15 0.000 0.000 0.000 0.000 PngImagePlugin.py:279(__init__)
15 0.000 0.000 0.000 0.000 PngImagePlugin.py:293(check_text_memory)
15 0.000 0.000 0.002 0.000 PngImagePlugin.py:299(chunk_iCCP)
15 0.000 0.000 0.000 0.000 PngImagePlugin.py:327(chunk_IHDR)
1 0.000 0.000 0.001 0.001 PngImagePlugin.py:34(<module>)
15 0.000 0.000 0.000 0.000 PngImagePlugin.py:342(chunk_IDAT)
15 0.000 0.000 0.001 0.000 PngImagePlugin.py:459(chunk_iTXt)
15 0.000 0.000 0.000 0.000 PngImagePlugin.py:505(_accept)
1 0.000 0.000 0.000 0.000 PngImagePlugin.py:512(PngImageFile)
15 0.001 0.000 0.010 0.001 PngImagePlugin.py:517(_open)
15 0.000 0.000 0.054 0.004 PngImagePlugin.py:577(load_prepare)
345 0.005 0.000 0.039 0.000 PngImagePlugin.py:585(load_read)
15 0.000 0.000 0.000 0.000 PngImagePlugin.py:611(load_end)
1 0.000 0.000 0.000 0.000 PngImagePlugin.py:650(_idat)
15 0.000 0.000 0.001 0.000 PngImagePlugin.py:81(_safe_zlib_decompress)
1 0.000 0.000 0.000 0.000 PngImagePlugin.py:92(ChunkStream)
15 0.000 0.000 0.000 0.000 PngImagePlugin.py:94(__init__)
1 0.000 0.000 0.000 0.000 PpmImagePlugin.py:18(<module>)
15 0.000 0.000 0.000 0.000 PpmImagePlugin.py:52(_accept)
1 0.000 0.000 0.000 0.000 PpmImagePlugin.py:59(PpmImageFile)
1 0.000 0.000 0.000 0.000 TiffImagePlugin.py:130(<dictcomp>)
1 0.000 0.000 0.000 0.000 TiffImagePlugin.py:1541(AppendingTiffWriter)
15 0.000 0.000 0.000 0.000 TiffImagePlugin.py:252(_accept)
1 0.000 0.000 0.000 0.000 TiffImagePlugin.py:269(IFDRational)
28 0.000 0.000 0.000 0.000 TiffImagePlugin.py:343(_delegate)
1 0.000 0.000 0.000 0.000 TiffImagePlugin.py:386(ImageFileDirectory_v2)
1 0.000 0.000 0.049 0.049 TiffImagePlugin.py:42(<module>)
5 0.000 0.000 0.000 0.000 TiffImagePlugin.py:591(_register_loader)
5 0.000 0.000 0.000 0.000 TiffImagePlugin.py:592(decorator)
5 0.000 0.000 0.000 0.000 TiffImagePlugin.py:600(_register_writer)
5 0.000 0.000 0.000 0.000 TiffImagePlugin.py:601(decorator)
7 0.000 0.000 0.000 0.000 TiffImagePlugin.py:606(_register_basic)
1 0.000 0.000 0.000 0.000 TiffImagePlugin.py:825(ImageFileDirectory_v1)
1 0.000 0.000 0.000 0.000 TiffImagePlugin.py:918(TiffImageFile)
1 0.000 0.000 0.002 0.002 TiffTags.py:20(<module>)
1 0.000 0.000 0.000 0.000 TiffTags.py:23(TagInfo)
103 0.000 0.000 0.000 0.000 TiffTags.py:26(__new__)
1 0.000 0.000 0.000 0.000 TiffTags.py:348(_populate)
1 0.000 0.000 0.000 0.000 __about__.py:4(<module>)
1 0.000 0.000 0.000 0.000 __future__.py:48(<module>)
1 0.000 0.000 0.000 0.000 __future__.py:78(_Feature)
9 0.000 0.000 0.000 0.000 __future__.py:79(__init__)
6 0.000 0.000 0.038 0.006 __init__.py:1(<module>)
1 0.000 0.000 0.000 0.000 __init__.py:10(__init__)
6 0.000 0.000 0.000 0.000 __init__.py:100(isShiftCharacter)
1 0.000 0.000 0.000 0.000 __init__.py:1004(FailSafeException)
1 0.000 0.000 0.000 0.000 __init__.py:1006(_ReqExtras)
1 0.000 0.000 0.000 0.000 __init__.py:1008(FileHandler)
22 0.000 0.000 0.413 0.019 __init__.py:1008(_failSafeCheck)
1 0.000 0.000 0.001 0.001 __init__.py:1026(Environment)
1 0.000 0.000 0.000 0.000 __init__.py:1077(_StderrHandler)
1 0.000 0.000 0.000 0.000 __init__.py:1083(__init__)
1 0.000 0.000 0.438 0.438 __init__.py:11(<module>)
1 0.000 0.000 0.000 0.000 __init__.py:1101(PlaceHolder)
1 0.000 0.000 0.000 0.000 __init__.py:1107(__init__)
1 0.000 0.000 0.000 0.000 __init__.py:1113(append)
1 0.000 0.000 0.000 0.000 __init__.py:1143(Manager)
1 0.000 0.000 0.000 0.000 __init__.py:1148(__init__)
2 0.000 0.000 0.000 0.000 __init__.py:1159(getLogger)
1 0.000 0.000 0.000 0.000 __init__.py:1166(ExtractionError)
1 0.000 0.000 0.000 0.000 __init__.py:1182(ResourceManager)
1 0.000 0.000 0.000 0.000 __init__.py:1186(__init__)
2 0.000 0.000 0.000 0.000 __init__.py:1210(_fixupParents)
1 0.000 0.000 0.000 0.000 __init__.py:1251(Logger)
3 0.000 0.000 0.000 0.000 __init__.py:1266(__init__)
90 0.000 0.000 0.001 0.000 __init__.py:1284(debug)
1 0.000 0.000 0.000 0.000 __init__.py:137(EventType)
156 0.001 0.000 0.003 0.000 __init__.py:1372(safe_name)
166 0.001 0.000 0.011 0.000 __init__.py:1380(safe_version)
14 0.000 0.000 0.000 0.000 __init__.py:139(_check_size)
1 0.000 0.000 0.008 0.008 __init__.py:14(<module>)
1 0.000 0.000 0.000 0.000 __init__.py:14(_setup_conveniences)
1 0.000 0.000 0.037 0.037 __init__.py:14(_update)
1 0.000 0.000 0.000 0.000 __init__.py:1438(NullProvider)
88 0.000 0.000 0.002 0.000 __init__.py:1461(has_metadata)
13 0.000 0.000 0.042 0.003 __init__.py:1464(get_metadata)
13 0.000 0.000 0.042 0.003 __init__.py:1470(get_metadata_lines)
12 0.000 0.000 0.000 0.000 __init__.py:15(search_path)
1 0.000 0.000 0.000 0.000 __init__.py:151(py_object)
101 0.000 0.000 0.001 0.000 __init__.py:1522(_fn)
90 0.000 0.000 0.000 0.000 __init__.py:1528(getEffectiveLevel)
1 0.000 0.000 0.000 0.000 __init__.py:1538(EggProvider)
90 0.000 0.000 0.000 0.000 __init__.py:1542(isEnabledFor)
1 0.000 0.000 0.000 0.000 __init__.py:1560(DefaultProvider)
88 0.000 0.000 0.001 0.000 __init__.py:1563(_has)
1 0.000 0.000 0.000 0.000 __init__.py:1574(RootLogger)
13 0.001 0.000 0.042 0.003 __init__.py:1575(_get)
1 0.000 0.000 0.000 0.000 __init__.py:1579(_register)
1 0.000 0.000 0.000 0.000 __init__.py:1580(__init__)
1 0.000 0.000 0.000 0.000 __init__.py:1588(LoggerAdapter)
1 0.000 0.000 0.000 0.000 __init__.py:1589(EmptyProvider)
7 0.000 0.000 0.712 0.102 __init__.py:159(_autoPause)
1 0.000 0.000 0.000 0.000 __init__.py:1597(__init__)
1 0.000 0.000 1.755 1.755 __init__.py:16(<module>)
1 0.000 0.000 0.000 0.000 __init__.py:160(c_short)
1 0.000 0.000 0.000 0.000 __init__.py:1604(ZipManifests)
1 0.000 0.000 0.001 0.001 __init__.py:1631(MemoizedZipManifests)
1 0.000 0.000 0.000 0.000 __init__.py:164(c_ushort)
1 0.000 0.000 0.000 0.000 __init__.py:1651(ContextualZipFile)
5 0.000 0.000 0.001 0.000 __init__.py:167(_unpackXY)
1 0.000 0.000 0.000 0.000 __init__.py:1671(ZipProvider)
1 0.000 0.000 0.000 0.000 __init__.py:168(c_long)
1 0.000 0.000 0.000 0.000 __init__.py:1686(CallWrapper)
1 0.000 0.000 0.000 0.000 __init__.py:17(<module>)
1 0.000 0.000 0.000 0.000 __init__.py:1706(XView)
1 0.000 0.000 0.000 0.000 __init__.py:172(c_ulong)
1 0.000 0.000 0.000 0.000 __init__.py:1727(YView)
1 0.000 0.000 0.000 0.000 __init__.py:1748(Wm)
1 0.000 0.000 0.000 0.000 __init__.py:180(Event)
1 0.000 0.000 0.000 0.000 __init__.py:181(c_int)
2 0.000 0.000 0.000 0.000 __init__.py:1836(getLogger)
1 0.000 0.000 0.000 0.000 __init__.py:1840(FileMetadata)
1 0.000 0.000 0.000 0.000 __init__.py:185(c_uint)
27 0.000 0.000 0.413 0.015 __init__.py:187(position)
1 0.000 0.000 0.000 0.000 __init__.py:1879(PathMetadata)
1 0.000 0.000 0.000 0.000 __init__.py:189(c_float)
156 0.000 0.000 0.000 0.000 __init__.py:1899(__init__)
4 0.000 0.000 0.000 0.000 __init__.py:190(_checkLevel)
1 0.000 0.000 0.000 0.000 __init__.py:1904(EggMetadata)
4 0.000 0.000 0.000 0.000 __init__.py:1922(register_finder)
1 0.000 0.000 0.000 0.000 __init__.py:193(c_double)
12 0.000 0.000 0.001 0.000 __init__.py:1932(find_distributions)
1 0.000 0.000 0.000 0.000 __init__.py:195(SetuptoolsVersion)
2 0.000 0.000 0.000 0.000 __init__.py:1963(find_nothing)
1 0.000 0.000 0.000 0.000 __init__.py:1964(NullHandler)
1 0.000 0.000 0.000 0.000 __init__.py:197(c_longdouble)
10 0.000 0.000 0.177 0.018 __init__.py:1970(_by_version_descending)
1202 0.004 0.000 0.149 0.000 __init__.py:1985(_by_version)
1 0.000 0.000 0.000 0.000 __init__.py:199(SetuptoolsLegacyVersion)
1202 0.005 0.000 0.134 0.000 __init__.py:1991(<listcomp>)
1 0.000 0.000 0.000 0.000 __init__.py:1993(Tk)
166 0.004 0.000 0.316 0.002 __init__.py:1996(find_on_path)
4 0.000 0.000 0.000 0.000 __init__.py:2051(register_namespace_handler)
37 0.000 0.000 0.006 0.000 __init__.py:2069(_handle_ns)
5 0.000 0.000 0.018 0.004 __init__.py:210(size)
1 0.000 0.000 0.000 0.000 __init__.py:2115(Pack)
3 0.000 0.000 0.001 0.000 __init__.py:2124(declare_namespace)
4 0.000 0.000 0.000 0.000 __init__.py:214(_declare_state)
1 0.000 0.000 0.000 0.000 __init__.py:2154(Place)
78 0.000 0.000 0.005 0.000 __init__.py:2157(fixup_namespace_packages)
1 0.000 0.000 0.000 0.000 __init__.py:218(c_ubyte)
3 0.000 0.000 0.000 0.000 __init__.py:219(_acquireLock)
5 0.000 0.000 0.001 0.000 __init__.py:2196(normalize_path)
1 0.000 0.000 0.000 0.000 __init__.py:2198(Grid)
400 0.000 0.000 0.001 0.000 __init__.py:2201(_normalize_cached)
10 0.000 0.000 0.000 0.000 __init__.py:2209(_is_unpacked_egg)
46 0.000 0.000 0.000 0.000 __init__.py:2226(yield_lines)
1 0.000 0.000 0.000 0.000 __init__.py:2245(BaseWidget)
1 0.000 0.000 0.000 0.000 __init__.py:225(c_byte)
1 0.000 0.000 0.002 0.002 __init__.py:2255(EntryPoint)
3 0.000 0.000 0.000 0.000 __init__.py:228(_releaseLock)
10 0.000 0.000 0.000 0.000 __init__.py:23(find_module)
1 0.000 0.000 0.000 0.000 __init__.py:230(c_char)
1 0.000 0.000 0.000 0.000 __init__.py:2307(Widget)
1 0.000 0.000 0.000 0.000 __init__.py:2314(Toplevel)
1 0.000 0.000 0.000 0.000 __init__.py:2342(Button)
1 0.000 0.000 0.000 0.000 __init__.py:235(c_char_p)
1 0.000 0.000 0.000 0.000 __init__.py:2387(Canvas)
1 0.000 0.000 0.000 0.000 __init__.py:239(LogRecord)
10 0.000 0.000 0.022 0.002 __init__.py:2390(_version_from_file)
30 0.000 0.000 0.000 0.000 __init__.py:2395(<lambda>)
1 0.000 0.000 0.016 0.016 __init__.py:24(<module>)
1 0.000 0.000 0.000 0.000 __init__.py:24(_setup_conveniences)
1 0.000 0.000 0.000 0.000 __init__.py:2402(Distribution)
156 0.001 0.000 0.013 0.000 __init__.py:2406(__init__)
1 0.000 0.000 0.000 0.000 __init__.py:241(c_void_p)
156 0.002 0.000 0.040 0.000 __init__.py:2418(from_location)
146 0.000 0.000 0.000 0.000 __init__.py:2435(_reload_version)
1 0.000 0.000 0.000 0.000 __init__.py:246(c_bool)
468 0.001 0.000 0.002 0.000 __init__.py:2477(key)
1 0.000 0.000 0.222 0.222 __init__.py:25(<module>)
1 0.000 0.000 0.000 0.000 __init__.py:251(c_wchar_p)
1 0.000 0.000 0.001 0.001 __init__.py:254(get_supported_platform)
1 0.000 0.000 0.000 0.000 __init__.py:256(c_wchar)
121 0.001 0.000 0.046 0.000 __init__.py:2563(_get_metadata)
78 0.000 0.000 0.033 0.000 __init__.py:2568(activate)
1 0.000 0.000 0.000 0.000 __init__.py:259(_reset_cache)
1 0.000 0.000 0.009 0.009 __init__.py:26(_load)
257 0.000 0.000 0.001 0.000 __init__.py:2604(__getattr__)
1 0.000 0.000 0.000 0.000 __init__.py:2628(Checkbutton)
78 0.001 0.000 0.002 0.000 __init__.py:2649(insert_on)
1 0.000 0.000 0.000 0.000 __init__.py:2657(Entry)
78 0.000 0.000 0.000 0.000 __init__.py:2675(<listcomp>)
1 0.000 0.000 3.949 3.949 __init__.py:27(<module>)
1 0.000 0.000 0.000 0.000 __init__.py:2722(Frame)
1 0.000 0.000 0.000 0.000 __init__.py:2740(Label)
1 0.000 0.000 0.000 0.000 __init__.py:2759(EggInfoDistribution)
10 0.000 0.000 0.022 0.002 __init__.py:2760(_reload_version)
1 0.000 0.000 0.000 0.000 __init__.py:2762(Listbox)
1 0.000 0.000 0.001 0.001 __init__.py:2778(DistInfoDistribution)
1 0.000 0.000 0.000 0.000 __init__.py:2845(RequirementParseError)
1 0.000 0.000 0.000 0.000 __init__.py:2853(Menu)
1 0.000 0.000 0.000 0.000 __init__.py:2869(Requirement)
1 0.000 0.000 0.000 0.000 __init__.py:288(Variable)
12 0.000 0.000 0.000 0.000 __init__.py:2922(_get_mro)
12 0.000 0.000 0.000 0.000 __init__.py:2933(_find_adapter)
1 0.000 0.000 0.000 0.000 __init__.py:2956(Menubutton)
1 0.000 0.000 0.000 0.000 __init__.py:2961(Message)
1 0.000 0.000 0.000 0.000 __init__.py:2966(Radiobutton)
1 0.000 0.000 0.000 0.000 __init__.py:2993(Scale)
1 0.000 0.000 3.213 3.213 __init__.py:3(<module>)
1 0.000 0.000 0.048 0.048 __init__.py:30(_load)
2 0.000 0.000 0.353 0.177 __init__.py:3002(_call_aside)
1 0.000 0.000 0.000 0.000 __init__.py:3007(_initialize)
1 0.000 0.000 0.353 0.353 __init__.py:3017(_initialize_master_working_set)
1 0.000 0.000 0.000 0.000 __init__.py:3026(Scrollbar)
1 0.000 0.000 0.000 0.000 __init__.py:3070(Text)
1 0.000 0.000 0.179 0.179 __init__.py:31(<module>)
1 0.000 0.000 0.000 0.000 __init__.py:311(CDLL)
15 0.003 0.000 7.190 0.479 __init__.py:322(_screenshot_osx)
5 0.000 0.000 1.016 0.203 __init__.py:324(click)
1 0.000 0.000 0.000 0.000 __init__.py:325(ResolutionError)
1 0.000 0.000 0.000 0.000 __init__.py:332(VersionConflict)
1 0.000 0.000 0.000 0.000 __init__.py:332(__init__)
1 0.000 0.000 0.000 0.000 __init__.py:342(_FuncPtr)
1 0.000 0.000 0.000 0.000 __init__.py:3427(_setit)
1 0.000 0.000 0.000 0.000 __init__.py:3438(OptionMenu)
1 0.000 0.000 0.000 0.000 __init__.py:3475(Image)
6 0.000 0.000 0.098 0.016 __init__.py:35(load_module)
1 0.000 0.000 0.000 0.000 __init__.py:3532(PhotoImage)
20 0.001 0.000 0.021 0.001 __init__.py:357(namedtuple)
1 0.000 0.000 0.000 0.000 __init__.py:3596(BitmapImage)
1 0.000 0.000 0.000 0.000 __init__.py:3611(Spinbox)
1 0.000 0.000 0.000 0.000 __init__.py:364(ContextualVersionConflict)
1 0.000 0.000 0.000 0.000 __init__.py:371(PyDLL)
1 0.000 0.000 0.000 0.000 __init__.py:3769(LabelFrame)
1 0.000 0.000 0.000 0.000 __init__.py:377(DistributionNotFound)
1 0.000 0.000 0.000 0.000 __init__.py:378(PercentStyle)
1 0.000 0.000 0.000 0.000 __init__.py:3791(PanedWindow)
1 0.000 0.000 0.000 0.000 __init__.py:384(__init__)
1 0.000 0.000 0.000 0.000 __init__.py:393(StrFormatStyle)
1 0.000 0.000 0.001 0.001 __init__.py:4(<module>)
1 0.000 0.000 0.000 0.000 __init__.py:4(VendorImporter)
1 0.000 0.000 0.000 0.000 __init__.py:402(StringTemplateStyle)
1 0.000 0.000 0.000 0.000 __init__.py:404(UnknownExtra)
15 0.000 0.000 7.204 0.480 __init__.py:407(pixelMatchesColor)
1 0.000 0.000 0.000 0.000 __init__.py:411(LibraryLoader)
2 0.000 0.000 0.000 0.000 __init__.py:412(__init__)
3 0.000 0.000 0.000 0.000 __init__.py:418(register_loader_type)
112 0.000 0.000 0.000 0.000 __init__.py:420(<genexpr>)
15 0.013 0.001 7.203 0.480 __init__.py:420(pixel)
112 0.000 0.000 0.000 0.000 __init__.py:422(<genexpr>)
1 0.000 0.000 0.000 0.000 __init__.py:426(Formatter)
1 0.000 0.000 0.000 0.000 __init__.py:43(normalize_encoding)
1 0.000 0.000 0.001 0.001 __init__.py:441(_macosx_vers)
1 0.000 0.000 0.000 0.000 __init__.py:461(get_build_platform)
1 0.000 0.000 0.000 0.000 __init__.py:464(StringVar)
1 0.000 0.000 0.000 0.000 __init__.py:470(__init__)
3 0.000 0.000 0.000 0.000 __init__.py:476(PYFUNCTYPE)
3 0.000 0.000 0.000 0.000 __init__.py:477(CFunctionType)
1 0.000 0.000 0.000 0.000 __init__.py:486(IntVar)
2 0.000 0.000 2.083 1.042 __init__.py:5(<module>)
3 0.000 0.000 0.000 0.000 __init__.py:50(_resolve_name)
1 0.000 0.000 0.000 0.000 __init__.py:509(DoubleVar)
1 0.000 0.000 0.000 0.000 __init__.py:528(BooleanVar)
1 0.000 0.000 0.000 0.000 __init__.py:571(Misc)
1 0.000 0.000 0.000 0.000 __init__.py:578(IMetadataProvider)
1 0.000 0.000 0.000 0.000 __init__.py:599(BufferingFormatter)
12 0.001 0.000 1.222 0.102 __init__.py:6(<module>)
1 0.000 0.000 0.000 0.000 __init__.py:601(IResourceProvider)
1 0.000 0.000 0.000 0.000 __init__.py:629(WorkingSet)
1 0.000 0.000 0.214 0.214 __init__.py:632(__init__)
1 0.000 0.000 0.000 0.000 __init__.py:64(autorelease_pool)
1 0.000 0.000 0.000 0.000 __init__.py:64(install)
1 0.000 0.000 0.000 0.000 __init__.py:641(Filter)
1 0.000 0.000 0.214 0.214 __init__.py:645(_build_master)
1 0.000 0.000 0.000 0.000 __init__.py:65(ImageNotFoundException)
1 0.000 0.000 0.000 0.000 __init__.py:678(Filterer)
4 0.000 0.000 0.000 0.000 __init__.py:683(__init__)
12 0.000 0.000 0.320 0.027 __init__.py:687(add_entry)
3 0.000 0.000 0.000 0.000 __init__.py:73(CFUNCTYPE)
5 0.000 0.000 0.168 0.034 __init__.py:739(_mouseMoveDrag)
79 0.000 0.000 0.000 0.000 __init__.py:745(__iter__)
1 0.000 0.000 0.000 0.000 __init__.py:750(_addHandlerRef)
1 0.000 0.000 0.000 0.000 __init__.py:760(Handler)
156 0.001 0.000 0.003 0.000 __init__.py:762(add)
1 0.000 0.000 0.000 0.000 __init__.py:769(__init__)
1 0.000 0.000 0.000 0.000 __init__.py:798(createLock)
1 0.000 0.000 0.000 0.000 __init__.py:8(<module>)
1 0.000 0.000 0.604 0.604 __init__.py:9(_load)
1 0.000 0.000 0.000 0.000 __init__.py:90(PEP440Warning)
1 0.000 0.000 0.000 0.000 __init__.py:949(StreamHandler)
1 0.000 0.000 0.000 0.000 __init__.py:97(_SetuptoolsVersionMixin)
2 0.000 0.000 0.275 0.138 __init__.py:970(hotkey)
1 0.000 0.000 0.000 0.000 __init__.py:974(subscribe)
78 0.000 0.000 0.000 0.000 __init__.py:988(_added_new)
3 0.000 0.000 0.000 0.000 __init__.py:99(CFunctionType)
1 0.000 0.000 0.000 0.000 _binary.py:14(<module>)
120 0.000 0.000 0.000 0.000 _binary.py:23(i8)
90 0.000 0.000 0.000 0.000 _binary.py:71(i16be)
420 0.002 0.000 0.004 0.000 _binary.py:75(i32be)
1 0.000 0.000 0.000 0.000 _bridges.py:1(<module>)
2 0.000 0.000 0.000 0.000 _bridges.py:10(registerListType)
2 0.000 0.000 0.000 0.000 _bridges.py:20(registerMappingType)
3 0.000 0.000 0.000 0.000 _bridges.py:30(registerSetType)
2 0.000 0.000 0.000 0.000 _bridges.py:40(registerDateType)
1 0.000 0.000 1.878 1.878 _bridgesupport.py:3(<module>)
1 0.000 0.000 0.000 0.000 _bridgesupport.py:65(_BridgeSupportParser)
74 0.001 0.000 0.001 0.000 _bridgesupport.py:785(_structConvenience)
57 0.000 0.000 0.003 0.000 _bridgesupport.py:819(createStructType)
3 0.000 0.000 0.000 0.000 _bridgesupport.py:829(registerStructAlias)
1 0.000 0.000 0.000 0.000 _callable_docstr.py:1(<module>)
1 0.000 0.000 0.000 0.000 _category.py:1(<module>)
1 0.000 0.000 0.000 0.000 _category.py:26(_CategoryMeta)
1 0.000 0.000 0.000 0.000 _category.py:32(_newSubclass)
1 0.000 0.000 0.001 0.001 _category.py:36(__new__)
1 0.000 0.000 0.000 0.000 _category.py:46(<listcomp>)
1 0.000 0.000 0.000 0.000 _category.py:47(<listcomp>)
1 0.000 0.000 0.000 0.000 _category.py:57(Category)
1 0.000 0.000 0.000 0.000 _collections_abc.py:252(__subclasshook__)
15 0.000 0.000 0.000 0.000 _collections_abc.py:302(__subclasshook__)
2 0.000 0.000 0.000 0.000 _collections_abc.py:367(__subclasshook__)
40 0.000 0.000 0.000 0.000 _collections_abc.py:392(__subclasshook__)
37 0.001 0.000 0.004 0.000 _collections_abc.py:657(get)
6 0.000 0.000 0.000 0.000 _collections_abc.py:664(__contains__)
1 0.000 0.000 0.000 0.000 _collections_abc.py:72(_check_methods)
1 0.000 0.000 0.000 0.000 _compat.py:1(<module>)
1 0.000 0.000 0.000 0.000 _compat.py:20(with_metaclass)
1 0.000 0.000 0.000 0.000 _compat.py:27(metaclass)
1 0.000 0.000 0.000 0.000 _compat.py:28(__new__)
1 0.000 0.000 0.000 0.000 _compat.py:4(<module>)
43 0.000 0.000 0.000 0.000 _compat_pickle.py:165(<genexpr>)
85 0.000 0.000 0.000 0.000 _compat_pickle.py:167(<genexpr>)
1 0.000 0.000 0.000 0.000 _compat_pickle.py:9(<module>)
1 0.000 0.000 0.000 0.000 _compression.py:1(<module>)
1 0.000 0.000 0.000 0.000 _compression.py:33(DecompressReader)
1 0.000 0.000 0.000 0.000 _compression.py:9(BaseStream)
1 0.000 0.000 0.000 0.000 _context.py:1(<module>)
1 0.000 0.000 0.000 0.000 _context.py:15(NSDisabledSuddenTermination)
1 0.000 0.000 0.000 0.000 _context.py:27(<module>)
1 0.000 0.000 0.000 0.000 _context.py:3(NSDisabledAutomaticTermination)
1 0.000 0.000 0.000 0.000 _context.py:31(ContextRegistry)
1 0.000 0.000 0.000 0.000 _context.py:32(__init__)
1 0.000 0.000 0.000 0.000 _contextmanager.py:36(CGTransparencyLayer)
1 0.000 0.000 0.000 0.000 _contextmanager.py:4(<module>)
1 0.000 0.000 0.000 0.000 _contextmanager.py:69(CGContextPage)
1 0.000 0.000 0.000 0.000 _contextmanager.py:8(CGSavedGState)
1 0.000 0.000 0.000 0.000 _convenience.py:16(register)
106 0.001 0.000 0.002 0.000 _convenience.py:20(add_convenience_methods)
1 0.000 0.000 0.000 0.000 _convenience.py:4(<module>)
1 0.000 0.000 0.000 0.000 _convenience.py:41(register)
55 0.001 0.000 0.001 0.000 _convenience.py:44(makeBundleForClass)
42 0.000 0.000 0.002 0.000 _convenience.py:65(addConvenienceForClass)
8 0.000 0.000 0.000 0.000 _convenience_mapping.py:115(addConvenienceForBasicMapping)
1 0.000 0.000 0.000 0.000 _convenience_mapping.py:3(<module>)
1 0.000 0.000 0.001 0.001 _convenience_nsarray.py:3(<module>)
1 0.000 0.000 0.000 0.000 _convenience_nsdata.py:7(<module>)
1 0.000 0.000 0.000 0.000 _convenience_nsdecimal.py:6(<module>)
1 0.000 0.000 0.000 0.000 _convenience_nsdictionary.py:159(nsdict_keys)
1 0.000 0.000 0.000 0.000 _convenience_nsdictionary.py:180(nsdict_values)
1 0.000 0.000 0.000 0.000 _convenience_nsdictionary.py:205(nsdict_items)
1 0.000 0.000 0.005 0.005 _convenience_nsdictionary.py:3(<module>)
1 0.000 0.000 0.000 0.000 _convenience_nsdictionary.py:39(nsdict_view)
1 0.000 0.000 0.000 0.000 _convenience_nsobject.py:61(kvc)
1 0.000 0.000 0.000 0.000 _convenience_nsobject.py:7(<module>)
1 0.000 0.000 0.000 0.000 _convenience_nsset.py:231(nsset__iter__)
1 0.000 0.000 0.001 0.001 _convenience_nsset.py:3(<module>)
1 0.000 0.000 0.000 0.000 _convenience_nsstring.py:3(<module>)
1 0.000 0.000 0.000 0.000 _convenience_sequence.py:4(<module>)
2 0.000 0.000 0.000 0.000 _convenience_sequence.py:42(addConvenienceForBasicSequence)
13 0.000 0.000 0.000 0.000 _descriptors.py:151(namedSelector)
13 0.000 0.000 0.000 0.000 _descriptors.py:165(_namedselector)
1 0.000 0.000 0.042 0.042 _descriptors.py:5(<module>)
11 0.000 0.000 0.005 0.000 _dyld.py:111(dyld_find)
11 0.000 0.000 0.005 0.000 _dyld.py:121(pathForFramework)
1 0.000 0.000 0.001 0.001 _dyld.py:3(<module>)
55 0.000 0.000 0.000 0.000 _dyld.py:30(ensure_unicode)
11 0.000 0.000 0.000 0.000 _dyld.py:36(inject_suffixes)
11 0.000 0.000 0.001 0.000 _dyld.py:49(dyld_framework)
22 0.000 0.000 0.000 0.000 _dyld.py:55(_search)
1 0.000 0.000 0.000 0.000 _endian.py:1(<module>)
1 0.000 0.000 0.000 0.000 _endian.py:23(_swapped_meta)
1 0.000 0.000 0.000 0.000 _endian.py:46(BigEndianStructure)
22 0.000 0.000 0.001 0.000 _framework.py:15(infoForFramework)
1 0.000 0.000 0.000 0.000 _framework.py:3(<module>)
1 0.000 0.000 0.003 0.003 _functiondefines.py:3(<module>)
1 0.000 0.000 0.001 0.001 _functiondefines.py:33(_OC_DisabledSuddenTermination)
563/190 0.004 0.000 0.206 0.001 _lazyimport.py:117(__getattr__)
11 0.000 0.000 0.398 0.036 _lazyimport.py:17(_loadBundle)
111 0.000 0.000 0.001 0.000 _lazyimport.py:281(__prs_enum)
548 0.008 0.000 0.199 0.000 _lazyimport.py:296(__get_constant)
13 0.002 0.000 0.086 0.007 _lazyimport.py:391(__load_cftypes)
1 0.000 0.000 0.000 0.000 _lazyimport.py:42(GetAttrMap)
13 0.000 0.000 0.000 0.000 _lazyimport.py:44(__init__)
1 0.000 0.000 0.000 0.000 _lazyimport.py:53(ObjCLazyModule)
1 0.000 0.000 0.000 0.000 _lazyimport.py:6(<module>)
13 0.003 0.000 0.488 0.038 _lazyimport.py:72(__init__)
1 0.000 0.000 0.000 0.000 _locking.py:6(<module>)
1 0.000 0.000 0.000 0.000 _locking.py:9(object_lock)
11 0.010 0.001 0.076 0.007 _metadata.py:5(<module>)
2606 0.000 0.000 0.000 0.000 _metadata.py:8(sel32or64)
1 0.000 0.000 0.000 0.000 _native_osx.py:1(<module>)
1 0.000 0.000 0.000 0.000 _nsapp.py:1(<module>)
1 0.000 0.000 0.000 0.000 _nsapp.py:4(_NSApp)
1 0.000 0.000 0.000 0.000 _nsindexset.py:1(<module>)
1 0.000 0.000 0.001 0.001 _nsobject.py:25(NSObject)
1 0.000 0.000 0.002 0.002 _nsobject.py:3(<module>)
1 0.000 0.000 0.000 0.000 _osx_support.py:429(get_platform_osx)
3 0.000 0.000 0.000 0.000 _osx_support.py:455(<genexpr>)
1 0.000 0.000 0.000 0.000 _osx_support.py:83(_get_system_version)
1 0.000 0.000 0.000 0.000 _parseaddr.py:203(AddrlistClass)
1 0.000 0.000 0.000 0.000 _parseaddr.py:495(AddressList)
1 0.000 0.000 0.005 0.005 _parseaddr.py:7(<module>)
10 0.000 0.000 0.000 0.000 _policybase.py:104(<genexpr>)
1 0.000 0.000 0.000 0.000 _policybase.py:112(Policy)
1 0.000 0.000 0.000 0.000 _policybase.py:18(_PolicyBase)
1 0.000 0.000 0.000 0.000 _policybase.py:271(Compat32)
1 0.000 0.000 0.955 0.955 _policybase.py:4(<module>)
1 0.000 0.000 0.000 0.000 _policybase.py:41(__init__)
6 0.000 0.000 0.000 0.000 _policybase.py:94(_append_doc)
1 0.000 0.000 0.000 0.000 _policybase.py:99(_extend_docstrings)
1 0.000 0.000 0.001 0.001 _properties.py:1(<module>)
1 0.000 0.000 0.000 0.000 _properties.py:1051(set_property)
1 0.000 0.000 0.000 0.000 _properties.py:1148(dict_property)
1 0.000 0.000 0.000 0.000 _properties.py:282(bool_property)
1 0.000 0.000 0.000 0.000 _properties.py:307(array_proxy)
1 0.000 0.000 0.000 0.000 _properties.py:615(array_property)
1 0.000 0.000 0.000 0.000 _properties.py:64(object_property)
1 0.000 0.000 0.000 0.000 _properties.py:704(set_proxy)
1 0.000 0.000 0.000 0.000 _protocols.py:1(<module>)
1 0.000 0.000 0.000 0.000 _protocols.py:6(ProtocolError)
1 0.000 0.000 3.223 3.223 _pyautogui_osx.py:1(<module>)
3 0.000 0.000 0.035 0.012 _pyautogui_osx.py:219(_keyDown)
3 0.000 0.000 0.032 0.011 _pyautogui_osx.py:228(_keyUp)
6 0.001 0.000 0.067 0.011 _pyautogui_osx.py:238(_normalKeyEvent)
1 0.000 0.000 0.000 0.000 _pyautogui_osx.py:25(<listcomp>)
32 0.410 0.013 0.413 0.013 _pyautogui_osx.py:295(_position)
5 0.016 0.003 0.018 0.004 _pyautogui_osx.py:300(_size)
5 0.000 0.000 0.005 0.001 _pyautogui_osx.py:377(_click)
15 0.016 0.001 0.019 0.001 _pyautogui_osx.py:391(_sendMouseEvent)
5 0.000 0.000 0.073 0.015 _pyautogui_osx.py:407(_moveTo)
1 0.000 0.000 0.000 0.000 _pycoder.py:139(_EmptyClass)
1 0.000 0.000 0.031 0.031 _pycoder.py:9(<module>)
1 0.000 0.000 0.000 0.000 _pythonify.py:1(<module>)
1 0.000 0.000 0.000 0.000 _pythonify.py:26(OC_PythonLong)
1 0.000 0.000 0.000 0.000 _pythonify.py:7(OC_PythonFloat)
1 0.000 0.000 0.000 0.000 _static.py:1(<module>)
1 0.000 0.000 0.000 0.000 _static.py:25(_setup)
1 0.000 0.000 0.000 0.000 _static.py:52(_setup)
1 0.000 0.000 0.000 0.000 _static.py:7(_setup)
2100 0.000 0.000 0.000 0.000 _structures.py:33(__neg__)
1 0.000 0.000 0.000 0.000 _structures.py:39(NegativeInfinity)
1 0.000 0.000 0.000 0.000 _structures.py:4(<module>)
1 0.000 0.000 0.000 0.000 _structures.py:7(Infinity)
1 0.000 0.000 0.000 0.000 _util.py:1(<module>)
30 0.000 0.000 0.000 0.000 _util.py:13(isPath)
1 0.000 0.000 0.000 0.000 _util.py:22(deferred_error)
63 0.000 0.000 0.000 0.000 _weakrefset.py:16(__init__)
63 0.000 0.000 0.000 0.000 _weakrefset.py:20(__enter__)
63 0.000 0.000 0.000 0.000 _weakrefset.py:26(__exit__)
178 0.001 0.000 0.001 0.000 _weakrefset.py:36(__init__)
63 0.000 0.000 0.000 0.000 _weakrefset.py:52(_commit_removals)
104 0.000 0.000 0.001 0.000 _weakrefset.py:58(__iter__)
219 0.000 0.000 0.000 0.000 _weakrefset.py:70(__contains__)
82 0.000 0.000 0.000 0.000 _weakrefset.py:81(add)
38 0.001 0.000 0.004 0.000 abc.py:132(__new__)
38 0.000 0.000 0.001 0.000 abc.py:135(<setcomp>)
18 0.000 0.000 0.002 0.000 abc.py:151(register)
139 0.000 0.000 0.001 0.000 abc.py:178(__instancecheck__)
70/23 0.001 0.000 0.002 0.000 abc.py:194(__subclasscheck__)
57 0.000 0.000 0.000 0.000 abc.py:9(abstractmethod)
1 0.000 0.000 0.000 0.000 appdirs.py:365(AppDirs)
1 0.000 0.000 0.000 0.000 appdirs.py:9(<module>)
1 0.000 0.000 0.000 0.000 ast.py:229(NodeVisitor)
1 0.000 0.000 0.000 0.000 ast.py:26(<module>)
1 0.000 0.000 0.000 0.000 ast.py:266(NodeTransformer)
1 0.000 0.000 0.000 0.000 base64.py:3(<module>)
1 0.000 0.000 0.002 0.002 base64mime.py:25(<module>)
1 0.000 0.000 0.166 0.166 bisect.py:1(<module>)
1 0.000 0.000 0.000 0.000 bz2.py:32(BZ2File)
1 0.000 0.000 0.009 0.009 bz2.py:5(<module>)
1 0.000 0.000 0.000 0.000 calendar.py:129(Calendar)
1 0.000 0.000 0.000 0.000 calendar.py:135(__init__)
1 0.000 0.000 0.000 0.000 calendar.py:141(setfirstweekday)
1 0.000 0.000 0.000 0.000 calendar.py:24(IllegalMonthError)
1 0.000 0.000 0.000 0.000 calendar.py:260(TextCalendar)
1 0.000 0.000 0.000 0.000 calendar.py:31(IllegalWeekdayError)
1 0.000 0.000 0.000 0.000 calendar.py:377(HTMLCalendar)
1 0.000 0.000 0.000 0.000 calendar.py:489(different_locale)
1 0.000 0.000 0.000 0.000 calendar.py:50(_localized_month)
1 0.000 0.000 0.000 0.000 calendar.py:501(LocaleTextCalendar)
1 0.000 0.000 0.000 0.000 calendar.py:52(<listcomp>)
1 0.000 0.000 0.000 0.000 calendar.py:532(LocaleHTMLCalendar)
2 0.000 0.000 0.000 0.000 calendar.py:55(__init__)
1 0.000 0.000 0.001 0.001 calendar.py:6(<module>)
1 0.000 0.000 0.000 0.000 calendar.py:69(_localized_day)
1 0.000 0.000 0.000 0.000 calendar.py:72(<listcomp>)
2 0.000 0.000 0.000 0.000 calendar.py:74(__init__)
1 0.000 0.000 0.000 0.000 charset.py:167(Charset)
2 0.000 0.000 0.000 0.000 charset.py:211(__init__)
1 0.000 0.000 0.001 0.001 charset.py:6(<module>)
1 0.000 0.000 0.000 0.000 codecs.py:259(__init__)
1 0.000 0.000 0.000 0.000 codecs.py:308(__init__)
30 0.000 0.000 0.000 0.000 codecs.py:318(decode)
1 0.000 0.000 0.000 0.000 constants.py:4(<module>)
2 0.000 0.000 0.000 0.000 contextlib.py:129(contextmanager)
471 0.001 0.000 0.003 0.000 copy.py:268(_reconstruct)
471 0.002 0.000 0.009 0.000 copy.py:66(copy)
471 0.000 0.000 0.001 0.000 copyreg.py:87(__newobj__)
17 0.000 0.000 0.000 0.000 copyreg.py:96(_slotnames)
1 0.000 0.000 0.000 0.000 datetime.py:1023(time)
2 0.000 0.000 0.000 0.000 datetime.py:1048(__new__)
1 0.000 0.000 0.000 0.000 datetime.py:1360(datetime)
3 0.000 0.000 0.000 0.000 datetime.py:1368(__new__)
1 0.000 0.000 0.000 0.000 datetime.py:1949(timezone)
3 0.000 0.000 0.000 0.000 datetime.py:1972(_create)
35 0.000 0.000 0.000 0.000 datetime.py:261(_check_int_field)
5 0.000 0.000 0.000 0.000 datetime.py:278(_check_date_fields)
5 0.000 0.000 0.000 0.000 datetime.py:291(_check_time_fields)
5 0.000 0.000 0.000 0.000 datetime.py:308(_check_tzinfo_arg)
1 0.000 0.000 0.000 0.000 datetime.py:336(timedelta)
9 0.000 0.000 0.000 0.000 datetime.py:355(__new__)
3 0.000 0.000 0.000 0.000 datetime.py:40(_days_before_year)
5 0.000 0.000 0.000 0.000 datetime.py:45(_days_in_month)
1 0.000 0.000 0.015 0.015 datetime.py:5(<module>)
1 0.000 0.000 0.000 0.000 datetime.py:530(__neg__)
1 0.000 0.000 0.000 0.000 datetime.py:658(date)
2 0.000 0.000 0.000 0.000 datetime.py:688(__new__)
1 0.000 0.000 0.000 0.000 datetime.py:953(tzinfo)
1 0.000 0.000 0.026 0.026 decimal.py:2(<module>)
1 0.000 0.000 0.012 0.012 dis.py:1(<module>)
1 0.000 0.000 0.000 0.000 dis.py:178(Instruction)
1 0.000 0.000 0.000 0.000 dis.py:416(Bytecode)
1 0.000 0.000 0.001 0.001 encoders.py:5(<module>)
10 0.000 0.000 0.000 0.000 enum.py:114(__prepare__)
10 0.002 0.000 0.005 0.001 enum.py:124(__new__)
10 0.000 0.000 0.000 0.000 enum.py:135(<dictcomp>)
10 0.000 0.000 0.000 0.000 enum.py:160(<setcomp>)
27 0.000 0.000 0.000 0.000 enum.py:179(<genexpr>)
117 0.000 0.000 0.000 0.000 enum.py:20(_is_descriptor)
9416 0.008 0.000 0.024 0.000 enum.py:265(__call__)
143 0.000 0.000 0.000 0.000 enum.py:28(_is_dunder)
10 0.000 0.000 0.000 0.000 enum.py:310(__getattr__)
8 0.000 0.000 0.000 0.000 enum.py:335(__members__)
184 0.001 0.000 0.001 0.000 enum.py:351(__setattr__)
143 0.000 0.000 0.000 0.000 enum.py:36(_is_sunder)
8 0.000 0.000 0.005 0.001 enum.py:364(_create_)
28 0.000 0.000 0.000 0.000 enum.py:417(_get_mixins_)
10 0.000 0.000 0.000 0.000 enum.py:462(_find_new_)
9408 0.010 0.000 0.011 0.000 enum.py:515(__new__)
2 0.000 0.000 0.000 0.000 enum.py:535(_generate_next_value_)
2 0.000 0.000 0.000 0.000 enum.py:579(__hash__)
111 0.000 0.000 0.000 0.000 enum.py:592(name)
6 0.000 0.000 0.000 0.000 enum.py:597(value)
7 0.000 0.000 0.006 0.001 enum.py:602(_convert)
7 0.000 0.000 0.001 0.000 enum.py:623(<listcomp>)
71 0.000 0.000 0.000 0.000 enum.py:628(<lambda>)
10 0.000 0.000 0.000 0.000 enum.py:65(__init__)
143 0.001 0.000 0.002 0.000 enum.py:70(__setitem__)
6 0.000 0.000 0.001 0.000 enum.py:758(_missing_)
6 0.000 0.000 0.001 0.000 enum.py:765(_create_pseudo_member_)
249 0.001 0.000 0.003 0.000 enum.py:795(__or__)
4455 0.012 0.000 0.033 0.000 enum.py:801(__and__)
36 0.000 0.000 0.000 0.000 enum.py:820(_high_bit)
6 0.000 0.000 0.001 0.000 enum.py:837(_decompose)
1 0.000 0.000 0.000 0.000 enum.py:848(<listcomp>)
5 0.000 0.000 0.000 0.000 enum.py:855(<listcomp>)
22 0.000 0.000 0.000 0.000 enum.py:866(<lambda>)
48 0.000 0.000 0.000 0.000 enum.py:872(_power_of_two)
1 0.000 0.000 0.000 0.000 errors.py:101(ObsoleteHeaderDefect)
1 0.000 0.000 0.000 0.000 errors.py:104(NonASCIILocalPartDefect)
1 0.000 0.000 0.000 0.000 errors.py:12(MessageParseError)
1 0.000 0.000 0.000 0.000 errors.py:16(HeaderParseError)
1 0.000 0.000 0.000 0.000 errors.py:20(BoundaryError)
1 0.000 0.000 0.000 0.000 errors.py:24(MultipartConversionError)
1 0.000 0.000 0.000 0.000 errors.py:28(CharsetError)
1 0.000 0.000 0.000 0.000 errors.py:33(MessageDefect)
1 0.000 0.000 0.000 0.000 errors.py:41(NoBoundaryInMultipartDefect)
1 0.000 0.000 0.000 0.000 errors.py:44(StartBoundaryNotFoundDefect)
1 0.000 0.000 0.000 0.000 errors.py:47(CloseBoundaryNotFoundDefect)
1 0.000 0.000 0.001 0.001 errors.py:5(<module>)
1 0.000 0.000 0.000 0.000 errors.py:50(FirstHeaderLineIsContinuationDefect)
1 0.000 0.000 0.000 0.000 errors.py:53(MisplacedEnvelopeHeaderDefect)
1 0.000 0.000 0.000 0.000 errors.py:56(MissingHeaderBodySeparatorDefect)
1 0.000 0.000 0.000 0.000 errors.py:61(MultipartInvariantViolationDefect)
1 0.000 0.000 0.000 0.000 errors.py:64(InvalidMultipartContentTransferEncodingDefect)
1 0.000 0.000 0.000 0.000 errors.py:67(UndecodableBytesDefect)
1 0.000 0.000 0.000 0.000 errors.py:70(InvalidBase64PaddingDefect)
1 0.000 0.000 0.000 0.000 errors.py:73(InvalidBase64CharactersDefect)
1 0.000 0.000 0.000 0.000 errors.py:78(HeaderDefect)
1 0.000 0.000 0.000 0.000 errors.py:8(MessageError)
1 0.000 0.000 0.000 0.000 errors.py:84(InvalidHeaderDefect)
1 0.000 0.000 0.000 0.000 errors.py:87(HeaderMissingRequiredValue)
1 0.000 0.000 0.000 0.000 errors.py:90(NonPrintableDefect)
1 0.000 0.000 0.000 0.000 expat.py:1(<module>)
1 0.000 0.000 0.000 0.000 feedparser.py:136(FeedParser)
1 0.000 0.000 0.962 0.962 feedparser.py:20(<module>)
1 0.000 0.000 0.000 0.000 feedparser.py:45(BufferedSubFile)
1 0.000 0.000 0.000 0.000 feedparser.py:532(BytesFeedParser)
1 0.000 0.000 0.000 0.000 fnmatch.py:11(<module>)
4 0.000 0.000 0.000 0.000 fractions.py:294(_operator_fallbacks)
1 0.000 0.000 0.035 0.035 fractions.py:4(<module>)
1 0.000 0.000 0.000 0.000 fractions.py:60(Fraction)
31 0.000 0.000 0.000 0.000 functools.py:44(update_wrapper)
2 0.000 0.000 0.000 0.000 functools.py:448(lru_cache)
2 0.000 0.000 0.000 0.000 functools.py:479(decorating_function)
29 0.000 0.000 0.000 0.000 functools.py:74(wraps)
1358 0.004 0.000 0.006 0.000 genericpath.py:117(_splitext)
100 0.000 0.000 0.001 0.000 genericpath.py:16(exists)
166 0.000 0.000 0.003 0.000 genericpath.py:39(isdir)
14 0.000 0.000 0.198 0.014 hashlib.py:116(__get_openssl_constructor)
1 0.000 0.000 0.515 0.515 hashlib.py:54(<module>)
8 0.000 0.000 0.198 0.025 hashlib.py:73(__get_builtin_constructor)
1 0.000 0.000 0.000 0.000 header.py:179(Header)
1 0.000 0.000 0.000 0.000 header.py:413(_ValueFormatter)
1 0.000 0.000 0.010 0.010 header.py:5(<module>)
1 0.000 0.000 0.000 0.000 header.py:541(_Accumulator)
1 0.000 0.000 12.468 12.468 hellbott.py:3(<module>)
1 0.000 0.000 0.000 0.000 inspect.py:2376(_void)
1 0.000 0.000 0.000 0.000 inspect.py:2380(_empty)
1 0.000 0.000 0.000 0.000 inspect.py:2384(_ParameterKind)
1 0.000 0.000 0.000 0.000 inspect.py:2402(Parameter)
1 0.000 0.000 0.000 0.000 inspect.py:2553(BoundArguments)
1 0.000 0.000 0.000 0.000 inspect.py:2683(Signature)
1 0.000 0.000 0.030 0.030 inspect.py:27(<module>)
1 0.000 0.000 0.000 0.000 inspect.py:878(EndOfBlock)
1 0.000 0.000 0.000 0.000 inspect.py:880(BlockFinder)
75 0.000 0.000 0.000 0.000 linecache.py:147(lazycache)
75 0.000 0.000 0.004 0.000 linecache.py:15(getline)
75 0.000 0.000 0.004 0.000 linecache.py:37(getlines)
25 0.000 0.000 0.001 0.000 linecache.py:53(checkcache)
1 0.000 0.000 0.016 0.016 linecache.py:6(<module>)
1 0.000 0.000 0.004 0.004 linecache.py:82(updatecache)
1 0.000 0.000 0.000 0.000 locale.py:345(_replace_encoding)
1 0.000 0.000 0.000 0.000 locale.py:379(normalize)
1 0.000 0.000 0.000 0.000 locale.py:462(_parse_localename)
1 0.000 0.000 0.000 0.000 locale.py:565(getlocale)
1 0.000 0.000 0.000 0.000 lzma.py:38(LZMAFile)
1 0.000 0.000 0.024 0.024 lzma.py:9(<module>)
1 0.000 0.000 0.000 0.000 markers.py:25(InvalidMarker)
1 0.000 0.000 0.000 0.000 markers.py:258(Marker)
1 0.000 0.000 0.000 0.000 markers.py:31(UndefinedComparison)
1 0.000 0.000 0.000 0.000 markers.py:37(UndefinedEnvironmentName)
1 0.000 0.000 0.003 0.003 markers.py:4(<module>)
1 0.000 0.000 0.000 0.000 markers.py:44(Node)
1 0.000 0.000 0.000 0.000 markers.py:56(Variable)
1 0.000 0.000 0.000 0.000 markers.py:60(Value)
1 0.000 0.000 0.001 0.001 native.py:3(<module>)
1 0.000 0.000 0.001 0.001 ntpath.py:6(<module>)
1 0.000 0.000 0.000 0.000 numbers.py:12(Number)
Posts: 12,031
Threads: 485
Joined: Sep 2016
That's too much output for a single post. look for repetition of same sequence of code.
i suspect you should:
review parameters to pyautogui
from the docs:
Quote:Like the enchanted brooms from the Sorcerer’s Apprentice programmed to keep filling (and then overfilling) the bath with water, your program could get out of control (even though it is following your instructions) and need to be stopped. This can be difficult to do if the mouse is moving around on its own, preventing you from clicking on the program’s window to close it down.
As a safety feature, a fail-safe feature is enabled by default. When pyautogui.FAILSAFE = True PyAutoGUI functions will raise a pyautogui.FailSafeException if the mouse cursor is in the upper left corner of the screen. If you lose control and need to stop the current PyAutoGUI function, keep moving the mouse cursor up and to the left. To disable this feature, set FAILSAFE to False:
Posts: 4
Threads: 1
Joined: Nov 2018
(Nov-11-2018, 10:34 AM)Larz60+ Wrote: That's too much output for a single post. look for repetition of same sequence of code.
i suspect you should:
review parameters to pyautogui
from the docs:
Quote:Like the enchanted brooms from the Sorcerer’s Apprentice programmed to keep filling (and then overfilling) the bath with water, your program could get out of control (even though it is following your instructions) and need to be stopped. This can be difficult to do if the mouse is moving around on its own, preventing you from clicking on the program’s window to close it down.
As a safety feature, a fail-safe feature is enabled by default. When pyautogui.FAILSAFE = True PyAutoGUI functions will raise a pyautogui.FailSafeException if the mouse cursor is in the upper left corner of the screen. If you lose control and need to stop the current PyAutoGUI function, keep moving the mouse cursor up and to the left. To disable this feature, set FAILSAFE to False:
I've added the failsafe. my script is actually a loop, when it finds the pixel, it does the actions, then it looks for the same pixel again, etc. I've changed it so i can see the output, and made it so it stops when it finds the pixel once.
I don't understand what you mean when you say 'review parameters to pyautogui', sorry i'm really noob with python, there shouldn't be so many function calls, right ? maybe i should try something else than pyautogui for my purpose ? I don't know what to do =/
Posts: 12,031
Threads: 485
Joined: Sep 2016
Nov-11-2018, 12:03 PM
(This post was last modified: Nov-11-2018, 12:03 PM by Larz60+.)
the proper word is attributes, (which are parameters)
func(item1, item2)
item1 and item2 are attributes of func
example real usage: https://www.thetaranights.com/gui-automa...pyautogui/
https://automatetheboringstuff.com/chapter18/
|