On 5/18/07, Rohan Deshpande <[EMAIL PROTECTED]> wrote:
Hey all,
I am writing a small python script to maintain some passwords and
identity info. All the data is in an external file. what is the best
way to encrypt/decrypt this file's data using a key? I am new to
encryption methods let alone
Hey all,
I am writing a small python script to maintain some passwords and
identity info. All the data is in an external file. what is the best
way to encrypt/decrypt this file's data using a key? I am new to
encryption methods let alone how to do it in python. I had a look at
python-crypto, ez
I have been playing with pywinauto http://pywinauto.pbwiki.com/ for a
few hours. Pywinauto allows you to use python to automate the GUI of
Windows using Python in very intuitive ways. What are the closest
analogs for this under OS X and Linux?
John
_
> [snip]
>
> PS: Now I know why I see all posts messed up. It's because you're
> sending your emails as a HTML, and I deactivated that on my email
> client. I don't know if Hotmail (I believe you send you emails from
> there) as an option to turn off HTML. If it was please use it :D
> (Besides
Disregard! Looks like part of my problem is the regex string.
On 5/18/07, Tom Tucker <[EMAIL PROTECTED]> wrote:
Please forgive the colors, just trying to help illustrate my question.
The below code snipet works as designed, however the regex matches once
and exits. I want it to continue match
Please forgive the colors, just trying to help illustrate my question.
The below code snipet works as designed, however the regex matches once and
exits. I want it to continue matching and printing until EOF. Any
suggestions?
Why the cStringIO stuff? The input data shown below is collected fr
adam urbas escreveu:
> Thanks for the help. I've made quite some progress since I first posted this
> email. I have a question though, what did you mean when you were talking
> about the raw_input( )? How can the regular input( ) be used evilly? If you
> could explain in depth, I would be ve
"Luke Paireepinart" <[EMAIL PROTECTED]> wrote
> Please never again write a message to this mailing list without a
> subject.
> For those of us who have threads turned on, it becomes quite
> cumbersome.
FWIW I have the same problem reading via gmane. It was
telling me there were unread messages
"Matt Smith" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>> > Is there a better way of doing this?
>>
>> Perhaps something like this:
>>
>> for n in (x, x+1, x-1):
>> for m in (y, y+1, y-1):
>> if matrix[n, m]:
>> neighbour_count = neighbour_count + 1
>>
>
> I need to
Thanks. Eventually, one will be able to take a picture of oneself and that
will be the gif that chases around the maze. I'm trying to avoid any 'copy
write' infringement. I have a little alien that I am trying to incorporate
into the maze that will try to find the gif. But as it stands, it's no
Very cool! Where is Inky, Blinky, Pinky, and Clyde? ;-) Maybe dog catchers
would be better foes for Dusty.
On 5/18/07, Teresa Stanton <[EMAIL PROTECTED]> wrote:
Hi all:
Remember when I was having problems moving my .gif around my Tkinter maze?
Well, I was going about it all wrong (as some poi
Janani Krishnaswamy wrote:
> Hi!
> I am having trouble executing an exe file with 3 arguments within a
> python script. Right now I have something like this:
>
> os.system(r'"1/2/3/program 1/2/3/argument1 1/2/3/argument2"')
>
> I was trying it with a raw string because of the /'s within it. I'm n
Rikard Bosnjakovic wrote:
> On 5/18/07, Teresa Stanton <[EMAIL PROTECTED]> wrote:
>
>> Remember when I was having problems moving my .gif around my Tkinter maze?
>
> No, but we will all hereby remember you forever for posting a new
> thread without a proper subject on this list. Perhaps at the sa
Hi!
I am having trouble executing an exe file with 3 arguments within a
python script. Right now I have something like this:
os.system(r'"1/2/3/program 1/2/3/argument1 1/2/3/argument2"')
I was trying it with a raw string because of the /'s within it. I'm not
sure of any other approaches.
Any a
> No, but we will all hereby remember you forever for posting a new
> thread without a proper subject on this list. Perhaps at the same time
> as our eyes will start peering.
>
I would imagine that the original poster didn't have any remnants of the
previous thread. Yes, the poster should have pu
Matt Smith wrote:
>>> Is there a better way of doing this?
>>>
>> Perhaps something like this:
>>
>> for n in (x, x+1, x-1):
>> for m in (y, y+1, y-1):
>> if matrix[n, m]:
>> neighbour_count = neighbour_count + 1
>>
>>
>
> I need to not text matrix[x][y] is there a simple wa
Matt Smith wrote:
> On Fri, 2007-05-18 at 23:49 +0200, Rikard Bosnjakovic wrote:
>
>> Something like this:
>>
>> try:
>>the_index_outside_matrix_test()
>> except IndexError:
>> suppress_the_error()
>>
>
> Thanks Rikard,
>
> I'm not sure how I would go about actually suppressing the er
> > Is there a better way of doing this?
>
> Perhaps something like this:
>
> for n in (x, x+1, x-1):
> for m in (y, y+1, y-1):
> if matrix[n, m]:
> neighbour_count = neighbour_count + 1
>
I need to not text matrix[x][y] is there a simple way to exclude this from the
possible combi
On Fri, 2007-05-18 at 23:49 +0200, Rikard Bosnjakovic wrote:
> Something like this:
>
> try:
>the_index_outside_matrix_test()
> except IndexError:
> suppress_the_error()
Thanks Rikard,
I'm not sure how I would go about actually suppressing the error - what
would suppress_the_error() actual
On 5/18/07, Matt Smith <[EMAIL PROTECTED]> wrote:
> I am not sure
> how to suppress or avoid this error so that neighbour_count is not
> incremented for indexes outside the matrix.
Something like this:
try:
the_index_outside_matrix_test()
except IndexError:
suppress_the_error()
> Is there
Hi,
I am trying to write a simple program to display Conway's Game Of Life.
I have the bones of the program together but I'm struggling with the
function that tests for and applies the rules of the game (the important
bit). I have the current state of the game stored in a 2d matrix with
each cell
On 5/18/07, Teresa Stanton <[EMAIL PROTECTED]> wrote:
> Remember when I was having problems moving my .gif around my Tkinter maze?
No, but we will all hereby remember you forever for posting a new
thread without a proper subject on this list. Perhaps at the same time
as our eyes will start peerin
Richard Henderson wrote:
> Hello,
> I am a rank beginner, as I'm sure my question will show. After I enter
> and save a script using Notepad, it is not recognized by DOS and will
> not run. What might I be doing wrong. I am using PythonWin and
> Windows XP.
> Thanks,
> Richard
Please never aga
Kent,
Thanks so much. It's easy when you know how. Now that I know, I only need
the encode('utf-8') step since geopy does the urlencode step.
On Thu, 17 May 2007, Kent Johnson wrote:
> It's two steps. First convert to utf-8, then urlencode:
c = u'\xe2'
c
> u'\xe2'
c.encode('utf-8
Hi Richard
Have you try running it with Python in front of the script name? Such as:
python my_script.py
Usually on Windows command prompt, if Python is not on your path you
have to enter the whole path to it, something like C:\Python25\python.
HTH
Paulo
Richard Henderson wrote:
> Hello,
> I
Richard Henderson wrote:
> Hello,
> I am a rank beginner, as I'm sure my question will show. After I enter
> and save a script using Notepad, it is not recognized by DOS and will
> not run. What might I be doing wrong. I am using PythonWin and Windows XP.
Often the case that Notepad will (sile
Hello,
I am a rank beginner, as I'm sure my question will show. After I enter and save
a script using Notepad, it is not recognized by DOS and will not run. What
might I be doing wrong. I am using PythonWin and Windows XP.
Thanks,
Richard
Hi all:
Remember when I was having problems moving my .gif around my Tkinter maze?
Well, I was going about it all wrong (as some pointed out). What REALLY
works is a graph. I used a dictionary, the keys are main coordinates that
are a path that the .gif follows using a greedy algorithm that find
"Stephen Adler" <[EMAIL PROTECTED]> wrote
> I'm quite new to python and come from a c++/old school
> math/computing/physics background.
Thats OK, many of us came from there too.
Its not permanently damaging! :-)
> is that I can't for the life of me figure out how to allocate a 1meg
> buffer. (or
29 matches
Mail list logo