On 08/10/2013 09:13, markot...@gmail.com wrote:
esmaspäev, 7. oktoober 2013 17:16.29 UTC+3 kirjutas Mark Lawrence:
On 07/10/2013 14:54, markot...@gmail.com wrote:
I forgot to tell. The teisendaja module that i have imported, is a number
converter that allow to convert numbers from one base to
esmaspäev, 7. oktoober 2013 17:16.29 UTC+3 kirjutas Mark Lawrence:
> On 07/10/2013 14:54, markot...@gmail.com wrote:
>
> > I forgot to tell. The teisendaja module that i have imported, is a number
> > converter that allow to convert numbers from one base to another. i mostly
> > use it for HEX t
esmaspäev, 7. oktoober 2013 18:52.21 UTC+3 kirjutas Piet van Oostrum:
> markot...@gmail.com writes:
>
>
>
> > This is the code i came up with:
>
> > from teisendaja import *
>
> > from operator import *
>
> > import binascii
>
> >
>
> > teisendus = teisendus()
>
> > kood = input("Kood: ")
markot...@gmail.com writes:
> This is the code i came up with:
> from teisendaja import *
> from operator import *
> import binascii
>
> teisendus = teisendus()
> kood = input("Kood: ")
> key = input("Võti: ")
>
> chunksize = 2
> vastus = [teisendus.teisendus3(16,2,kood[i: (i + chunksize)]) for i
On 07/10/2013 14:54, markot...@gmail.com wrote:
I forgot to tell. The teisendaja module that i have imported, is a number
converter that allow to convert numbers from one base to another. i mostly use
it for HEX to BIN and vice versa, but it supports other bases too.
That's nice to know, but
I forgot to tell. The teisendaja module that i have imported, is a number
converter that allow to convert numbers from one base to another. i mostly use
it for HEX to BIN and vice versa, but it supports other bases too.
--
https://mail.python.org/mailman/listinfo/python-list
esmaspäev, 7. oktoober 2013 4:27.44 UTC+3 kirjutas Piet van Oostrum:
> markot...@gmail.com writes:
>
>
>
> > problem is : Traceback (most recent call last):
>
> > File "C:\Users\Marko\Desktop\hacker.org\XOR cypher.py", line 35, in
> >
>
> > print("Key-" + str(võti) + ": " + str("".j
markot...@gmail.com writes:
> problem is : Traceback (most recent call last):
> File "C:\Users\Marko\Desktop\hacker.org\XOR cypher.py", line 35, in
>
> print("Key-" + str(võti) + ": " + str("".join(tulemus2)))
> TypeError: sequence item 0: expected str instance, bytes found
>
> If i
On 06/10/2013 20:07, markot...@gmail.com wrote:
problem is : Traceback (most recent call last):
File "C:\Users\Marko\Desktop\hacker.org\XOR cypher.py", line 35, in
print("Key-" + str(võti) + ": " + str("".join(tulemus2)))
TypeError: sequence item 0: expected str instance, bytes found
markot...@gmail.com wrote:
> problem is : Traceback (most recent call last):
> File "C:\Users\Marko\Desktop\hacker.org\XOR cypher.py", line 35, in
>
> print("Key-" + str(võti) + ": " + str("".join(tulemus2)))
> TypeError: sequence item 0: expected str instance, bytes found
>
> If i tak
problem is : Traceback (most recent call last):
File "C:\Users\Marko\Desktop\hacker.org\XOR cypher.py", line 35, in
print("Key-" + str(võti) + ": " + str("".join(tulemus2)))
TypeError: sequence item 0: expected str instance, bytes found
If i take away the join command i get this:
Key
11 matches
Mail list logo