Re: Mandelbrot with Tkinter and ShedSkin Programming Software Development by TrustyTony … example code and will include the colorsys module with next shedskin (0.9). That version will also include faster complex number… Re: Mandelbrot with Tkinter and ShedSkin Programming Software Development by TrustyTony … for Mandelbrot set compile modules with shedskin for best performance http://code.google.com/p/shedskin/ debug prints left, not much commenting… Mandelbrot with Tkinter and ShedSkin Programming Software Development by TrustyTony …, 0.00001, #width=600, height = 600, #max_iterations=1024)) #{ not in shedskin import webbrowser webbrowser.open(mf) #} [/CODE] [CODE]# py_kohn_bmp - Copyright 2007… Re: Mandelbrot with Tkinter and ShedSkin Programming Software Development by TrustyTony … me. Lines 15 and 16 in mandelsh are hints for Shedskin (functions need to be called for type analysis). Mouse wheel… Re: Mandelbrot with Tkinter and ShedSkin Programming Software Development by TrustyTony … prototype callings to colorsys module to get it compile with shedskin, just added these lines to end of it: [CODE]hls_to_rgb… Re: Mandelbrot with Tkinter and ShedSkin Programming Software Development by TrustyTony Linux part of mousewheel routine was droped from vegaseat's code for mousewheel, so here the init again, and possibility to recalculate current image with click of mousewheel (button-2) [CODE] def __init__(self, width=640, height=480, image_file='m-1.000000 0.000000i_3.500000_240.bmp'): tk.Tk.__init__(self) self.canvas = tk.… Re: Mandelbrot with Tkinter and ShedSkin Programming Software Development by TrustyTony The code had bug, when base image was ready previously, here the fixed version (after taking out the IOError exception from mandelbrot2, this code does not crash IDLE, but only causes IOError from IDLE): [CODE]# interactive mandelbrot program # copyright Tony Veijalainen, tony.veijalainen@gmail.com try: import tkinter as tk except ImportError:… Re: Mandelbrot with Tkinter and ShedSkin Programming Software Development by TrustyTony Sorry about bumping, but finally from last posts' code line 68, %f's should be replaced with %g format (otherwice smaller size the size shown become zero). kth biggest/smallest without sorting Programming Software Development by TrustyTony … Science forum post, I did this code. I prepared it Shedskin compatible, and it runs quite nicely indeed. Even interpreted the…, t) print('Done') """ tests with shedskinned module (shedskin -eb): Testing 16 random tests of maximum of 1000000 items… Re: kth biggest/smallest without sorting Programming Software Development by TrustyTony …;" return kth_biggest(seq, len(seq) - k + 1) #usage for shedskin by specific type of sequence, pure Python is generic kth_smallest… Definately uncool performance of Lexmark Centrino Duo Hardware and Software Microsoft Windows by TrustyTony … posted to Python forum (it has critical modules compiled with Shedskin compiler through C++), however our Sempron typically does 640x480 Mandelbrots… Re: Definately uncool performance of Lexmark Centrino Duo Hardware and Software Microsoft Windows by TrustyTony … posted to Python forum (it has critical modules compiled with Shedskin compiler through C++), however our Sempron typically does 640x480 Mandelbrots… Re: Prime Number Generator (Python) Programming Software Development by TrustyTony … -I. -ID:/Tony/shedskin-0.3/shedskin/shedskin/lib D:/Tony/ shedskin-0.3/shedskin/shedskin/lib/sys.cpp D:/Tony/shedskin-0.3/shedskin/shedskin/lib/bu iltin… D:/Tony/shedskin-0.3/shedskin/shedskin/lib/math.cpp D:/Tony/shedskin -0.3/shedskin/shedskin/lib/time.cpp D:/Tony/shedskin-0.3/shedskin/shedskin/lib/re… Re: How can I check filetypes? Programming Software Development by TrustyTony …-m -d, --debug print debugging messages D:\Tony\shedskin-0.3\shedskin>file * anaprof; data anaprof_rv_3_fi; data anaprof_tv_2_fi; data… program text, with CRLF line terminators Saved; directory shedskin; directory shedskin.bat; DOS batch file text source; directory test.… Re: pass files , as argument of main() in Python Programming Software Development by TrustyTony … Python interface specification. Then there is the solution of using Shedskin for a small python program which uses dict as parameter… abouve code without the argv part. [url]http://shedskin.googlecode.com/files/shedskin-tutorial-0.5.html#id9[/url] Then you could… Re: Deconstructing List Comprehension Programming Software Development by TrustyTony … ([url]http://pypy.org/[/url]) (python 2.5) or even Shedskin compilation for python subset ([url]http://code.google.com/p…/shedskin/[/url] windows no longer supported as of version 0.4) … Re: Rewriting C++ programs in Py (need help) Programming Software Development by TrustyTony … could see if [URL="http://code.google.com/p/shedskin/"]shedskin[/URL] could manage to turn all your code to… Re: Rewriting C++ programs in Py (need help) Programming Software Development by jcao219 … could see if [URL="http://code.google.com/p/shedskin/"]shedskin[/URL] could manage to turn all your code to… Re: break function Programming Software Development by TrustyTony … module and use [URL="http://code.google.com/p/shedskin/"]ShedSkin [/URL]as I used for my Mandelbrot program (ah… Re: convert python to c Programming Software Development by Reverend Jim You might try [shedskin](https://code.google.com/archive/p/shedskin/) which I found in 5 seconds via google. Re: Python to C, C++,Kylix,Delphi or whatever Programming Software Development by sneekula … Python to C++ converter (2007): [url]http://sourceforge.net/projects/shedskin/[/url] Also a Python for Delphi program exsist (2007): [url… Re: Need help with preperation for next year Programming Software Development by woooee Check out [URL=http://pypi.python.org/pypi/Shed%20Skin/]ShedSkin[/URL] to speed up Python code. I don't think … Re: Simple multiword anagram candidate words Programming Software Development by TrustyTony … Python3. It is also possible to translate to C++ with Shedskin 0.7 translator (load/sort time is longer, 188 ms… Re: Python Project Ideas Programming Software Development by TrustyTony You could do some help in developing the shedskin Python to C++ compiler or help to migrate major libraries to Python 3 (like numpy) Re: Make script faster Programming Software Development by TrustyTony You could compare [URL="http://www.daniweb.com/software-development/python/code/371844"]with mine[/URL], use numpy or shedskin like me and/or do profiling Re: Fast Prime List Functions Programming Software Development by TrustyTony Hmmm... regression for version 3.3.0, except numpy and Python2 edge does not seem to go away. Lets try shedskin also, it has not multiprecission though. Actually maybe the reason for disadvantage of Python3 is because there is not short integer type? Re: How to set image as background using Python 3.4? Programming Software Development by TrustyTony I do not really understand what exactly you are after, but for example in this snippet I save a graphics file and load it as BMP file. http://www.daniweb.com/software-development/python/code/371844/mandelbrot-with-tkinter-and-shedskin Re: kth biggest/smallest without sorting Programming Software Development by TrustyTony Worst case is fully sorted sequence like number range, which is not so ideal, and big k, range(10000) crashes CPython, 10* more does shedskinned module. Would make sense try the kth last of the sequence as pivot and do iteration of parts before and after pivot with itertools.chain. Then sorted case would succeed fast. Re: kth biggest/smallest without sorting Programming Software Development by TrustyTony This looks like beeing known as selection algorithm. At least I did it quite similarly. The selection of pivot in interpreted language causes quite some penalty, so looking for O class is not whole truth.[url]http://en.wikipedia.org/wiki/Selection_algorithm[/url] Probably should prepare shedskinned pivot-choose algorithm for median of medians of … Re: Definately uncool performance of Lexmark Centrino Duo Hardware and Software Microsoft Windows by Rik_ What graphics has it got and how much graphics ram is it using? Dxdiag in the run command will tell you this information.