Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.python > #7611
| Path | csiph.com!2.eu.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!storethat.news.telefonica.de!feedme.news.telefonica.de!telefonica.de!diesel.cu.mi.it!bofh.it!tornado.fastwebnet.it!53ab2750!not-for-mail |
|---|---|
| Newsgroups | it.comp.lang.python |
| X-Mozilla-News-Host | news://news.fastwebnet.it:119 |
| From | Smith <smith@a-team.it> |
| Subject | Range ciclo for |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-15; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Lines | 42 |
| Message-ID | <AkYAy.41793$pt.7627@tornado.fastwebnet.it> (permalink) |
| Date | Mon, 29 Feb 2016 15:11:45 +0100 |
| NNTP-Posting-Host | 213.140.2.6 |
| X-Complaints-To | newsmaster@fastweb.it |
| X-Trace | tornado.fastwebnet.it 1456755104 213.140.2.6 (Mon, 29 Feb 2016 15:11:44 CET) |
| NNTP-Posting-Date | Mon, 29 Feb 2016 15:11:44 CET |
| Xref | csiph.com it.comp.lang.python:7611 |
Show key headers only | View raw
Ciao a tutti, vorrei numerare il numero di file all'interno di una directory con python: >>> import os >>> x = os.listdir() >>> for i in x: >>> print(i) lastfile .profile Scaricati .ssh .python_history master.zip __pycache__ .adobe .macromedia .pip .bash_aliases Modelli .gconf .Xauthority Vorrei ottenere questo risultato: 1 lastfile 2 .profile 3 Scaricati 4 .ssh 5 .python_history 6 master.zip 7 __pycache__ 8 .adobe 9 .macromedia 10 .pip 11 .bash_aliases 12 Modelli 13 .gconf 14 .Xauthority Mi potete aiutare? Grazie
Back to it.comp.lang.python | Previous | Next — Next in thread | Find similar
Range ciclo for Smith <smith@a-team.it> - 2016-02-29 15:11 +0100
Re: Range ciclo for Antonio 6sette <hindemit@tiscali.it> - 2016-02-29 16:56 +0000
Re: Range ciclo for Enrico Bianchi <enrico.bianchi@ymail.com> - 2016-02-29 17:11 +0000
Re: Range ciclo for Smith <smith@a-team.it> - 2016-03-01 09:18 +0100
Re: Range ciclo for Max_Adamo <maxadamo@usenet.cnntp.org> - 2016-03-08 22:20 +0000
Re: Range ciclo for Nando <nan@nan.nan> - 2016-03-09 20:46 +0100
Re: Range ciclo for Max_Adamo <maxadamo@usenet.cnntp.org> - 2016-03-09 21:45 +0000
Re: Range ciclo for boffi <boffi@debian.i-did-not-set--mail-host-address--so-tickle-me> - 2016-03-16 22:46 +0100
Re: Range ciclo for Enrico Bianchi <enrico.bianchi@ymail.com> - 2016-03-24 23:14 +0000
Re: Range ciclo for Max_Adamo <maxadamo@usenet.cnntp.org> - 2016-03-26 09:10 +0000
Re: Range ciclo for Enrico Bianchi <enrico.bianchi@ymail.com> - 2016-03-26 13:55 +0000
Re: Range ciclo for Max_Adamo <maxadamo@usenet.cnntp.org> - 2016-03-26 17:09 +0000
Re: Range ciclo for Enrico Bianchi <enrico.bianchi@ymail.com> - 2016-03-29 22:21 +0000
Re: Range ciclo for Max_Adamo <maxadamo@usenet.cnntp.org> - 2016-04-02 06:48 +0000
Re: Range ciclo for Max_Adamo <maxadamo@usenet.cnntp.org> - 2016-04-02 06:59 +0000
Re: Range ciclo for atm <atm@fartwebnet.it> - 2016-04-10 13:12 +0000
Re: Range ciclo for Termoregolato <waste@is.invalid> - 2016-04-12 20:11 +0200
Re: Range ciclo for atm <atm@fartwebnet.it> - 2016-04-19 19:17 +0000
Re: Range ciclo for Max_Adamo <maxadamo@usenet.cnntp.org> - 2016-04-23 15:33 +0000
Re: Range ciclo for atm <atm@fartwebnet.it> - 2016-05-01 17:07 +0000
Re: Range ciclo for Max_Adamo <maxadamo@usenet.cnntp.org> - 2016-05-01 17:57 +0000
Re: Range ciclo for Andrea D'Amore <anddam+NOSPAM@brapi.net> - 2016-05-06 14:40 +0200
Re: Range ciclo for atm <atm@fartwebnet.it> - 2016-05-17 18:33 +0000
Re: Range ciclo for pecore@pascolo.org - 2016-04-19 00:54 +0200
Re: Range ciclo for Andrea D'Amore <anddam+NOSPAM@brapi.net> - 2016-05-06 14:42 +0200
csiph-web