Re: Newbie: Designer Looking to Build Graphics Editor (PS/AI)

2015-10-04 Thread Blake Garretson
Creating a standalone, special-purpose program that does one thing really
well seems doable for a beginner.  What you are describing sounds much more
involved than that though.  Frankly, it is overwhelming.  I would HIGHLY
suggest looking into creating an extension/plugin for an existing
open-source program to do what you want.

You mentioned vector graphics and logos, so I would recommend looking into
Inkscape (http://inkscape.org) as a candidate for your project.  Inkscape
has add-ons that can be internal C++ extensions or external scripts in
Python (or whatever).  Look here:
https://inkscape.org/en/develop/extensions/

The advantage of this approach is the heavy lifting has already been done
for you, and you can focus on implementing whatever feature you need.  This
is much more plausible for a beginner to tackle.  We also have the added
bonus of expanding Inkscape's capabilities, which helps out everyone else.

--
Blake T. Garretson

On Fri, Oct 2, 2015 at 12:41 PM, Kenneth L  wrote:

> I'm a graphic designer. I'm new to Python. I know html, css, alittle
> actioscript and little javascript. I actually build an iOS using Flash. I
> understand programming concepts I believe.
>
> I'd like to build a Illustrator/Photoshop like program. Why, there are
> some features that I'd like to personally have. Example, randomizing the
> rotation, line height and sizing of text. You have to do this manually. It
> would be cool have a little program that is dedicated building logos. Not
> trying to reinvent the wheel. Just basic featuring of vector graphics
> program plus my enhancements.
> Maybe this program could be base and it can export vector and bring into
> Photoshop to add finishing touches.
>
> I heard Python is easy to learn. So my question is Python able to do this
> or connect with libraries? Plus where do I start? I watched python
> tutorials but they don't really show you how to build an application. How
> does one build a graphics program? LOL where do you start? How do you draw
> graphics on the screen?
>
> I'm just confused.
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Footnotes in ReST

2015-10-04 Thread Blake Garretson
On Oct 3, 2015 7:40 AM, "Steven D'Aprano"  wrote:
> I need to add a footnote between [2] and [3], but I don't want to have to
> renumber the following 997 footnotes by hand. Is there something I can do,
> within the syntax of ReST itself, to help?

I would use a regular expression to find and replace all the numbers with
the auto-numbering feature.  So something like "\[\d+\]_" should be
replaced with "\[#\]_".

###
Blake T. Garretson
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Localized Type Inference of Atomic Types in Python

2005-05-25 Thread Blake Garretson
On 5/24/05, Brett C. <[EMAIL PROTECTED]> wrote:
My thesis, "Localized Type Inference of Atomic Types in Python", wassuccessfully defended today for my MS in Computer Science at the CaliforniaPolytechnic State University, San Luis Obispo.  With that stamp of approval I
am releasing it to the world.  You can grab a copy athttp://www.drifty.org/thesis.pdf .

That is one beautiful document.  Seriously nice LaTeX work
here.  The content is nice too (mostly over my head), but I
thoroughly enjoyed the beautiful typesetting, TOC, PDF outline, links,
footnotes, etc.-- Blake T. Garretson  ---  http://blakeg.net
-- 
http://mail.python.org/mailman/listinfo/python-list