Re: Novices (Attempting) to learn Python :)

2015-11-28 Thread Sumtingwong
Hi David,

I am using Anaconda as my Python distro on my Mac (I know it is already 
installed). It comes with iPython, several other tools that are pretty 
useful and the ability to set up different  environments for differing 
versions of Python or other needs.

The book *Think Python* by Downey is great and will get you moving quite 
quickly.  This site 
 is also 
pretty cool and quite comprehensive with the ability to write code right in 
the browser.  

I am a bit old school: I use BBEdit and Terminal with another Terminal tab 
open for Python to test one-liners.  

Have fun!

Spencer

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: BUG! Composing indigenous literacy books... Please help me make a textfactory that'll help new readers!

2015-05-14 Thread Sumtingwong
Christopher,

That is pretty awesome stuff there, congrats!

I have completed quite a bit of language work as well, looks like you need 
a Perl or Python script to clean up the text.

Have you looked at NLTK, here http://www.nltk.org? 

Cheers,

Spencer

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: RegEx Logical Replace Question

2013-09-19 Thread Sumtingwong
Here is what I came up with:

find:
((foo=.*?)\s(bar=.*?)?)
replace:
\2 bar=whatever 

Note that there is a space after the final quote.

Cheers!

Spencer

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Grep help?

2013-02-21 Thread Sumtingwong
Here is what I came up with, also going to need a couple of passes.  

On the first run:

Find: 

\.jpg\n(.*?\_bk\_?.+)

Replace with:

\.jpg,\1

On the second run:

Find:

\.jpg\n(.*?\_bk\_.+)

Replace with the same as the first one:

\.jpg,\1

Hope this works!

Cheers,

Spencer

-- 
-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: ascii palette disappeared

2012-11-28 Thread Sumtingwong
This is brilliant!  I have been looking for an easy way to inspect single 
characters for awhile now and have just not found a simple way.  Working on 
old Hindi and Urdu dictionaries typed in India yields all kinds of 
craziness that only this reveals.  Thanks guys!

On Tuesday, November 27, 2012 8:58:33 AM UTC-8, Grant Hutchinson wrote:


 On 2012-11-27, at 1:24 AM, G. T. Stresen-Reuter wrote: 

  I do find it somewhat humorous that something as basic as a character 
 now has its own inspector! 

 One nice thing about the Character Inspector is that it can actually 
 inspect entire strings of text, not just individual characters. 


 g. 

 .. 


 Grant Hutchinson 

 Interface Considerations. Feature Deprecation. Typography. Rawk. 

 http://splorp.com 
 http://flickr.com/splorp 
 http://github.com/splorp 
 http://twitter.com/splorp 





-- 
-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit





Re: Right to Left Languages

2012-11-28 Thread Sumtingwong
Patrick, looking forward to it, thanks!

On Tuesday, November 13, 2012 5:28:07 PM UTC-8, Patrick Woolsey wrote:

 At 22:35 -0800 11/12/2012, Sumtingwong wrote: 
 I saw a post regarding this about a year ago, but no response.  Is there 
 any planned support for right to left languages (Urdu, Arabic, etc.) in 
 BBEdit? 


 Support for right-to-left languages is on our list for a future version 
 (though due to technical considerations, not in the near term). 


 Regards, 

  Patrick Woolsey 
 == 
 Bare Bones Software, Inc. http://www.barebones.com/ 


-- 
-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit





Right to Left Languages

2012-11-13 Thread Sumtingwong
I saw a post regarding this about a year ago, but no response.  Is there 
any planned support for right to left languages (Urdu, Arabic, etc.) in 
BBEdit?  

Thanks

-- 
-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit





Re: Migrating from TextMate to BBEdit

2012-03-19 Thread Sumtingwong
One of the best helpers I have found out there is Butler.  Many
different options for macros as well as a ton of other stuff.  Free,
but well worth the $20 support.

 I kind of liked Quickeys because you could have a floating pallet of macros 
 as well as something like textexpander but execute macros as well as expand 
 text.  It made for some really cool stuff you could write.  Too bad the 
 software is in limbo.

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Search and replace error?

2011-12-14 Thread Sumtingwong
I have written a simple grep pattern that adds a new line when it
comes up with a hit.

The find pattern: adv\.|pron\.|prep\.|!intj\.|intj\.|a\.|n\.|v\.t\.|v
\.i\.

The replace pattern: \n

When I click the Replace and Find button, it works exactly as I
would like.  However, if I hit the Replace All button, I get error
12003 and the file shows an upside down red question mark (but it
seems to paste here just fine!):


adv. --- aside --- بہ کنار
adv. --- gently --- بہ لطافت
adv. --- goodly --- بہ مہربانی

Any clues?  Am I doing something wrong?

Thanks,

Spencer

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Search and replace error?

2011-12-14 Thread Sumtingwong
Here is a sample of the original file:


adv. --- aside --- بہ کنار adv. --- gently --- بہ لطافت adv. ---
goodly --- بہ مہربانی

Spencer

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Search and replace error?

2011-12-14 Thread Sumtingwong
Rich, worked like a champ, thanks much!

Spencer

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit