Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Get hold of portable property. -- Charles Dickens, "Great Expectations"


devel / comp.lang.python / basic question on loop & type casting / list/str/array

SubjectAuthor
* basic question on loop & type casting / list/str/arrayKiran Kumar
`* Re: basic question on loop & type casting / list/str/arrayPython
 `- Certification in PYTHONBhavesh Kunar

1
basic question on loop & type casting / list/str/array

<905c5b05-b97d-40cf-abec-d008d65e161en@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17520&group=comp.lang.python#17520

  copy link   Newsgroups: comp.lang.python
X-Received: by 2002:ad4:5de9:0:b0:435:4fdb:5c46 with SMTP id jn9-20020ad45de9000000b004354fdb5c46mr24334376qvb.125.1647392987939;
Tue, 15 Mar 2022 18:09:47 -0700 (PDT)
X-Received: by 2002:a05:6214:2627:b0:435:42bf:f2f9 with SMTP id
gv7-20020a056214262700b0043542bff2f9mr23076044qvb.36.1647392987662; Tue, 15
Mar 2022 18:09:47 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.python
Date: Tue, 15 Mar 2022 18:09:47 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2601:648:8100:82e0:545:235c:ea43:c564;
posting-account=HGnobgoAAADZQc0kUkr7ALKzqC9Xhh1M
NNTP-Posting-Host: 2601:648:8100:82e0:545:235c:ea43:c564
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <905c5b05-b97d-40cf-abec-d008d65e161en@googlegroups.com>
Subject: basic question on loop & type casting / list/str/array
From: esxi1...@gmail.com (Kiran Kumar)
Injection-Date: Wed, 16 Mar 2022 01:09:47 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 56
 by: Kiran Kumar - Wed, 16 Mar 2022 01:09 UTC

Hi.

Pls check on below poython 3.9.x code & suggest how can i keep the string intactst in 2nd loop... ? these are aws ec2 ids

>>> INSTANCE_ID = ['i-0dccf1ede229ce1','i-0285506fee62051']

>>> for i in INSTANCE_ID:
.... print (i)
....
i-0dccf1ede229ce1
i-0285506fee62051
>>>
>>>
>>>
>>> for i in INSTANCE_ID:
.... for j in i:
.... print (j)
....
i -
0 d
c c
f 1
e d
e 2
2 9
c e
1 i
- 0
2 8
5 5
0 6
f e
e 6
2 0
5 1
>>>

Thanks
Kiran

Re: basic question on loop & type casting / list/str/array

<t0rif2$jv6$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17521&group=comp.lang.python#17521

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!aioe.org!7a25jG6pUKCqa0zKnKnvdg.user.46.165.242.75.POSTED!not-for-mail
From: pyt...@example.invalid (Python)
Newsgroups: comp.lang.python
Subject: Re: basic question on loop & type casting / list/str/array
Date: Wed, 16 Mar 2022 03:36:17 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t0rif2$jv6$1@gioia.aioe.org>
References: <905c5b05-b97d-40cf-abec-d008d65e161en@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="20454"; posting-host="7a25jG6pUKCqa0zKnKnvdg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:91.0)
Gecko/20100101 Thunderbird/91.7.0
Content-Language: fr
X-Notice: Filtered by postfilter v. 0.9.2
 by: Python - Wed, 16 Mar 2022 02:36 UTC

Kiran Kumar wrote:
> Hi.
>
> Pls check on below poython 3.9.x code & suggest how can i keep the string intactst in 2nd loop... ? these are aws ec2 ids

Don't loop through it then.

Certification in PYTHON

<aa6f2aa1-f0e8-4ff1-8814-f792482daa40n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17527&group=comp.lang.python#17527

  copy link   Newsgroups: comp.lang.python
X-Received: by 2002:a05:620a:244f:b0:67d:ccec:3eaa with SMTP id h15-20020a05620a244f00b0067dccec3eaamr8909164qkn.744.1647408771138;
Tue, 15 Mar 2022 22:32:51 -0700 (PDT)
X-Received: by 2002:ac8:4e94:0:b0:2e1:a81a:6022 with SMTP id
20-20020ac84e94000000b002e1a81a6022mr24203288qtp.332.1647408770979; Tue, 15
Mar 2022 22:32:50 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.python
Date: Tue, 15 Mar 2022 22:32:50 -0700 (PDT)
In-Reply-To: <t0rif2$jv6$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=183.82.119.180; posting-account=krDOfgoAAACPRuGkCcQsTfFxwLsD6InU
NNTP-Posting-Host: 183.82.119.180
References: <905c5b05-b97d-40cf-abec-d008d65e161en@googlegroups.com> <t0rif2$jv6$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <aa6f2aa1-f0e8-4ff1-8814-f792482daa40n@googlegroups.com>
Subject: Certification in PYTHON
From: bhav...@techlearn.live (Bhavesh Kunar)
Injection-Date: Wed, 16 Mar 2022 05:32:51 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 10
 by: Bhavesh Kunar - Wed, 16 Mar 2022 05:32 UTC

I’d suggest you to look up : TechLearn's Course This is their awesome free course
to learn Python online. It teaches you programming concepts right from the basics of
Python.
Here is the link to join the course: https://www.techlearn.live/course/python-programming-for-beginners?utm_source=GoogleGroups&utm_medium=Organic+Social&utm_campaign=GG16.03.2022
The course also provides a lot of exercise problems, programming lectures, Practice Notebooks for
Python Training Courses with Certification and everything are free of cost.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor