com.client
ImportError: No module named win32com.client
can someone pls point me in the right direction here as I am trying to
urgently fix the file for someones birthday in game (I know pathetic)
thanks
Stan
--
http://mail.python.org/mailman/listinfo/python-list
and abstract
syntax. Why? Is it necessary to be cryptic? Whoever can figure out the puzzle is
the smartest one?
"Everything should be made as simple as possible,
but no simpler."
Albert Einstein
Thanks for sharing your thoughts!
Stan
--
http://mail.python.o
Does anyone know how I can access and read data
from a dbase (.dbf) file?
Regards,
Stan
--
http://mail.python.org/mailman/listinfo/python-list
On Sunday, December 29, 2013 5:18:18 PM UTC-5, Stan Ward wrote:
Note: I do not get the "WARNING: The version of Tcl/Tk (8.5.9) in use may be
unstable." message when I run python directly from bash (Mac "Terminal"), but I
do get it in the IDLE.app Shell Window, run as f
Thanks Ned. That did the trick! Jason Briggs, author of Python of Kids, gave
me the same answer. Happy to be over this hurdle. Thanks! Happy New Year!!
--
https://mail.python.org/mailman/listinfo/python-list
urth trips indicated "repairing..." Each
time, an attempt to run it resulted in the above message.
---
Stan Kaufman
Principal Scientist (retired)
TSI Incorporated
500 Cardigan Road
St. Paul, MN 55126
---
"Scienc
Hi;
If I write a python page to print to the web with Spanish accents all is
well. However, if I read the data from a text file it prints diamonds with
question marks wherever there are accented vowels. Please advise.
TIA,
Stan
--
http://mail.python.org/mailman/listinfo/python-list
27;t decode byte 0x0a in position 20:
truncated data
args = ('utf16', '\r\n', 20, 21, 'truncated data')
encoding = 'utf16'
end = 21
object = '\r\n'
reason = 'truncated data'
start = 20
Tried it with utf-16 with same results.
TIA,
Stan
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Dec 22, 2011 at 11:30 AM, Rami Chowdhury
wrote:
> Could you try using the 'open' function from the 'codecs' module?
>
I believe this is what you meant:
file = codecs.open(p + "2.txt", "r", "utf-8")
for line in file:
print line
but got this error:
141 file = codecs.open(p + "2.txt",
ange(128)
args = ('ascii', u'Noticia: Este sitio web entre este portal
est...r\xe1pidamente va a salir de aqu\xed.\r\n', 48, 49,
'ordinal not in range(128)')
encoding = 'ascii'
end = 49
object = u'Noticia: Este sitio web entre este portal
est...r\xe1pidamente
va a salir de aqu\xed.\r\n'
reason = 'ordinal not in range(128)'
start = 48
Please advise. TIA,
Stan
--
http://mail.python.org/mailman/listinfo/python-list
print statement is sys.stdout.encoding
> which is either "ascii" or None in your case. Try to encode explicitly to
> UTF-8 with
>
> f = codecs.open(p + "2.txt", "r", "iso-8859-1")
> for line in f:
>print line.encode("utf-8")
>
>
> OOEEE! Thanks!
Stan
--
http://mail.python.org/mailman/listinfo/python-list
A newbie to Tkinter here. . . . . .
I'm trying to set the focus on an Entry textbox with
focus_set. I am using the grid manager. I created the same
interface before using the pack() method and the focus_set
worked, but now it says
"AttributeError: 'NoneType' object has no attribute 'focus_s
I'm writing a script to list all of my music files' id3 tags
to a comma delimited file. The only part I'm missing seems
like it should be the simplest. I haven't used Python for
the last couple of years. My question is this:
When I use os.open(,"w"), I get an error
message,TypeError
Fredrik Lundh wrote:
> Stan Cook wrote:
>
>> I'm writing a script to list all of my music files' id3 tags to a
>> comma delimited file. The only part I'm missing seems like it should
>> be the simplest. I haven't used Python for the last couple of y
gotten about to
convert an integer to a string?
Regards
Stan
--
http://mail.python.org/mailman/listinfo/python-list
Saketh wrote:
> Stan Cook wrote:
>> Can anyone tell me how to get the length of a number. I
>> know len(string) will get the length of a string, but it
>> doesn't like len(int). I seem to remember something like %s
>> string. I tried to set a variable = to %s in
Ok . I know I'm talking ancient history, but some of us are
stuck working with them. Is there anything for python which
will ope, read, and write to a Dbase 3 or 4 file? I really
need your assistance on this one.
Regards,
Stan
--
http://mail.python.org/mailman/listinfo/python-list
ftc wrote:
> Stan Cook a écrit :
>> Ok . I know I'm talking ancient history, but some of us are stuck
>> working with them. Is there anything for python which will ope, read,
>> and write to a Dbase 3 or 4 file? I really need your assistance on
>> this one.
&g
I've been trying to use Eclipse with Python on Linux for a
while and have noticed something odd. After running the
code or debugging a few times, its responsiveness gets
really bad. Upon checking the equivalent of the task
manager, I find several instances of Python running. When I
kill the
ually click the "X" symbol that closes the debug area!)
>
> --Jason
>
> Stan Cook wrote:
>> I've been trying to use Eclipse with Python on Linux for a
>> while and have noticed something odd. After running the
>> code or debugging a few times, its r
I followed the help instructions to set a watchpoint for a
variable, or at lest I tried. When I hilight the variable
and go to the run menu, the "toggle watchpoint" is grayed
out and can't be selected as specified. Is this Python
related only? Just wondering, I want to use the software
with
#x27;t seem to work..
What about this?
>>> def f(var=None):
... if var == None:
... var = 1
... return 2*var
...
>>> f()
2
>>> f(3)
6
>>> a=4
>>> f(a)
8
>>> b=None
>>> f(b)
2
>>>
--Stan Graves
--
http://mail.python.org/mailman/listinfo/python-list
22 matches
Mail list logo