wiki:WikiStart
Last modified 6 years ago Last modified on 10/21/08 11:41:06

pysmbc

This is a set of simple Python bindings for the SAMBA libsmbclient library.

Example:

>>> import smbc
>>> context = smbc.Context ()
>>> d = context.opendir ("smb://")
>>> print d.getdents ()
[<smbc.Dirent object "MYGROUP" (Workgroup) at 0x7f2c50c8c0d0>]
>>> d = context.opendir ("smb://MYGROUP")
>>> print d.getdents ()
[<smbc.Dirent object "CYBERELK" (Server) at 0x7f2c50c8c148>]
>>> d = context.opendir ("smb://CYBERELK")
>>> print d.getdents ()
[<smbc.Dirent object "IPC$" (IPC share) at 0x7f2c50c8c120>,
 <smbc.Dirent object "Duplexer" (Printer share) at 0x7f2c50c8c148>]

Download

Released tarballs are placed here.

Source Code

You can get your own copy of the source code like this:

git clone git://git.fedorahosted.org/git/pysmbc.git

For a complete list of local wiki pages, see TitleIndex.

Bug Reporting

To log in and submit bug reports, use your Fedora Project account details.

If you don't have a Fedora Project account yet, you can get one using this link.