🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #6291

Re: Acciones con particiones en python

#6291
From: Iván Sánchez Ortega
Date: Thu, 10 Jul 2003 02:07
31 lines
2293 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Flanagan dixit:

> Hola, sabeis de algun modulo para hacer acciones con particiones como
> formatear o listar las particiones que hay en un disco etc ??
> (para windows y para linux)
> gracias de antemano.

No necesitas ning�n m�dulo, te bastar�a con parsear la salida de "cat
/proc/partitions" (s�lo en linux, claro. A saber c�mo es la API de los
discos en g�in...)

- -- 
- ----------------------------------
Iv�n S�nchez Ortega -ivansanchez-arroba-escomposlinux-punto-org

...it still remains true that as a set of cognitive beliefs about the
existence of God in any recognizable sense continuous with the great
systems of the past, religious doctrines constitute a speculative
hypothesis of an extremely low order of probability.
- - Sidney Hook

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/DMpbR56dWuhgxGgRAk6UAJ9YWjDwqlEKS2QwjAUGb2L7ziLUGQCfaVOD
hvX1mSalqKClYKVSn4PWgTQ=
=P1Ao
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <20030710020724.BCBF257.NOFFLE@BlackSpark.local>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!in.100proofnews.com!in.100proofnews.com!amsnews01.chello.com!news-hub.cableinet.net!blueyonder!marmolejo.escomposlinux.org!pinsa.escomposlinux.org!not-for-mail
References: <pan.2003.07.09.23.20.08.669042.1054@hotmail.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f86c8,f356494f7f28af3c
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-07-09 19:06:19 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!in.100proofnews.com!in.100proofnews.com!amsnews01.chello.com!news-hub.cableinet.net!blueyonder!marmolejo.escomposlinux.org!pinsa.escomposlinux.org!not-for-mail
From: Iván Sánchez Ortega <ivansanchez-@rroba-escomposlinux-.punto.-org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Acciones con particiones en python
Date: Thu, 10 Jul 2003 04:07:23 +0200
Organization: acm.asoc.fi.upm.es
Lines: 31
Message-ID: <20030710020724.BCBF257.NOFFLE@BlackSpark.local>
References: <pan.2003.07.09.23.20.08.669042.1054@hotmail.com>
Reply-To: Iván Sánchez Ortega <ivansanchez-@rroba-escomposlinux-.punto.-org>
NNTP-Posting-Host: 80.103.10.236
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8Bit
X-Trace: pinsa.escomposlinux.org 1057802777 22453 80.103.10.236 (10 Jul 2003 02:06:17 GMT)
X-Complaints-To: newsmaster@pinsa.escomposlinux.org
NNTP-Posting-Date: Thu, 10 Jul 2003 02:06:17 +0000 (UTC)
User-Agent: KNode/0.7.6