A lot of to do about this.
---
#!/usr/bin/python
xl = ["First Name and Last","ENGR 109-X","Fall 2999","Format Example"]
xl_max = 0
for x in xl:
xl_max = max ( len( x ), xl_max )
topBorder = '^'*( xl_max + 4 )
print topBorder
for x in xl:
print "* %s%s *
Once, many, many, years ago, I programmed some type of 'graphical'
interface on a VT200 terminal (only DEC VAX/VMS programmers are going to
know what this is). Question. What was the library I linked against?
Yes, you remember, painting boxes with ascii and the superset of ascii.
Thanks for th
Yes, Curses, how could I forget that. Thanks
Steven
On Thu, 10 Mar 2011 05:34:35 -0500, Adam Tauno Williams wrote:
> On Thu, 2011-03-10 at 00:38 -0600, GrayShark wrote:
>> Once, many, many, years ago, I programmed some type of 'graphical'
>> interface on a VT200 t
On Thu, 10 Mar 2011 18:02:41 +, Grant Edwards wrote:
> On 2011-03-10, Adam Tauno Williams wrote:
>> On Thu, 2011-03-10 at 00:38 -0600, GrayShark wrote:
>>> Once, many, many, years ago, I programmed some type of 'graphical'
>>> interface on a VT200 termi
n, be printed. By 1998, Cobol programs were rare (although
the language was pretty easy to learn).
So: Fortran, C, Pascal, Cobol, Ada and ... APL. Let's see how many
remember that very fun language (and I mean fun).
GrayShark
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 11 Mar 2011 00:26:37 -0800, Dennis Lee Bieber wrote:
> On Thu, 10 Mar 2011 19:55:02 + (UTC), Grant Edwards
> declaimed the following in
> gmane.comp.python.general:
>
>> vt200 terminals. The vt200 wasn't a TV. It was a character-based,
>> mostly-ANSI-escape-sequence, computer termi
Aw! to stray down memory lane. Well enough straying. Back to work.
GrayShark
--
http://mail.python.org/mailman/listinfo/python-list
old programmer inertia).
Inertia, friend and foe.
Otherwise I worked with a host of government contractors, each with their
own version of C; each used their specialized version to prevent tax payer
contracts from going to another contractor.
Thank goodness for standardization. Finally the DOD co
I think that was more of a version question the Kernel questin
1) you can install any and all versions python on a linux computer.
You just need you app to select the correct path, correct python
interpret. Likely there many be some some drivers in /dev that are
not the same as in Solaris. But th
Hello,
a search for the python bindings for gtkdatabox lead no where. Anyone know
of who is maintaining/working/siting such a package?
Thanks in advance.
Steven
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 21 Dec 2010 14:17:40 -0500, Matty Sarro wrote:
> Hey everyone.
> I'm in the midst of writing a parser to clean up incoming files, remove
> extra data that isn't needed, normalize some values, etc. The base files
> will be uploaded via FTP.
> How does one go about scanning a directory for n
On Wed, 05 Jan 2011 14:58:05 -0500, Terry Reedy wrote:
> On 1/5/2011 12:57 PM, Cathy James wrote:
>
>> I am learning python and came across an excercise where i need to use
>> lists to strip words from a sentence; starting with those containing
>> one or more uppercase letters, followed by words
On Sat, 15 Jan 2011 19:48:40 +, Katie T wrote:
> On Sat, Jan 15, 2011 at 5:47 PM, Antonio Cardenes
> wrote:
>> Hello folks, I'm trying to improve my Phyton skills with a project: A
>> fitness program that can correlate measurements (weight and size of
>> various body parts), date taken and it
On Fri, 21 Jan 2011 07:39:26 -0800, Oltmans wrote:
> Hi Python gurus, hope you're doing well. I've a small problem.
>
> When I run the following code
> ___
names = ['oltmans','abramhovic','\n','sal','lee'] print '| ' + ' |
'.join(names)
>
In my code I have:
from string import lower, upper
When I use pylint on the program I get just one warning:
Uses of a deprecated module 'string'.
Iv'e noted that many if not all string functions are now in _builtin_.
Where are the constants?
Thanks
Steven
--
http://mail.python.org/mailman/list
On Jun 24, 10:06 am, GrayShark wrote:
> In my code I have:
> from string import lower, upper
>
> When I use pylint on the program I get just one warning:
>
> Uses of a deprecated module 'string'.
>
> Iv'e noted that many if not all string functions are now
On Fri, 25 Jun 2010 01:29:22 +, Benjamin Peterson wrote:
> GrayShark gmail.com> writes:
>
>> Sorry, I meant "from string import lowercase, uppercase"
>
> Technically, you should use ascii_lowercase and ascii_uppercase, though
> I don't know if
sting. Perhaps you should just ignore ones
that aren't interesting to you? Or get a life and a girl/boy friend, so
you'll have less time to make snipping remarks (check out:
'http://www.thefreedictionary.com/snipe' if you don't understand snipe).
have a better day.
Gra
e ab get's assign in the application
as mod.
Tried:
for mod in ['ab', 'cd', 'ef' ]:
('%s' % mod ) = __import__( mod )
Still no joy.
I need a way to deference the the string in mod to be just a variable.
Any suggestions?
GrayShark
--
http://mail.python.org/mailman/listinfo/python-list
ls()[x] = __import__( x )
>>> dir()
['__builtins__', '__doc__', '__name__', '__package__', 'string', 'x']
>>>
--ends--
That was what I was looking for. All the rest, the arguments were
unhelpful.
Question: If you can
As we seem to be at an impasse with respect to PIL and xpm, I know gimp
does support saving as xpm and that gimp has a python language console.
Perhaps [email protected], could look to the gimp mailing list for
help?
Steven
On Tue, 03 Aug 2010 01:56:20 -0700, Chris Rebert wrote:
> On T
21 matches
Mail list logo