On Saturday, April 16, 2016 at 5:31:39 PM UTC+8, Michael Selik wrote:
> On Sat, Apr 16, 2016, 9:41 AM durgadevi1 <
> srirajarajeswaridevikr...@gmail.com> wrote:
>
> > what does dynamic inputs mean and how is it implemented in python
> > programming?
> >
>
&g
Hi guys,
what does dynamic inputs mean and how is it implemented in python programming?
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, April 15, 2016 at 8:13:17 PM UTC+8, durgadevi1 wrote:
> Hello all,
>
> I have another homework problem.
>
> I have a textfile. It contains lines of string.
>
> I am required to only print out a certain part of the string.
>
> For example the textfile co
Hello all,
I have another homework problem.
I have a textfile. It contains lines of string.
I am required to only print out a certain part of the string.
For example the textfile contain:
ABC X N
BCD Q E
ABC W A
I need to print all the parts that come after only ABC.
On Wednesday, April 13, 2016 at 9:18:37 PM UTC+8, durgadevi1 wrote:
> Hi all,
>
> I have a doubt regarding a problem.
>
> First, I am required to read a given file.
>
>
> The output from the file is given below:
>
> b'$//W?\xc0\x829\xa2\xb9\x13\x8c\
>
> This looks clearer:
>
>>>> code = b'a0\xed\xf0Z\x15]g^\xce3x'
>>>> key = b')U\x81\x9c55*\x08,\xa2WY'
>>>> bytes(c ^ k for c, k in zip(code, key)).decode()
>'Hello world!'
>
>
> Marko
Hi, I have gotten another error message when working with the bytes(c ^ k for
c, k in zip
On Wednesday, April 13, 2016 at 9:18:37 PM UTC+8, durgadevi1 wrote:
> Hi all,
>
> I have a doubt regarding a problem.
>
> First, I am required to read a given file.
>
>
> The output from the file is given below:
>
> b'$//W?\xc0\x829\xa2\xb9\x13\x8c\
On Wednesday, April 13, 2016 at 9:29:45 PM UTC+8, Chris Angelico wrote:
> On Wed, Apr 13, 2016 at 11:18 PM, durgadevi1
> wrote:
> >
> > The output from the file is given below:
> >
> > b'$//W?\xc0\x829\xa2\xb9\x13\x8c\xd5{\'
> >
> >
> > I
Hi all,
I have a doubt regarding a problem.
First, I am required to read a given file.
The output from the file is given below:
b'$//W?\xc0\x829\xa2\xb9\x13\x8c\xd5{\'
I used the type() to identify the class and its a byte class.
I saw many \x and thought it might be hex.
So, I used bina