after changing i got this
path = rc:\
^
SyntaxError: EOL while scanning single-quoted string
Sorry about that. You can't end with a backslash - my bad. I just
tried this in the interpreter and 'c:' works.
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 31, 1:04 pm, [EMAIL PROTECTED] wrote:
Hello,
I am new to python and wanted to write something for myself where
after inputing two words it would search entire drive and when finding
both names in files name would either copy or move thoe files to a
specified directory.
But couple of
On Sun, 30 Dec 2007 19:29:38 -0800 (PST), John Machin
[EMAIL PROTECTED] wrote:
On Dec 31, 1:04 pm, [EMAIL PROTECTED] wrote:
Hello,
I am new to python and wanted to write something for myself where
after inputing two words it would search entire drive and when finding
both names in files name
On Dec 31, 2:44 pm, [EMAIL PROTECTED] wrote:
On Sun, 30 Dec 2007 19:29:38 -0800 (PST), John Machin
[EMAIL PROTECTED] wrote:
On Dec 31, 1:04 pm, [EMAIL PROTECTED] wrote:
Hello,
I am new to python and wanted to write something for myself where
after inputing two words it would search
On Sun, 30 Dec 2007 20:49:29 -0800 (PST), John Machin
[EMAIL PROTECTED] wrote:
On Dec 31, 2:44 pm, [EMAIL PROTECTED] wrote:
On Sun, 30 Dec 2007 19:29:38 -0800 (PST), John Machin
[EMAIL PROTECTED] wrote:
On Dec 31, 1:04 pm, [EMAIL PROTECTED] wrote:
Hello,
I am new to python and wanted
On Sun, 30 Dec 2007 22:52:32 -0800, Dennis Lee Bieber
[EMAIL PROTECTED] wrote:
On Sun, 30 Dec 2007 23:58:17 -0500, [EMAIL PROTECTED] declaimed the
following in comp.lang.python:
I am sorry i thought I did say what I was tryng to do.
The only thing I picked up from the thread is that
I have a SOAP server running using SOAPpy. The problem I am having is
that it only handles a single request at a time. It needs to be able
to accept as many simultaneous requests as come in.
What is the best way to achieve this? I really appreciate any help
here.
--
On Dec 13, 12:38 pm, sberry [EMAIL PROTECTED] wrote:
I have a SOAP server running using SOAPpy. The problem I am having is
that it only handles a single request at a time. It needs to be able
to accept as many simultaneous requests as come in.
What is the best way to achieve this? I really
I have an Adobe InDesign server running that includes a built-in SOAP
server. The wsdl is located here:
http://www.seanberry.com/IDSP.wsdl.
I have a PHP example that looks like this for calling the SOAP
function runScriptParameters
On Oct 30, 4:10 pm, sberry [EMAIL PROTECTED] wrote:
I have an Adobe InDesign server running that includes a built-in SOAP
server. The wsdl is located here:http://www.seanberry.com/IDSP.wsdl.
I have a PHP example that looks like this for calling the SOAP
function runScriptParameters
Sorry,
I've been away from Python for some time, and I'm just starting to look
at Tkinter. Just so you know, I'm coming from Visual Basic, where this
would, I *think*, not have been a problem, so it must be a case of
getting my head around the Tkinter way of doing things.
In a nutshell, I've written
I've made a couple of minor changes to your code from the Cribbage class
down:
class Cribbage:
def __init__(self, win):
self.parent = win# make the toplevel Tk window an
# attribute of the class
#Draw the interface
John McMonagle wrote:
I've made a couple of minor changes to your code from the Cribbage class
down:
class Cribbage:
def __init__(self, win):
...
score = run.play()
if score = best: best = score
time.sleep(1) --- short sleep to see what's happening
Hi Im new to python and I desperately need help with this task
This is everything of what I need to do...
The program to be written in Python obviously..
The program should support brute-forcing of the authentication process
for a Telnet server via a dictionary attack.
The python
darren112 wrote:
Hi Im new to python and I desperately need help with this task
This is everything of what I need to do...
The program to be written in Python obviously..
The program should support brute-forcing of the authentication process
for a Telnet server via a
well, this sounds funn.
1) dont expect someone to do your homework.
2) dont expect someone to do dirty homework
3) dont expect someone to do your home work especially when it's
something that could make you problems, or the person that is helping
you
4) from your message i can read that you need
On Sunday 11 February 2007 13:40, darren112 wrote:
Hi Im new to python and I desperately need help with this task
This is everything of what I need to do...
The program to be written in Python obviously..
The program should support brute-forcing of the authentication process
for
En Sun, 11 Feb 2007 16:40:45 -0300, darren112 [EMAIL PROTECTED]
escribió:
The program should support brute-forcing of the authentication process
for a Telnet server via a dictionary attack.
You should first read the Python Tutorial. After you get proficient with
the basic programming
Hey yo kiddie, I hope that you are using the web for some time. So you
can get the meaning from my post.:
LOL, ROTF, LOL, ROTF, LOL, ROTF, LOL, ROTF, LOL, ROTF, LOL, ROTF, LOL,
ROTF, LOL, ROTF, LOL, ROTF, LOL, ROTF, LOL, ROTF, LOL, ROTF, LOL,
ROTF, LOL, ROTF, LOL, ROTF, LOL, ROTF, LOL, ROTF,
darren112 wrote:
Hi Im new to python and I desperately need help with this task
This is everything of what I need to do...
The program to be written in Python obviously..
The program should support brute-forcing of the authentication process
for a Telnet server via a
Does anyone out there have a piece of code that demonstrates the use of the
lbfgsb multivariate, bounded solver in the scipy.optimize toolkit? An
example would get me started because my code below does not seem to work.
Thanks alot,
Bryan
I have tried to use the LBFGSB optimisation algorithm
mclaugb wrote:
Does anyone out there have a piece of code that demonstrates the use of the
lbfgsb multivariate, bounded solver in the scipy.optimize toolkit? An
example would get me started because my code below does not seem to work.
You will probably get better/faster/more answers on the
Just to clarify--this is a multivariate algorithm. I changed the function
Permmin to simply take the absolute value of (xmin, ymin) so that it returns
one value. Unfortunately, the error remains--it still returns this error:
x, f, d = lbfgsb.fmin_l_bfgs_b(Permmin, x0, Jacobi, params,
mclaugb wrote:
Just to clarify--this is a multivariate algorithm.
Yes. That means that the domain of the objective function is multivariate. The
image is still a scalar.
RR^n -f- RR
I changed the function
Permmin to simply take the absolute value of (xmin, ymin) so that it returns
one
mclaugb wrote:
x, f, d = lbfgsb.fmin_l_bfgs_b(Permmin, x0, Jacobi, params,
bounds=[(.001,100),(-50,-.001)] , maxfun=500)
File C:\Python24\lib\site-packages\scipy\optimize\lbfgsb.py, line 197,
in fmin_l_bfgs_b
isave, dsave)
ValueError: failed to initialize intent(inout) array --
Simplest explanation is that you can't do a 'show run' from global
configuration mode
try something like
#exit global configuration mode
tn.write('end\n')
print tn.read_until('#')
#disable pause after 24 lines
tn.write('term len 0\n')
tn.read_until('#')
#now show the entire running-config
Hi Guys,
I just started learning Python a couple of days ago and to put some of
what I learnt into practice. As such I thought I might try and write a
simple program (based on examples I had seen) that would allow me to
log into a Cisco router, enter configuration mode, change an interface
I hope someone can help me with a couple of wxPython questions, or point
me to the right newsgroup for the questions.
I am trying to modify the floatcanvas demo program. I want to load an
image from a file (jpg or whatever), then do a kind of color-picker
action on it.
I haven't tried yet to
Try the wxPython mailing list, which you can find on their site. And
the best wxPython reference is the book (also available as an e-book)
by Robin Dunn, who created wxPython. Seeing wxPython from his
perspective is well worth the money. If I recall correctly he devoted
an entire chapter to
Sandra-24 wrote:
Try the wxPython mailing list, which you can find on their site. And
the best wxPython reference is the book (also available as an e-book)
by Robin Dunn, who created wxPython. Seeing wxPython from his
perspective is well worth the money. If I recall correctly he devoted
an
Sandra-24 wrote:
Try the wxPython mailing list, which you can find on their site. And
the best wxPython reference is the book (also available as an e-book)
by Robin Dunn, who created wxPython. Seeing wxPython from his
perspective is well worth the money. If I recall correctly he devoted
an
On Dec 16, 8:43 pm, Jive Dadson [EMAIL PROTECTED] wrote:
I bought the ebook. Searching for pixel, all I came up with was a
method called GetPixel in a device context. I know there must be a
device context buried in there somewhere, so now I need to winkle it out.
You are right that you need
Bucco wrote:
Simon Forman wrote:
1) Don't use dir, file, and list as variable names, those are
already python built in objects (the dir() function, list type, and
file type, respectively.)
Thanks. My own stupidity on this one.
2) 'r' is the default for open(), omit it. self.flist =
I am trying to compare a list of items to the list of files generated
by os.listdir. I am having trouble getting this to work and think I
may be going down the wrong path. Please let me know if hter is a
better way to do this. THis is what I have for my class so far:
import os, sys
class
20 Aug 2006 14:47:14 -0700, Bucco [EMAIL PROTECTED]:
I am trying to compare a list of items to the list of files generated
by os.listdir. I am having trouble getting this to work and think I
may be going down the wrong path. Please let me know if hter is a
better way to do this. THis is
Bucco wrote:
I am trying to compare a list of items to the list of files generated
by os.listdir. I am having trouble getting this to work and think I
may be going down the wrong path. Please let me know if hter is a
better way to do this. THis is what I have for my class so far:
import
Hi,
janama a écrit :
jean-michel bain-cornu wrote:
Why won't you write it yourself using the demo ?
It's clear and well documented.
Regards,
jm
Hi, have been just trying for 5 hours with the timer demo in wx, i just
havnt clicked with how to tie it in together,
I know (think) i need
Thanks Jean this now makes sense, really appreciate your time and
effort mate.
def __init__(self, parent):
self._init_ctrls(parent)
self.t1 = wx.Timer(self)
self.t1.Start(2000) # 2 seconds
self.Bind(wx.EVT_TIMER, self.OnTest1Timer)
janama a écrit :
Can somewhone add a wx.Timer example to this to make it check
if the file exists every minute or so , instead of clicking the button
to check and update this? Or is there a better way of auto updating my
little gui apps StaticBitmap if a file exists?
Why won't you
jean-michel bain-cornu wrote:
Why won't you write it yourself using the demo ?
It's clear and well documented.
Regards,
jm
Hi, have been just trying for 5 hours with the timer demo in wx, i just
havnt clicked with how to tie it in together,
I know (think) i need the following features from
Thanks for any help with any of this
I have no time at the moment.
I'm going to try to give you an answer tomorrow morning (june 16) (if
nobody did of course).
See you
jm
--
http://mail.python.org/mailman/listinfo/python-list
Ralph H. Stoos Jr. enlightened us with:
File autotp.py, line 21
ready = raw_input(Ready to proceed ? TYPE (y)es or (n)o: )
^
Please post the entire traceback, so we can see the actual error
message. Posting the context of the bad line also wouldn't hurt.
Sybren
--
The problem
Ralph H. Stoos Jr. wrote:
File autotp.py, line 21
ready = raw_input(Ready to proceed ? TYPE (y)es or (n)o: )
^
please post the entire output and the surrounding code (as much as
reasonable).
It may well be some paranthesis error, as alreasy stated.
--
Thomas Jollans -
File autotp.py, line 21
ready = raw_input(Ready to proceed ? TYPE (y)es or (n)o: )
^
--
http://mail.python.org/mailman/listinfo/python-list
Ralph H. Stoos Jr. [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
HELP PLEASE: What is wrong with this?File autotp.py, line 21
ready = raw_input(Ready to proceed ? TYPE (y)es or (n)o: )
^
Probably the parenthesis you forgot to close on the preceding line ...
Cheers
Welcome to Python! :-)
You may find this mailing list useful:
http://mail.python.org/mailman/listinfo/tutor
--
http://mail.python.org/mailman/listinfo/python-list
Okay I'm getting really frustrated with Python's Unicode handling, I'm
trying everything I can think of an I can't escape Unicode(En|De)codeError
no matter what I try.
Could someone explain to me what I'm doing wrong here, so I can hope to
throw light on the myriad of similar problems I'm having?
Robin Haswell wrote:
Okay I'm getting really frustrated with Python's Unicode handling, I'm
trying everything I can think of an I can't escape Unicode(En|De)codeError
no matter what I try.
Have you read any of the documentation about Python's Unicode support? E.g.,
Robin Haswell wrote:
Could someone explain to me what I'm doing wrong here, so I can hope to
throw light on the myriad of similar problems I'm having? Thanks :-)
Python 2.4.1 (#2, May 6 2005, 11:22:24)
[GCC 3.3.6 (Debian 1:3.3.6-2)] on linux2
Type help, copyright, credits or license for
Robin Haswell wrote:
Okay I'm getting really frustrated with Python's Unicode handling, I'm
trying everything I can think of an I can't escape Unicode(En|De)codeError
no matter what I try.
If you follow a few relatively simple rules, the days of Unicode errors
will be over. Let's take a look!
On 2006-04-07, Robin Haswell [EMAIL PROTECTED] wrote:
Okay I'm getting really frustrated with Python's Unicode handling, I'm
trying everything I can think of an I can't escape Unicode(En|De)codeError
no matter what I try.
Could someone explain to me what I'm doing wrong here, so I can hope to
[EMAIL PROTECTED] wrote:
heh.. It works except I am using psycopg.Binary(somebinarystructure),
and I am not really doing it by hand to just add the extra %, and
psycopg.Binary doesn't do it. I'd imagine it's a bug with psycopg
package.
or a bug in your use of Binary. what exactly are you
Problem Solved. The problem was with psycopg.Binary whose mere job is
to convert bytes into clear text for sql statement. I'll be filing a
bug.
Thanks everyone,
Sia
--
http://mail.python.org/mailman/listinfo/python-list
Siah wrote:
Problem Solved. The problem was with psycopg.Binary whose mere job is
to convert bytes into clear text for sql statement.
no, its job is to wrap strings that contain binary blobs, so that data binding
works properly. you're supposed to do
cursor.execute(statement,
I also posted this in Django Users group, but figured it probably has
more relevance for python group.
It seems like a freak problem to me. I spent a long hour to track the
problem down and here it is:
The following statement fails because it has the '%' sign in it.
cursor.execute(select '%')
[EMAIL PROTECTED] writes:
The following statement fails because it has the '%' sign in it.
cursor.execute(select '%')
The error is: IndexError: list index out of range
How do I address this problem?
Use %%.
--
Jorge Godoy [EMAIL PROTECTED]
Quidquid latine dictum sit, altum
heh.. It works except I am using psycopg.Binary(somebinarystructure),
and I am not really doing it by hand to just add the extra %, and
psycopg.Binary doesn't do it. I'd imagine it's a bug with psycopg
package. Any quick way to project a string from freak '%' problems?
Thanks,
Sia
Jorge Godoy
[EMAIL PROTECTED] writes:
heh.. It works except I am using psycopg.Binary(somebinarystructure),
and I am not really doing it by hand to just add the extra %, and
psycopg.Binary doesn't do it. I'd imagine it's a bug with psycopg
package. Any quick way to project a string from freak '%'
Jorge Godoy wrote:
[EMAIL PROTECTED] writes:
heh.. It works except I am using psycopg.Binary(somebinarystructure),
and I am not really doing it by hand to just add the extra %, and
psycopg.Binary doesn't do it. I'd imagine it's a bug with psycopg
package. Any quick way to project a string
Erik Max Francis [EMAIL PROTECTED] writes:
Raw strings don't have anything to do with format specifiers.
I know. I'm just trying to see if there might be some magic going on with his
driver...
--
Jorge Godoy [EMAIL PROTECTED]
Quidquid latine dictum sit, altum sonatur.
- Qualquer coisa
Jorge Godoy wrote:
I know. I'm just trying to see if there might be some magic going on with his
driver...
Since raw strings have no effect on format specifiers, that won't tell
you anything.
r'%' == '%'
True
His problem is that cursor.execute does format expansion with %, so a
single
Erik Max Francis wrote:
His problem is that cursor.execute does format expansion with %, so a
single % is not legal.
Yes, I think psycopg uses paramstyle='pyformat', i.e. it expands
parameters in your sql in the usual Python way where % has a special
meaning. If you really mean the % sign
Oh, no I did not create any modules, wish I had the knowledge to do so!
I think I've moved beyond whatever that issue was and now getting a timeout.
The info is below... any help you can give is appreciate!
I'm running this code...
import os, re, string, urllib, types
data =
I beleive so... I cannot know for sure becasue the models are not
separate... they are in the python23.zlib file... I'm no sure how to check
the file, it looks as if it is compiled (I'm new to python so forgive my
ignorance)
Kent Johnson [EMAIL PROTECTED] wrote in message
news:[EMAIL
livin wrote:
I beleive so... I cannot know for sure becasue the models are not
separate... they are in the python23.zlib file... I'm no sure how to check
the file, it looks as if it is compiled (I'm new to python so forgive my
ignorance)
Yes, there should be an re module in your Python
my log...
INFO urllib.urlopen('http://192.168.1.11/hact/kitchen.asp',
urllib.urlencode({'Action': 'hs.ExecX10ByName+Kitchen+Lights%2C+On
%2C+100x=4y=6'}))
INFO
INFO File Q:\python\python23.zlib\urllib.py, line 78, in urlopen
INFO File Q:\python\python23.zlib\urllib.py, line 159, in open
livin wrote:
my log...
INFO urllib.urlopen('http://192.168.1.11/hact/kitchen.asp',
urllib.urlencode({'Action': 'hs.ExecX10ByName+Kitchen+Lights%2C+On
%2C+100x=4y=6'}))
INFO
INFO File Q:\python\python23.zlib\urllib.py, line 78, in urlopen
INFO File Q:\python\python23.zlib\urllib.py,
I'm trying to convert a Real Basic routine into Python and I can't read the
long integer data from a file.
Here is the Real Basic code:
b=f.OpenAsBinaryFile
b.LittleEndian=True
i=b.ReadByte
titles=b.ReadLong
shows=b.ReadLong
i=b.ReadLong
And here is my code:
On 2006-01-01, Stewart Arnold [EMAIL PROTECTED] wrote:
I'm trying to convert a Real Basic routine into Python and I
can't read the long integer data from a file.
http://docs.python.org/lib/module-struct.html
--
Grant Edwards grante Yow! Here I am in 53
Grant
Perfect!
Thanks :)
Stewart
Grant Edwards [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On 2006-01-01, Stewart Arnold [EMAIL PROTECTED] wrote:
I'm trying to convert a Real Basic routine into Python and I
can't read the long integer data from a file.
Good day:
Probably the answer to my question is staring me in the face, but the
solution escapes me.
The following is the input line of the file: SoftDict-.csv:
ca1017,GRPHScriptSet,ADD/REM,Adobe Acrobat 4.0=2005/06/14
I expected an instance of Machine() to be created with a name ca1017.
On 29 Jun 2005 17:55:44 -0700,
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
The following is the input line of the file: SoftDict-.csv:
ca1017,GRPHScriptSet,ADD/REM,Adobe Acrobat 4.0=2005/06/14
I expected an instance of Machine() to be created with a name ca1017.
Instead, an object is
[EMAIL PROTECTED] wrote:
Good day:
Probably the answer to my question is staring me in the face, but the
solution escapes me.
The following is the input line of the file: SoftDict-.csv:
ca1017,GRPHScriptSet,ADD/REM,Adobe Acrobat 4.0=2005/06/14
I expected an instance of Machine() to be
John Machin wrote:
BTW, don't use l.
Excellent advice.
But since the original poster appears to be rather a
newbie, perhaps a little bit of explanation would be
useful.
Variables like l and I should be avoided like the
plague, because in many fonts and typefaces they are
no takers?
--
http://mail.python.org/mailman/listinfo/python-list
Hi !
Im a python begginer, but...
form = cgi.FieldStorage()
DataRecord = form['DataTime'].value
Customer = form['CustName'].value # should be automatically filled in
Can you try this ?
print Content-Type: text/html\n\n
print
WorkingFile =
[EMAIL PROTECTED] wrote:
IOError: [Errno 2] No such file or directory:
'/var/www/stretch/web_root/SidCrops/tenderloin/Tue Jun 7 20:13:35
2005.txt'
args = (2, 'No such file or directory')
The web server isn't running in a chrooted environment
or anything, is it?
Are there any other
i fixed it.
the program was going nuts because there were
spaces in the name of the file.
go figgure.
anyway, i changed the way i format the timestamp that
becomes the file name and removed the spaces.
working all better now.
thanks
--
http://mail.python.org/mailman/listinfo/python-list
On 6/7/05, Ivan Shevanski [EMAIL PROTECTED] wrote:
I really can't figure out anything about the SMTP module. . .I think I'm in
over my head( Im pretty new to python). Can someone show me a really(and I
mean REALLY) basic tutorial for smtp or explain it?
Ivan Shevanski wrote:
I really can't figure out anything about the SMTP module. . .I think I'm
in over my head( Im pretty new to python). Can someone show me a
really(and I mean REALLY) basic tutorial for smtp or explain it?
program:
I want to make my program have a feedback form
- Original Message -
From: Martin Franklin [EMAIL PROTECTED]
server.sendmail(fromaddr, toaddrs, msg)
You can use this if you don't need to worry about whether the email was
successfully sent to all recipients. Otherwise, you need something like
this
(untested and partly copied from
- Original Message -
From: Tim Williams [EMAIL PROTECTED]
try:
s.close()
except
pass
Typo!!
That should be s.quit() not s.close()
:)
--
http://mail.python.org/mailman/listinfo/python-list
Tim Williams wrote:
- Original Message -
From: Tim Williams [EMAIL PROTECTED]
try:
s.close()
except
pass
Typo!!
That should be s.quit() not s.close()
:)
and perhaps put into a finally:
Mart
--
http://mail.python.org/mailman/listinfo/python-list
I have found that the SmtpWriter class hides all the
complexity in creating emails like you want to send.
Check it out here:
http://motion.sourceforge.net/related/send_jpg.py
HTH,
Larry Bates
Syscon, Inc.
Ivan Shevanski wrote:
I really can't figure out anything about the SMTP module. . .I
From: Larry Bates [EMAIL PROTECTED]
To: Ivan Shevanski [EMAIL PROTECTED]
Subject: Re: SMTP help please
Date: Tue, 07 Jun 2005 07:39:01 -0500
I have found that the SmtpWriter class hides all the
complexity in creating emails like you want to send.
Check it out here:
http
Martin Franklin [EMAIL PROTECTED] writes:
server = smtplib.SMTP(mailserver.somewhere.com)
Why are you beating up Kee's mail server (hint: whois somewhere.com)?
See RFC 2606 URL: http://www.ietf.org/rfc/rfc2606.txt and search
for example.com for how to pick example domain names properly.
Hey there. Here is the deal i have a script that is supposed to
open a file based on criteria from a web form.
i cant seem to get it to work though.
here is the code:
form = cgi.FieldStorage()
DataRecord = form['DataTime'].value
Customer = form['CustName'].value # should be automatically
I really can't figure out anything about the SMTP module. . .I think I'm in
over my head( Im pretty new to python). Can someone show me a really(and I
mean REALLY) basic tutorial for smtp or explain it?
program:
I want to make my program have a feedback form attached to it at the end
which
Hi,...
I meant to write an application where there is a button in a window and
when you click on the button, it will open a new window, but I want the
first window to close, replaced by the second window.
I open a login window and start the mainloop, when the user click on
the login button, the
Well, but where do I call withdraw?
--
http://mail.python.org/mailman/listinfo/python-list
Forgive my ignorance, but where do I call withdraw?
--
http://mail.python.org/mailman/listinfo/python-list
Clara wrote:
Well, but where do I call withdraw?
when you want the new window to appear, and the old one to
go away, of course. something like this, perhaps?
from mainmenu import FileManager
app2 = FileManager(self.username.get())
app2.master.title(File Manager)
since the file where i call the first window and the second window is
different,.If I put app.master.withdraw() there,...won't I get error
message that says; app is not defined as global or something like that?
--
http://mail.python.org/mailman/listinfo/python-list
I've found the solution I must destroy the first window using
self.master.destroy(), but thanks anyway ^_^
--
http://mail.python.org/mailman/listinfo/python-list
I tried to print the value of my entry widget by passing the
result of controlvariable.get() in Tkinter to a function.
However, I kept printing empty string (eventhough I've
written something inside the entry widget). But if I first
set the value of the entry widget using .set,...I can get
the
gargonx [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Even if i put it in exactly the way you did:
import re
charmatcher = re.compile(r' [A-Z] [\d]?')
ext = dict(D=V1, O=M1, G=S1)
std = dict(S=H)
decode_replacements ={}
decode_replacements.update([(std[key], key) for
I think there's a problem with the code:
py decode_replacements.update([(std[key], key) for key in std])
py decode_replacements.update([(ext[key], key) for key in ext])
when i run this i get an error:
AttributeError: keys
I can't get that figured out
--
gargonx wrote:
I think there's a problem with the code:
py decode_replacements.update([(std[key], key) for key in std])
py decode_replacements.update([(ext[key], key) for key in ext])
when i run this i get an error:
AttributeError: keys
I can't get that figured out
Can you show the part of your
Even if i put it in exactly the way you did:
import re
charmatcher = re.compile(r' [A-Z] [\d]?')
ext = dict(D=V1, O=M1, G=S1)
std = dict(S=H)
decode_replacements ={}
decode_replacements.update([(std[key], key) for key in std])
Traceback (most recent call last):
File stdin, line 1, in ?
gargonx wrote:
Even if i put it in exactly the way you did:
import re
charmatcher = re.compile(r' [A-Z] [\d]?')
ext = dict(D=V1, O=M1, G=S1)
std = dict(S=H)
decode_replacements ={}
decode_replacements.update([(std[key], key) for key in std])
Traceback (most recent call last):
File stdin, line 1,
201 - 300 of 319 matches
Mail list logo