I'm trying to write a numerology program where I have each letter
identified by a numerical value like
a=1
b=2
c=3
as so forth. I then input a name. How do I treat each letter as a
single value? That is, instead of print myname I have to do a print
m+y+n+a+m+e which returns a number. I next want to
If you used PayPal and are not satisifed with their service there is a
new and better service opening. They will be starting up during the
early summer this year. The best of all - signup is FREE.
Check out their benefits:
www.greenzap.com/benefits
--
http://mail.python.org/mailman/listinfo/pyt
ck on this issue is much appreciated.
Thanks much,
Allan
--
http://mail.python.org/mailman/listinfo/python-list
completely new EDI document.
I'm stuck at this fusing together thing. Is this a good approach? Is
there an easier to implement approach?
Comments, suggestions, questions please.
Allan
--
http://mail.python.org/mailman/listinfo/python-list
Hi! I'm fairly new to Python. I understand the basics basics but I'm
been trying to write a simple python code that will let me read input
data (such as mouse movement) from my USB port and write it in a text
file and I am so lost. Can anyone help or direct me to some
resources? Thank you!
--
h
How about this. http://inventwithpython.com/
thanks,
Allan
On Tue, Apr 19, 2011 at 7:35 PM, geremy condra wrote:
> On Tue, Apr 19, 2011 at 4:24 PM, Dan Stromberg
> wrote:
> > On Tue, Apr 19, 2011 at 4:03 PM, geremy condra
> wrote:
> >> On Tue, Apr 19, 2011 at
Olá, estou tendo problemas para executar o Python, baixei a versão 64 bit
pois nas configurações de meu computador mostra 64x, porém na hora de
executar diz que não tenho o api-ms-win-crt-runtime-l1-1-0.dll
--
https://mail.python.org/mailman/listinfo/python-list
When running the setup for your 3.5.1(32-bit version), the setup
experiences error 0*80070570 and tells me to check the log file. What could
be the problem and whats the solution.
On Apr 21, 2016 7:05 AM, "Allan Leo" wrote:
> When running the setup for your 3.5.1(32-bit versi
I need help with this setup error.
-- Forwarded message --
From: "Allan Leo"
Date: Apr 21, 2016 10:06 AM
Subject: Re: Error 0*80070570
To:
Cc:
When running the setup for your 3.5.1(32-bit version), the setup
experiences error 0*80070570 and tells me to check the log
tra) = isys.getopt(theargs, 'GTRxtdr:fm:',
['gui','text','reconfig','xmode','test','debug','nofallback',
'method=','rootpath=',...
Anyway, in a nutshell, whenever I see anyt
Allan Adler <[EMAIL PROTECTED]> writes:
> I'm trying to reinstall RedHat 7.1 Linux on a PC that was disabled when
> I tried to upgrade from RH7.1 []
> The file anaconda.real is invoked with the line
> exec /usr/bin/anaconda.real -T "$@"
> I don'
HI
>
> Hope this is the right place for this, I am new. I have a spec to
create
> a (dual screen) framework application that
>
> 1 displays mp3, flash, jpegs etc. on top screen
> 2: displays buttons on bottom screen which alter image when a key is
> pressed.
>
> The hardware is a dell pc basically,
HI
Hope this is the right place for this, I am new. I have a spec to
create
a (dual screen) framework application that
1 displays mp3, flash, jpegs etc. on top screen
2: displays buttons on bottom screen which alter image when a key is
pressed.
The hardware is a dell pc basically, no mouse and t
Try this
code
=
import re
p = re.compile(r'([^<]*)<')
s = open("file").read()
m = re.search(p, s)
if m: res = m.groups()[0]
res = res.lstrip("\n")
res = res.rstrip("\n")
print res
result:
===
%python parser.py
Sys Data
Sys-Data
asdkData
Da
>
>> the following code works perfectly
>> import socket, sys
>> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>> s.connect(("www.python.org", 80))
>> s.send("GET")
here, You need to speak HTTP protocol. I would suggest to change
s.send( "GET / HTTP/1.0\x0d\x0a\x0d\x0a" )
>> whi
Hi,
The man page for python says:
"-u Force stdin, stdout and stderr to be totally unbuffered."
However, when I try:
$ ssh localhost python -u
print 'hello, world'
[^D]
hello, world
$
Nothing happens until I send that EOF. I'm pretty sure it's not SSH
that's buffering because when I try:
rror) does not:
$ ssh localhost python -u
pront
[^D]
Traceback (most recent call last):
File "", line 1, in
NameError: name 'pront' is not defined
$
Can anyone tell me why?!
Thanks,
Hamish
On Feb 13, 2008 1:12 AM, Hamish Allan <[EMAIL PROTECTED]> wrote:
> Hi,
&g
fatal, but otherwise nothing
is executed until EOF.
So the answer to my question is to run:
$ ssh localhost python -ui
Best wishes,
Hamish
On Feb 13, 2008 4:20 PM, Hamish Allan <[EMAIL PROTECTED]> wrote:
> Further to my query about trying to make Python run unbuffered, I have
> discove
Hi,
I just wanna know how to set SYSTEM variables and USER variables of windows,
but got no way.
Firstly I thought "os.environ + os.system" may work well, but found no way
to let "os.environ" run to retrive USER variables.
Then I tried win32api, finding the GetEnvironmentVariables() mixing SYSTEM
Try your distribution of linux package management tool. You will find PIL
there
--
Allan Davis
Member of NetBeans Dream Team
http://wiki.netbeans.org/NetBeansDreamTeam
Lead Developer, nbPython
http://wiki.netbeans.org/Python
http
Try this
import sys
import os
sep = None
if sys.platform == 'cygwin':
sep = ';'
else:
sep = os.pathsep
# then use sep in your path statment
Hope this helps
Thanks,
------
Allan Davis
Member of NetB
I just downloaded the installer and tested it on my win xp machine. The
installer worked fine.
--
Allan Davis
Member of NetBeans Dream Team
http://wiki.netbeans.org/NetBeansDreamTeam
Lead Developer, nbPython
http://wiki.netbeans.org
KeoBox,
Can i look at the jython file you are executing? the ClassFormatException is
not with the size of the dictionary. Jython is failing on an import.
thanks,
--
Allan Davis
Member of NetBeans Dream Team
http://wiki.netbeans.org
Hi! I'm fairly new to Python. I understand the basics basics but I'm been
trying to write a simple python code that will let me read input data from
my USB drive and write it in a text file and I am so lost. Can anyone help
or direct me to some resources? Thank you!
--
http://mail.python.org/ma
Did you ever find a solution for this? if so i would like to hear about
it... :-)
Regards
Allan Pedersen, Denmark
--
http://mail.python.org/mailman/listinfo/python-list
25 matches
Mail list logo