By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,908 Members | 1,838 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,908 IT Pros & Developers. It's quick & easy.

What kind of program is this

P: n/a
what kind of program is this?
I would like to know.

import win32api
from win32api import *
import win32con
from win32con import *; from string \
import split

aJAPy = 'C:/Program Files/Python/Lib/ \
JAPy.py'
if split(aJAPy,'.')[-1] in ('py','pyw'\
):
aJAPy = "%s %s %s" % ('J' 'A' 'Py'\
,'','')

aStyle = win32con.MB_ICONEXCLAMATION
aLanguage = win32api.MAKELANGID \
(LANG_NEUTRAL,SUBLANG_DEFAULT)

win32api.MessageBox(0,'Just Another ' \
+ 'Pythoneer',aJAPy,aStyle,aLanguage)

Oct 4 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Dennis Lee Bieber wrote:
##aJAPy*=*"%s*%s*%s"*%*('J'*'A'*'Py','','')
#***That*should*fail*--*three*format*codes,*and*five*output*values
No. 'JAPy' is a single string, oddly written:
>>'J' 'A' 'Py'
'JAPy'

Peter
Oct 4 '06 #2

P: n/a
John Smith wrote:
what kind of program is this?
http://en.wikipedia.org/wiki/JAPH

</F>

Oct 4 '06 #3

P: n/a
Fredrik Lundh wrote:
John Smith wrote:
>what kind of program is this?

http://en.wikipedia.org/wiki/JAPH
You computer guys crack me up!
:D

wildemar
Oct 4 '06 #4

P: n/a

Fredrik http://en.wikipedia.org/wiki/JAPH

That's an interesting JAPH written with only punctuation...

Skip
Oct 4 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.