Re: [Tutor] Fwd: script in Raspberry pi python

2013-07-29 Thread Kirk Bailey
, but the site for it is not answering th bell, so I just typed this in. Thank you, it i just what the doctor ordered. -- -Shaboom. Kirk Bailey CEO, Freehold Marketing LLC http://www.OneBuckHosting.com/ Fnord! ___ Tutor maillist

Re: [Tutor] Fwd: script in Raspberry pi python

2013-07-29 Thread Kirk Bailey
originally edited on a windows box, then copied over with a usb stick. I suppose I better open it, copy it to mouse then paste it to a nw file- or what? Please advise. On 7/25/2013 3:45 PM, Walter Prins wrote: Hi, On 25 July 2013 19:45, Kirk Bailey <mailto:kbai...@howlermonkey.

Re: [Tutor] script in Raspberry pi python

2013-07-28 Thread Kirk Bailey
which python /usr/bin/python root@KirksPiBox1:/home/pi: ./RR.py bash: ./RR.py: /usr/bin/python^M: bad interpreter: No such file or directory root@KirksPiBox1:home/pi:_ On 7/25/2013 1:47 PM, Walter Prins wrote: Hi, On 25 July 2013 18:02, Kirk Bailey <mailto:kbai...@howlermonkey.net>&

[Tutor] Robot Radio program

2013-01-08 Thread Kirk Bailey
quot;- - - - - - - - - - - - - - - - - - - - - - - - -" # the lines make it easier for they eye to track the half hour segments time.sleep(2)# this gives us some time to do a CNTL-C to break the loop. COUNT=COUNT-1 print "DONE. Station shutdown @ ",time.str

[Tutor] playing mp3 files

2012-12-22 Thread Kirk Bailey
The best I have found still has some cereal in it- lots of flakes and nuts. Anyone got some ideas on playing mp3 files in a windows machine? -- -Shaboom. Kirk Bailey CEO, Freehold Marketing LLC http://www.OneBuckHosting.com/ Fnord

[Tutor] playing mp3 files

2012-12-20 Thread Kirk Bailey
ay screen on the console running this program print "cwd=",os.getcwd()," play ",mp3file," AT: ", time.strftime("%a, %d %b %Y %I:%M %p", time.localtime()) playMP3(mp3file) os.chdir("..") # go back t

[Tutor] playing mp3 files

2012-12-20 Thread Kirk Bailey
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The close all does not work. Run it again, it plays the file again, OVER the one already playing. Any input? -- -Shaboom. Kirk Bailey CEO, Freehold Marketing LLC http://www.OneBuckHosting.com/ Fnord! ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

[Tutor] how to play an mp3 file

2012-12-09 Thread Kirk Bailey
How to play a .mp3 audio file in python is the quest of the moment; any prior art, off the shelf solutions? -- -Shaboom. Kirk Bailey CEO, Freehold Marketing LLC http://www.OneBuckHosting.com/ Fnord! ___ Tutor maillist - Tutor

Re: [Tutor] Beginner's question

2012-11-23 Thread Kirk Bailey
Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor -- -Shaboom. Kirk Bailey CEO, Freehold Marketing LLC http://www.OneBuckHosting.com/ Fnord! ___

Re: [Tutor] print stack traces not caused by errors

2011-01-30 Thread Kirk Bailey
ucial points. It's a good way to go, IMO. ~Corey Richardson ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor -- end Very Truly yours, - Kirk Bailey,

[Tutor] PHP

2010-12-04 Thread Kirk Bailey
have to do is start the php block with # end the php block and continue in html. What a BLOODY shame we can't do that in python, which is otherwise awesome and superior in every way i can thus far evaluate. -- end Very Truly yours, - Kirk Bailey, Largo Fl

[Tutor] code quest

2010-11-20 Thread Kirk Bailey
OK, I need to create or find a function that will return a list of DIRECTORIES (only) which are under 'the current directory'. Anyone got some clue on this? Please advise. -- end Very Truly yours, - Kirk Bailey, Largo Florida

[Tutor] returning to my quest

2010-02-25 Thread Kirk Bailey
for WEBMAIIL portal to a pop3/smtp email service in my server; centrally hosted or in the laptop is fine, what can people recommend? Without going to IMAP, i want to leave the mail on the server. -- Cheers! -Kirk D Bailey THINK +-+ .*.| BOX

Re: [Tutor] test again

2010-02-25 Thread Kirk Bailey
ook, thi new thunderbird 3.foo is... different, takes some getting used to. Sorry about the noise on the channel. On 2/25/2010 5:31 PM, Kirk Bailey wrote: test- where is the list, nothing is coming to me! -- Cheers! -Kirk D Bailey THINK

[Tutor] wHY

2010-02-25 Thread Kirk Bailey
IS NOTHING FROM THE LIST COMING TO ME? -- Cheers! -Kirk D Bailey THINK +-+ .*.| BOX | ..*+-+ *** THINK ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscri

[Tutor] test again

2010-02-25 Thread Kirk Bailey
test- where is the list, nothing is coming to me! -- Cheers! -Kirk D Bailey THINK +-+ .*.| BOX | ..*+-+ *** THINK ___ Tutor maillist - Tutor@python.org To unsubscribe or cha

[Tutor] test

2010-02-25 Thread Kirk Bailey
test -- Cheers! -Kirk D Bailey THINK +-+ .*.| BOX | ..*+-+ *** THINK ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.o

[Tutor] webmail client for pop3 in python

2010-02-23 Thread Kirk Bailey
Anyone knoow of a good python Webmail client in python for my windows notebook? ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

[Tutor] test

2008-08-25 Thread Kirk Bailey
is my posting getting through? -- Cheers! -Kirk D Bailey THINK +-+ .*.| BOX | ..*+-+ *** THINK ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/t

[Tutor] editmypage

2008-08-25 Thread Kirk Bailey
I wrote a password protected program to edit webpages via http. thiss iss in 2 files, one serves the editing page, one saves the edited page and shows the rssults. http://www.freeholdmarketing.com/EditMyPage.py http://www.freeholdmarketing.com/EditMyPage2.py This take a link on the page to edit

Re: [Tutor] seaxtradusa site

2008-07-21 Thread Kirk Bailey
BTW, wordwrap issue, all that is on ONE LINE. Kirk Bailey wrote: ok, here is the link; http://www.seaxtradusa.org/ In the footer of all webppages (not in the wiki or in the forum), is a link so i can edit pages on the site without bothering to use a shell account or upload pages or anything

[Tutor] seaxtradusa site

2008-07-21 Thread Kirk Bailey
ok, here is the link; http://www.seaxtradusa.org/ In the footer of all webppages (not in the wiki or in the forum), is a link so i can edit pages on the site without bothering to use a shell account or upload pages or anything. I just wrote this, and it is password protected. This is a handy l

[Tutor] Obssfurcatedpuytthonlessons nneeded

2008-01-19 Thread Kirk Bailey
I aam writing some software which calls for some unreadable code in it to let me secretly set a registration key- it is to be shareware. I know this can be done, but have not the foggiest clue of how todo it. Any links, articles, pointers? -- Salute! -Kirk Bailey Think

[Tutor] updates andcompletion of goals

2007-12-24 Thread Kirk Bailey
. -- Salute! -Kirk Bailey Think +-+ | BOX | +-+ knihT Fnord. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] MAKING MONEY WITH OUR PYTHON CODE-A YULE GIFT TO ALL

2007-12-18 Thread Kirk Bailey
(And I can start marketing my windows wiki, which requires a server for it to talk through.) Happy Yule, one and all. Thanks for helping me to learn python. -- Salute! -Kirk Bailey Think +-+ | BOX | +-+ kn

Re: [Tutor] windowsfiles permissions

2007-12-15 Thread Kirk Bailey
27;s one heck of a lot of windows customers out there. Kirk Bailey wrote: > So, in windows, when my wiki's editor saves a file, i want to have the > option to set it to read only. In windows, how do i get python to set a > file's permissions? > --

[Tutor] windowsfiles permissions

2007-12-15 Thread Kirk Bailey
So, in windows, when my wiki's editor saves a file, i want to have the option to set it to read only. In windows, how do i get python to set a file's permissions? -- Salute! -Kirk Bailey Think +-+ | BOX | +-+ kn

[Tutor] remmote access in a python program

2007-10-10 Thread Kirk Bailey
OK, python program in box 1 needs to build a list of files available to be examined in box 2 on the firms LAN- .xls spreadsheet files. Sounds like a glob.glob task, but in a remote fashion. I never tried this before, what's the smart answer? -- Salute! -Kirk Bailey

Re: [Tutor] xls file

2007-08-22 Thread Kirk Bailey
;>> oops... well,then i did this >>> print b Bob Dobbs >>> which is as I need it. any use to the rest of the list? Kent Johnson wrote: > Kirk Bailey wrote: >> ok, I installed XLRD and can load a xls file; it works quite well BTW. >> Now it is returning Unicod

Re: [Tutor] xls file

2007-08-20 Thread Kirk Bailey
ok, I installed XLRD and can load a xls file; it works quite well BTW. Now it is returning Unicode objects. I need to strip that to a simple string value. Is there a recommended way or module for handling Unicode objects? Kirk Bailey wrote: > Ii want to read a xls file and use the data in p

[Tutor] xls file

2007-08-14 Thread Kirk Bailey
Ii want to read a xls file and use the data in part of it. What module would help make sense of one? -- Salute! -Kirk Bailey Think +-+ | BOX | +-+ knihT Fnord. ___ Tutor maillist

[Tutor] Python & cgi on win98--tinyweb problems, etc

2007-06-28 Thread Kirk Bailey
file name, restart the server. I used tinyweb in supporting the development of windows wiki, and in all that crazy alpha stage flakiness, it NOT ONCE blew out. It is BULLETPROOF. But it is it's own strange beast, and has it's own peculiarities. -- Salute! -Kirk Bailey

Re: [Tutor] ongoing saga

2007-06-23 Thread Kirk Bailey
he example, sell them install and support service. And as it is written in python, this community of snake charmers are all potential tech support personell for it. Does that offer any possibility of revenue stream to you? The example PAGES are on the server now, just look at t

Re: [Tutor] ongoing saga

2007-06-23 Thread Kirk Bailey
.html -- Salute! -Kirk Bailey Think +-+ | BOX | +-+ knihT Fnord. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] ongoing saga

2007-06-23 Thread Kirk Bailey
bring a ladder when they dig their own graves. It will become available to the public in a month. So how's YOUR money tree growing? -- Salute! -Kirk Bailey Think +-+ | BOX | +-+ knihT Fnord.

Re: [Tutor] sys.argv?

2007-04-18 Thread Kirk Bailey
My memory is fine, as is my grip on reality as well as courtesy to my fellow pythonistas. Good day to you sir. Rikard Bosnjakovic wrote: > On 4/18/07, Kirk Bailey <[EMAIL PROTECTED]> wrote: > >> I never talk to mailboxes, nor to other inanimate objects; I was talking >&

Re: [Tutor] sys.argv?

2007-04-18 Thread Kirk Bailey
uld start mungin' some headers already. >> I second that. >> >> Not using a reply-to-tag is braindead. > > Please don't start this thread again. > > Kent > ___ > Tutor maillist - Tutor@python.org > http:/

Re: [Tutor] sys.argv?

2007-04-18 Thread Kirk Bailey
use a replyto header, or swap around things so the FROM is the list address, not the submitter, or kill me, or give me food, or something. Luke Paireepinart wrote: > Rikard Bosnjakovic wrote: >> On 4/17/07, Kirk Bailey <[EMAIL PROTECTED]> wrote: >> >> >>>

Re: [Tutor] sys.argv?

2007-04-18 Thread Kirk Bailey
I never talk to mailboxes, nor to other inanimate objects; I was talking to you. Rikard Bosnjakovic wrote: > On 4/17/07, Kirk Bailey <[EMAIL PROTECTED]> wrote: > >> IF my memory serves well, argument 0 in that list is the name of the >> program itself, as well as t

Re: [Tutor] Command line args

2007-04-09 Thread Kirk Bailey
v[1] if condition: do something else: do this instead else: filename="foo" which avoids try altogether. Somehow I kinda like this way more. Luke Paireepinart wrote: > Kirk Bailey wrote: >> Teresa Stanton wrote: >> >&g

Re: [Tutor] Command line args

2007-04-08 Thread Kirk Bailey
list - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > > > > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database:

[Tutor] HTML IN PYTHON AND OTHER DELIGHTS

2007-04-08 Thread Kirk Bailey
mouse copy and paste, you get this: # * abba # * abbb # * abbc # * abbd which did not display. Intresting. why, and how to overcome this design misfeature? -- Salute! -Kirk Bailey Think +-+ | BOX | +-+ kn

Re: [Tutor] windows and python and shebangs, oh my!

2007-04-06 Thread Kirk Bailey
; Sent: Thursday, April 05, 2007 4:28 AM > To: tutor@python.org > Subject: Re: [Tutor] windows and python and shebangs, oh my! > > "Kirk Bailey" <[EMAIL PROTECTED]> wrote > >> OK, in a script, we include a special statement telling the shell >> where to go

[Tutor] windows and python and shebangs, oh my!

2007-04-04 Thread Kirk Bailey
part of the configure/install process of the application and count on it working reliably? If so, my task of designing the autoinstaller script just got a LOT simpler. -- Salute! -Kirk Bailey Think +-+ | BOX | +-+ knihT Fnord

Re: [Tutor] reafline reads file, not just 1 line

2007-03-30 Thread Kirk Bailey
first. I replied off list due to just clicking reply, not replyall, and this list is not set up with a replyto header. so away it went. -- Salute! -Kirk Bailey Think +-+ | BOX | +-+ knihT Fnord

Re: [Tutor] reafline reads file, not just 1 line

2007-03-30 Thread Kirk Bailey
BINGO! Perfect function! GOD? windows. BUT THANK YOU! (walks off mumbling curses at the billster of gates...) Kent Johnson wrote: > Kirk Bailey wrote: >> a relevant code snip: >> >> if os.path.exists('ConfigureMe'): >> f1=open('ConfigureMe

Re: [Tutor] reafline reads file, not just 1 line

2007-03-30 Thread Kirk Bailey
# start the word pointer over at 0 again wordlist = string.split(line,' ') # split the line into a list of words. for word in wordlist: # massage every word if ((isin(word,'http://'

[Tutor] reafline reads file, not just 1 line

2007-03-29 Thread Kirk Bailey
opereates in a windows 2000 environment if this helps any. when examined in a text editor, the file is properly laid out. pLease help, the fingernails are getting very close to the quick. -- Salute! -Kirk Bailey Think +-

Re: [Tutor] MONEY MATTERS

2007-03-22 Thread Kirk Bailey
ions is a big > benefit in expanding my search for alternative solutions. > > And one day, I will have free time to work on my "million dollar app." > (LOL!) > > Thanks, > > Steve Oldner > > -----Original Message- > From: [EMAIL PROTECTED] [m

[Tutor] MONEY MATTERS

2007-03-21 Thread Kirk Bailey
that, or we can start a seperate list for it. What are the wishes of this list? -- Salute! -Kirk Bailey Think +-+ | BOX | +-+ knihT Fnord. ___ Tutor maillist - Tutor@python.org http

Re: [Tutor] windows file permissions

2007-03-15 Thread Kirk Bailey
ES, one may go in and manually turn them over to writable state if one knows how- ie, one is a geek like us. ordinary consumer office road warriors do not. Now to figure out how to best sell the thing to the target market... Kirk Bailey wrote: > how do I check file permission in windows environm

[Tutor] windows file permissions

2007-03-15 Thread Kirk Bailey
. -- Salute! -Kirk Bailey Think +-+ | BOX | +-+ knihT Fnord. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] declaring decaration on ul list

2007-03-13 Thread Kirk Bailey
item decoration in an unordered list? -- Salute! -Kirk Bailey Think +-+ | BOX | +-+ knihT Fnord. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] installers and more

2007-03-06 Thread Kirk Bailey
, etc. Kent Johnson wrote: > Kirk Bailey wrote: >> 2. It takes python being in the laptop so it can be used. As I do not >> own it, I hesitate to bundle it in. What's the legal aspect of >> providing the language the app needs so it will run? > > This is not a

[Tutor] installers and more

2007-03-05 Thread Kirk Bailey
download and fire off as an isntaller. 2. It takes python being in the laptop so it can be used. As I do not own it, I hesitate to bundle it in. What's the legal aspect of providing the language the app needs so it will run? -- Salute! -Kirk Bailey

Re: [Tutor] miniwiki 1.3.0 beta now available

2007-03-03 Thread Kirk Bailey
Anyone who had trouble downloading the file, try again, there was a problem in the server which is now fixed. Kirk Bailey wrote: > May The Gods have mercy on my soul. > > MiniWiki is now offered for downloading. 1.3.0 is not in presentable > condition for them what would like to ki

Re: [Tutor] geeks like us and the rest of THEM

2007-03-03 Thread Kirk Bailey
awful default look - forgot its name) or InnoSetup are > the usual suspects. NSIS has a smaller overhead, but an uglier language. > both look interesting, inno looks like a faster learning curve. -- Salute! -Kirk Bailey Think +-+ | BOX | +

[Tutor] miniwiki 1.3.0 beta now available

2007-03-02 Thread Kirk Bailey
ost', place the zip in it, and unpack it there. you will get \www, \cgi-bin, \cgi-bin\texts, www\images, and several files in the texts directory. If I got this thing to zip up properly. sheesh. I'm going to bed. -- Salute! -Kirk Bailey Think

[Tutor] forth

2007-03-02 Thread Kirk Bailey
. Really SHINES in this venue. Here's a link to wikipedia: http://en.wikipedia.org/wiki/Forth_(programming_language) But this is python list, so enough of comparitive languages. -- Salute! -Kirk Bailey Think +-+ | BOX | +-+

Re: [Tutor] httpd in your laptop?!? serve web pages and wikis in your notebook?

2007-03-02 Thread Kirk Bailey
as a lot more > conventional than Forth. The only language I've used that > was equally different was Prolog. > > Alan G. > > > _______ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > > -- Salute! -Kirk Bailey Think

Re: [Tutor] httpd in your laptop?!? serve web pages and wikis in your notebook?

2007-03-01 Thread Kirk Bailey
> On 2/27/07, * Luke Paireepinart* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Kirk Bailey wrote: > > ok, I realized SOME TIME BACK that to run MANY THINGS in your > windows > > computer you need a server in there- and a nice

Re: [Tutor] MiniWiki

2007-02-28 Thread Kirk Bailey
r own interest and amusement. Who knows, maybe someone will spark an idea off of it and gain something. Kent Johnson wrote: > Kirk Bailey wrote: >> OK, 1.3.0 is coming along well, and works pretty nice. BUT... >> >> It lives inside my laptop, and I want to be able to duck out and

[Tutor] MiniWiki

2007-02-27 Thread Kirk Bailey
es, memory, blab lab la) and supports interpeted python scripts well. http://www.ritlabs.com/tinyweb/ -- Salute! -Kirk Bailey Think +-+ | BOX | +-+ knihT Fnord. ___ Tutor maillist

[Tutor] httpd in your laptop?!? serve web pages and wikis in your notebook?

2007-02-27 Thread Kirk Bailey
see if something suits ytour needs and wallet. For now tiny is serving my needs with complete satisfaction. I may write a tiddlywiki manual for it as a donation to support the project. -- Salute! -Kirk Bailey Think +-+ | BOX |

Re: [Tutor] miniwiki 1.3 BETA bugs

2007-02-26 Thread Kirk Bailey
ol() - nothing to do with RE, but if a match occurs, the result > returned by re.match() is a MatchObject instance, otherwise None. I have > used bool() to convert these two possible results into True or False > though I guess this is not strictly necessary - the truth testing would >

Re: [Tutor] geeks like us and the rest of THEM

2007-02-24 Thread Kirk Bailey
Kent Johnson wrote: > Kirk Bailey wrote: >> OK, my project is to come up with a wiki which is easy to install and >> use in a windows laptop, to wikify the notebook into a hypernotebook. >> >> ok, it must be EASY to install. And LEGAL. >> >> MiniW

[Tutor] geeks like us and the rest of THEM

2007-02-24 Thread Kirk Bailey
avoid the dread lawyer vampires. -- Salute! -Kirk Bailey Think +-+ | BOX | +-+ knihT Fnord. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Add metadata to a dir of files.

2007-02-22 Thread Kirk Bailey
> someone provide sample code > that maybe I could expand upon or point to a link somewhere so I can read up > on the subject? > > I would appreciate it. > > Thank-you, > > Mark > ___ > Tutor maillist

[Tutor] small personal server

2007-02-21 Thread Kirk Bailey
I recall how much stirr the python web server program created when I copied it from a book and posted it to the list. Well, if you want something composed in C++ for placing in your notebook or desktop, try this: http://smallsrv.com/index.htm -- Salute! -Kirk Bailey

[Tutor] list problem

2007-02-20 Thread Kirk Bailey
ok, getting back to python and wikiness, I have a problem, this software of mine seems to exibit different behavior under the latest edition of python (2.5) than under the version used when I first wrote it (2.3). It loads the page file, but returns it as a list (which is correcft) of one eleme