Re: sftp with no password from python

2009-01-08 Thread Mike Hjorleifsson
On Jan 8, 10:39 am, loial wrote: > Is it possible to use sftp without a password from python? Yes you can use keys you preestablish between the server and client so you dont need passwords, i do this on all my servers then lock off the ability to accept passwords at all, this way no one can dicti

Re: Python equivalent to SharePoint?

2008-10-16 Thread Mike Hjorleifsson
On Oct 15, 11:17 am, Joe Strout <[EMAIL PROTECTED]> wrote: > We've got a client who has been planning to use SharePoint for   > managing their organization documents, but has recently dropped that   > idea and is looking for an alternative.  Is there any Python package   > with similar functionalit

Re: sftp problem!

2008-10-05 Thread Mike Hjorleifsson
here is a snippet that works, you need to replace the default data or create a database etc.. and the fields to store it you also need to generate and share your public key to the receiving server to avoid password prompt # Standard library imports import os import sys import time import tracebac

Interbase

2008-07-30 Thread Mike Hjorleifsson
Has anyone gotten python working with Interbase database platform ? I need to query some info from an interbase database on another server need a lil help getting started. -- http://mail.python.org/mailman/listinfo/python-list

Re: Paramiko SFTP autologon using id_dsa.pub

2008-02-06 Thread Mike Hjorleifsson
sorry i meant a code example that i pass the id_dsa.pub file contents too so i am not reliant on the host system to have the ssh-agent. On Feb 6, 3:09 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > Mike Hjorleifsson wrote: > > Thanks for the response, is there an exam

Re: Paramiko SFTP autologon using id_dsa.pub

2008-02-06 Thread Mike Hjorleifsson
Thanks for the response, is there an example bit of code somewhere i could digest ? On Feb 6, 1:35 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > I wrote a lil module using paramiko's module to send a file via > > sftp.. it works great using the username and password. > > I would prefer to u

Paramiko SFTP autologon using id_dsa.pub

2008-02-05 Thread Mike Hjorleifsson
I wrote a lil module using paramiko's module to send a file via sftp.. it works great using the username and password. I would prefer to use id_dsa.pub to have an autologon and not save the password anywhere on the disk.. I cant find a good example of this. Can anyone help ? -- http://mail.python.

Re: What does % mean/does in this context?

2008-02-05 Thread Mike Hjorleifsson
At first glance it looks like a replace for _button_cart with the dictionary items listed in the curly braces and stuffing them into a list item (cartitems) On Feb 2, 8:47 am, Tim Chase <[EMAIL PROTECTED]> wrote: > > for item in cart.values(): > > v = _button_cart % {"idx": idx,

Re: How to autorun a python script when a specific user logs on?

2008-02-05 Thread Mike Hjorleifsson
on windows you can put this in HKEY_Local_Machine\Software\Microsoft \Windows\Current Version\Run and it will run at logon (or fast user switch) for each user or if you only want to do it for a specific user you need to determine their CSLID and put it in the same locale under the HKEY_USERS\Users

Re: Broke my IDLE!

2008-02-05 Thread Mike Hjorleifsson
Anyone know how to get idle working on OSX 10.5 (Leopard) ? -- http://mail.python.org/mailman/listinfo/python-list