Popular recipes tagged "meta:requires=tkfiledialog"http://code.activestate.com/recipes/tags/meta:requires=tkfiledialog/2013-06-18T15:33:01-07:00ActiveState Code RecipesPlain Text Editor in Python (Python)
2013-06-18T15:33:01-07:00Captain DeadBoneshttp://code.activestate.com/recipes/users/4184772/http://code.activestate.com/recipes/578568-plain-text-editor-in-python/
<p style="color: grey">
Python
recipe 578568
by <a href="/recipes/users/4184772/">Captain DeadBones</a>
(<a href="/recipes/tags/editor/">editor</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/text/">text</a>, <a href="/recipes/tags/text_processing/">text_processing</a>).
</p>
<p>Just a simple text editor written in Python with Tk for graphics. </p>
<p>Check out my blog <a href="http://thelivingpearl.com/">Captain DeadBones Chronicles</a></p>
Classic ASP script analyzer, finds all functions, includes, duplicite functions (Python)
2008-09-18T02:39:29-07:00brano sobotkahttp://code.activestate.com/recipes/users/4167145/http://code.activestate.com/recipes/576510-classic-asp-script-analyzer-finds-all-functions-in/
<p style="color: grey">
Python
recipe 576510
by <a href="/recipes/users/4167145/">brano sobotka</a>
(<a href="/recipes/tags/analyze_asp/">analyze_asp</a>, <a href="/recipes/tags/tk_gui/">tk_gui</a>).
</p>
<p>Input root of your asp project to "File to analyze" it means some default.asp or index.asp. Select what do you what to find and click start analyze. Classic ASP don't care about duplicate function names, what creates unpredictable mistakes.</p>
Invert CSS Hex colors (Python)
2007-08-09T17:04:07-07:00rodrigo culagovskihttp://code.activestate.com/recipes/users/4074026/http://code.activestate.com/recipes/527747-invert-css-hex-colors/
<p style="color: grey">
Python
recipe 527747
by <a href="/recipes/users/4074026/">rodrigo culagovski</a>
(<a href="/recipes/tags/web/">web</a>).
</p>
<p>Simple program that takes a CSS file and inverts all the colors,(e.g.: #ffffff -> #000000, #222 -> #ddd), then writes them to a file with the same name as the original plus "MOD".</p>
TV Player (Python)
2007-03-21T01:31:07-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/510391-tv-player/
<p style="color: grey">
Python
recipe 510391
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/programs/">programs</a>).
Revision 2.
</p>
<p>(T)iled (V)ideo player was written to show some images
that can be taken with Casio Exilim digital cameras.
Now that big, 25 scene picture can actually make sense.</p>
File Tkinter dialogs (Python)
2005-07-22T08:23:58-07:00Sébastien Sauvagehttp://code.activestate.com/recipes/users/2503505/http://code.activestate.com/recipes/438123-file-tkinter-dialogs/
<p style="color: grey">
Python
recipe 438123
by <a href="/recipes/users/2503505/">Sébastien Sauvage</a>
.
</p>
<p>Basic Tkinter dialogs for directory selection, file selection and so on.
That's dirt simple (although the official documentation is not very explicit about these features).</p>
Example For winreg (2) (Python)
2011-05-20T13:22:37-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/498151-example-for-winreg-2/
<p style="color: grey">
Python
recipe 498151
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/shortcuts/">shortcuts</a>).
Revision 2.
</p>
<p>This recipe is another example of how to use the winreg module.
The code had the first purpose of demonstrating the concept of
a graphical shell built in Python. The shell was easily modified
to make use of the Window's registry but retains traces of its
original method of operation (all of which has been commented out).</p>
<p>The program down below originally used the pickle module to save
all of its settings when closing down. Now once the escape key is
pressed, this Python 2.5 program can use the module presented in
<a href="http://code.activestate.com/recipes/510392/">recipe 510392</a> to access Microsoft Window's Registry and store its
settings there. Check <code>do_exit</code> and <code>do_config</code> functions for usage.</p>
split_and_join.py (Python)
2006-02-12T20:44:38-08:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/473881-split_and_joinpy/
<p style="color: grey">
Python
recipe 473881
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/programs/">programs</a>).
</p>
<p>This recipe will split a file into several smaller files while at the same time hiding the original formatting of the file. The program has a primitive GUI design (my first one), put allows a small amount of interaction with the program. Testing has not been extensive, but all appears to be in order.</p>
Win32com - Batch repathing of Autocad Xrefs (Python)
2005-08-31T10:28:24-07:00Ed Blakehttp://code.activestate.com/recipes/users/2492237/http://code.activestate.com/recipes/440498-win32com-batch-repathing-of-autocad-xrefs/
<p style="color: grey">
Python
recipe 440498
by <a href="/recipes/users/2492237/">Ed Blake</a>
(<a href="/recipes/tags/sysadmin/">sysadmin</a>).
</p>
<p>This script asks for a base directory and then changes all xrefs in all drawings in all subdirectories so that they use relative paths. To use it just copy it somewhere in your target directory structure and run.</p>
Convert Image Format (Python)
2003-02-16T02:10:03-08:00Doug Blandinghttp://code.activestate.com/recipes/users/984954/http://code.activestate.com/recipes/180801-convert-image-format/
<p style="color: grey">
Python
recipe 180801
by <a href="/recipes/users/984954/">Doug Blanding</a>
(<a href="/recipes/tags/graphics/">graphics</a>).
Revision 4.
</p>
<p>Simple GUI to allow converting images from one format to another.
Available formats are: .gif .jpg .png .tif .bmp
Uses PIL.</p>