Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.lang.python > #7611 > unrolled thread

Range ciclo for

Started bySmith <smith@a-team.it>
First post2016-02-29 15:11 +0100
Last post2016-05-06 14:42 +0200
Articles 5 on this page of 25 — 10 participants

Back to article view | Back to it.comp.lang.python


Contents

  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

Page 2 of 2 — ← Prev page 1 [2]


#7647

FromMax_Adamo <maxadamo@usenet.cnntp.org>
Date2016-05-01 17:57 +0000
Message-ID<ng5g2u$akc$2@dont-email.me>
In reply to#7646
Il Sun, 01 May 2016 17:07:44 +0000, atm ha scritto:

>> Per questo alterno sublime e komodo e di tanto in tanto brackets e vim.
> 
> Io sto provando atom.io Esteticamente e' molto simile a pycharm, 

ma atom è superlight, tipo sublime. Ma non ci ho lavorato e non conosco 
bene le caratteristiche. 

-- 
Massimiliano Adamo

[toc] | [prev] | [next] | [standalone]


#7648

FromAndrea D'Amore <anddam+NOSPAM@brapi.net>
Date2016-05-06 14:40 +0200
Message-ID<ngi3bo$rb$1@virtdiesel.mng.cu.mi.it>
In reply to#7645
On 2016-04-23 15:33:40 +0000, Max_Adamo said:

> io non ci posso fare niente ma eclipse, netbeans e gli IDE di jetbrains mi
> sembrano dei catafalchi.

Sì anche se nel caso di IDEA mi sembra offrano una alternativa migliore 
degli altri due.

Dato che parlate di IDE qualcuno ha provato Ninja-IDE che è per python, 
in python?

-- 
Andrea

[toc] | [prev] | [next] | [standalone]


#7663

Fromatm <atm@fartwebnet.it>
Date2016-05-17 18:33 +0000
Message-ID<nhfo56$mdp$1@dont-email.me>
In reply to#7648
Il Fri, 06 May 2016 14:40:24 +0200, Andrea D'Amore ha scritto:

> On 2016-04-23 15:33:40 +0000, Max_Adamo said:
> 
>> io non ci posso fare niente ma eclipse, netbeans e gli IDE di jetbrains
>> mi sembrano dei catafalchi.
> 
> Sì anche se nel caso di IDEA mi sembra offrano una alternativa migliore
> degli altri due.
> 
> Dato che parlate di IDE qualcuno ha provato Ninja-IDE che è per python,
> in python?

io l'ho usato per un bel po', non e' niente male. Poi sono passato a 
pycharm, che all'epoca non conoscevo ancora.

comunque, eclipse e netbeans sono dei catafalchi, pycharm e' dedicato a 
python, non cerca di fare tutto come gli altri due (che diventano infatti 
dei mostri ingestibili)

[toc] | [prev] | [next] | [standalone]


#7641

Frompecore@pascolo.org
Date2016-04-19 00:54 +0200
Message-ID<877ffuttn6.fsf@debian.i-did-not-set--mail-host-address--so-tickle-me>
In reply to#7611
Smith <smith@a-team.it> writes:

> 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)
>

> Vorrei ottenere questo risultato:
>
> 1	lastfile
> 2	.profile
> 3	Scaricati
> 4	.ssh
> ...

from __future__ import print_function
from os import listdir
print('\n'.join('\t'.join(map(str, t)) for t in enumerate(listdir('.'))))

[toc] | [prev] | [next] | [standalone]


#7649

FromAndrea D'Amore <anddam+NOSPAM@brapi.net>
Date2016-05-06 14:42 +0200
Message-ID<ngi3fn$u2$1@virtdiesel.mng.cu.mi.it>
In reply to#7611
On 2016-02-29 14:11:45 +0000, Smith said:
> vorrei numerare il numero di file all'interno di una directory con python:
>  >>> import os
>  >>> x = os.listdir()
>  >>> for i in x:
>  >>>	print(i)

Dai, ognuno ha detto la sua vado anche io:

    from os import listdir

    x = listdir('.')
    for i in x:
        print(x.index(i), i)

-- 
Andrea

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | it.comp.lang.python


csiph-web