> I'd be surprised if there was more demand for PHP developers
> than Python developers. Google lists 51 PHP jobs and 168
> Python jobs in their internal jobs database (I just did a
> quick search).
Yes, but Google is the company that hired Guido, and that does most of
it's dev in python.
Looki
Jerry wrote:
> I am not a Python guru by any means, but I believe that when an
> application says that you can "script" their application with Python,
> it means that you can actually write Python code to interact with the
> application. Embedding may be the same thing. Extending (as I read
> it)
if you are running in windows you can use the win32com module to
automate the process of generating a pivot table in excel and then code
to send it via e-mail
Jaap wrote:
> Python ers,
> As a relatively new user of Python I would like to ask your advice on
> the following script I want to create
> At first I was convinced that "w+" was the tool for the job. But now
> I'm finding that the contents of the file are deleted (so I can't read
> the data in).
Possible File Modes:
a : Append -- Add data at the end of the file
r : Read -- Read from the file
w : write -- Flush contents of the fi
一首诗 wrote:
> Is there any simple way to solve this problem?
>>> myString = " "
>>> myString = myString.replace(" ", "")
--
http://mail.python.org/mailman/listinfo/python-list
Queue is
a lot easier than having to manage locks by yourself.
As long as you do not share data between your classes like static
members, database connections, or I/0 on the same ressource, you
probably won't encounter problems.
[EMAIL PROTECTED] wrote:
> martdi wrote:
> > [EMA
[EMAIL PROTECTED] wrote:
> I have inheirted some existing code, that i will explain in a moment,
> have needed to extend and ultimately should be able to run in threads.
> I've done a bunch of work with python but very little with threads and
> am looking for some pointers on how to implement, and
Since it wont require pyexpect, and based on the operations you
accomplish with your python script, maybe that a bash script instead of
a python one might be the best tool for the job you're trying to
accomplish.
martdi wrote:
> Sudo is probably the best solution here, since in
Sudo is probably the best solution here, since in the file sudo.conf
you could restrict the www user only to the python script that requires
it.
Also, using either sudo or the setuid flag would remove the need of
pexpect since all the commands will be run as the designated user.
for setuid flag:
Well, first i don't think it is a good idea to have the python script
tu su to root, but for it to work, i think (Totally unsure about that)
www has to be in group wheel to be able to su.
An other way to make your script run as root is to set the setuid bit
on your python script to make it run as
10 matches
Mail list logo