Thank you for your suggestions,
I created a working prototype now, http://dpaste.com/73630/
Daniel
> On Sat, Aug 23, 2008 at 4:08 PM, Kent Johnson <[EMAIL PROTECTED]> wrote:
> Graphviz's dot is an amazing way to produce graphics from graph data.
> pydot can produce the dot files needed to creat
I want to make a program in python that knows the current url of the active
tab in firefox. I want to be able to right click anywhere in my system,
notepad, firefox..etc.. and be able to see an added menu option.
Any pointers on doing this?
Summary of goals:
1. retrieve url of current tab from fir
On Aug 24, 2008, at 7:20 PM, Kent Johnson wrote:
Forwarding to the list with my reply. Please use Reply All to reply
to the list.
Grr, sorry, I keep forgetting...
On Sun, Aug 24, 2008 at 1:02 AM, Eric Abrahamsen
<[EMAIL PROTECTED]> wrote:
On Aug 23, 2008, at 11:22 PM, Kent Johnson wrot
Thanks Kent, that works.
On Sun, Aug 24, 2008 at 10:33 PM, Kent Johnson <[EMAIL PROTECTED]> wrote:
> On Sun, Aug 24, 2008 at 9:26 PM, Ezra Taylor <[EMAIL PROTECTED]> wrote:
>> Hello all:
>> Can I do the below with input() from fileinput? If
>> this is not possible, what can I do t
On Sun, Aug 24, 2008 at 9:26 PM, Ezra Taylor <[EMAIL PROTECTED]> wrote:
> Hello all:
> Can I do the below with input() from fileinput? If
> this is not possible, what can I do to create backup files with the
> date timestamp as an extension. Thanks for you help all.
>
>
> from tim
-- Forwarded message --
From: W W <[EMAIL PROTECTED]>
Date: Sun, Aug 24, 2008 at 8:40 PM
Subject: Re: [Tutor] Including files for security.
To: Dotan Cohen <[EMAIL PROTECTED]>
On Sun, Aug 24, 2008 at 3:38 PM, Dotan Cohen <[EMAIL PROTECTED]> wrote:
> 2008/8/24 Alan Gauld <[EMAIL P
On Sun, Aug 24, 2008 at 8:26 PM, Ezra Taylor <[EMAIL PROTECTED]> wrote:
> Hello all:
> Can I do the below with input() from fileinput? If
> this is not possible, what can I do to create backup files with the
> date timestamp as an extension. Thanks for you help all.
>
>
> from ti
Hello all:
Can I do the below with input() from fileinput? If
this is not possible, what can I do to create backup files with the
date timestamp as an extension. Thanks for you help all.
from time import strftime
for line in fileinput.input(inplace=1,backup='.strftime("%Y-%b-%
2008/8/24 Alan Gauld <[EMAIL PROTECTED]>:
>
> "Dotan Cohen" <[EMAIL PROTECTED]> wrote
>
>> I think that I will use the open() and read() functions, thanks! I did
>> think of that, but I wanted to know if there was a better wheel
>> invented already.
>
> Another option is to use environment variable
"Dotan Cohen" <[EMAIL PROTECTED]> wrote
I think that I will use the open() and read() functions, thanks! I
did
think of that, but I wanted to know if there was a better wheel
invented already.
Another option is to use environment variables to store them.
These can be set when the server star
<[EMAIL PROTECTED]> wrote
([Tutor] How do I delete all Files of certain extension type?)
Get a list of the files - try glob.glob or os.walk
Then delete them - use shutil.remove
Now if thats not enough info come back with more specific
questions.
You might find the Using the OS topic in m
2008/8/24 Kent Johnson <[EMAIL PROTECTED]>:
> On Sun, Aug 24, 2008 at 12:08 PM, Dotan Cohen <[EMAIL PROTECTED]> wrote:
>> I have a specific file in the web tree that makes a database call. I
>> am uncomfortable keeping the database username and password in the
>> file. In PHP I usually put the data
On Sun, Aug 24, 2008 at 12:08 PM, Dotan Cohen <[EMAIL PROTECTED]> wrote:
> I have a specific file in the web tree that makes a database call. I
> am uncomfortable keeping the database username and password in the
> file. In PHP I usually put the database connection data in a file
> outside the web
I have a specific file in the web tree that makes a database call. I
am uncomfortable keeping the database username and password in the
file. In PHP I usually put the database connection data in a file
outside the web tree and use the include (http://il.php.net/include/)
function to get the data. I
([Tutor] How do I delete all Files of certain extension type?)
-
Sent by a Cricket mobile device
-
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mai
- Message from [EMAIL PROTECTED] -
Date: Sun, 24 Aug 2008 01:31:28 -0500
From: Alberto Perez <[EMAIL PROTECTED]>
Reply-To: Alberto Perez <[EMAIL PROTECTED]>
Subject: [Tutor] hi...
To: tutor@python.org
run a program in interactive mode, the program run very good, but i
"Alberto Perez" <[EMAIL PROTECTED]> wrote
. How clear the screen of GUI python interactive
bhaaaluu answered that
and which is the difference between interactive mode
and not interactive mode
WW answered that
because when I run a program in interactive mode,
the program run very
On Sun, Aug 24, 2008 at 2:31 AM, Alberto Perez <[EMAIL PROTECTED]> wrote:
> I have a problem with python, I'm begginner in python. How clear the screen
> of GUI python interactive
I'm not sure what you mean by GUI interactive?
However, at the Python interactive prompt, I can
"clear the screen"
-- Forwarded message --
From: W W <[EMAIL PROTECTED]>
Date: Sun, Aug 24, 2008 at 7:17 AM
Subject: Re: [Tutor] hi...
To: Alberto Perez <[EMAIL PROTECTED]>
On Sun, Aug 24, 2008 at 1:31 AM, Alberto Perez <[EMAIL PROTECTED]> wrote:
> I have a problem with python, I'm begginner in py
I have a problem with python, I'm begginner in python. How clear the screen of
GUI python interactive and which is the difference between interactive mode
and not interactive mode because when I run a program in interactive mode,
the program run very good, but if run in not interactive
20 matches
Mail list logo