a function like net send

Andreas Kostyrka andreas at mtg.co.at
Sun Dec 2 07:17:31 EST 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Samstag, 1. Dezember 2001 22:00 schrieb Ralf Claus:
> Hello,
> how can i produce a function like 'net send' (win32)
> I don't want to import the os module.
Why don't you want to import the os module?

Basically you could try find out which Win32 API functions are used by net 
send, or try to replicate it on the network layer.
If you do not have very important considerations, I'd stick with 
os.system.

Andreas
- -- 
Andreas Kostyrka; Raiffeisenstr. 16/9; 2320 Zwölfaxing
Tel: +43/676/4091256; Fax: +43/1/7065299
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8ChveHJdudm4KnO0RAgQeAKCvaPZJzCaKNYc1dq+GaS2vQNKD1gCggZG7
WwERoWhNzaH2shRw55+20+Q=
=X3zh
-----END PGP SIGNATURE-----




More information about the Python-list mailing list