Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 495 Vote(s) - 3.57 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python Beginners Tutorial | 3 |

#1
[Image: attachment-0001.png]
[Image: tqpbe.png]

Hello, and welcome AF,

Sorry for not been posting that much as i maybe told :wink:

Have been some things at school and etc, but now im back :blackhat:

So, today well be covering a few more things related to lists and much more so lets begin.


Last time we created a list right? with the simple command:

listname = [1,4,5,6,7,8,9,10]


And we went through how it counts, it starts at 0 not at 1.

And today, i will show you a new one called a 'Tuple' a tuple is basically the same thing as a list, the only difference is that you cant do a s'it with the tuples, the only thing you can use them for is to call the values back, so how do we create a tuple? Well, its fairly easy:

slu=(5,376,65,267,984)


And then we have our tuple, how do you recall the command? Well with the same as with the lists:

slu[2]

Will give back 65. So, what can you use these for? Maybe a game were the different damage values are saved in a tuple and printed out when the "slu[2]" command is executed? I dont know :wink: Since you cant change in the "tuple", so there arent that many things you can use them for, well that's my opinion.

Anyways, lets move on.

A few commands you can use for your lists:


Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Will give you the lenght of the list.


Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Will give you the biggest number in the list.


Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


I think you know what is means :wink:

And then one of the more useful commands, the 'list'

its used like this:


Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


It will then make a list of the word string or whatever you entered, please try it in the Shell :smile:

Im sorry this isn't maybe the best and most good-looking tutorial so far, but ive thought about one thing, and i think i will start with making video tutorials instead of writing them down, since it doesnt take that alot of time to just render and explain than it takes to write things down, if some of you dont like it or want me to do another way, please let me know.

And ofc i will let you have the codes for every episode, so you wont miss anything :wink:

Well, so i think thats everything for today. Please check out my next thread, I will be posting some, maybe great stuff for some of you on that one.

To the next meet, please have a good time! :blackhat:
Reply

#2
great tutorial, but you have to use / on the apposing code bb codes

example

[code]
[ / code] - remove the spaces
Reply

#3
Well, I don't currently have that time man, but it would be awesome if you could do that
Reply

#4
You should include how to run your scripts on Linux and how to
edit them. If you don't have access to Linux then I may cover it
soon enough as it's pretty basic stuff.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through