Python 3 on Android using Pydroid

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
what's going on guys in this video I want to show you how to use Python 3 on your Android device so let's go ahead and jump into the Play Store just like that and you're going to search for pie droid all right so once you find the pie droid 3 application you want to make sure it's the correct one and go ahead and install that there we go it's installing boom just like that let's open it up not interested for now alright so we have installed the application you can see it pops up this editor which is basically the home screen so before even getting into anything it's a good idea to click right here oops right here actually and you want to go ahead and see the available options so you can see we have the interpreter we have the terminal and you also have the settings so once you open up the settings you can check all the different editor options alright the tab length and then the system options it's going to show you your custom shell path among other things code analysis let's take a look at appearance you can customize it to whatever font or font size that you like and yeah basically I'm gonna go ahead and put the dark mode I usually prefer the dark theme overall all right so we have Python installed now of course we're gonna need some libraries cuz you're just gonna have to download some libraries at some point so you're gonna want to go to pip alright and here you can actually search for the library name that you're looking for on this channel we've been working with pi AES crypt a bunch lately so let's go ahead and search for that it will ask you to allow access we're gonna go ahead and do that and you're gonna notice we're missing the repository plugin so once it asks you to go ahead and get the plugin you just want to click that box and you're gonna have to install this repository as well to be able to get the additional libraries for your project so let's go ahead and install it alright it's installed let's head back into PI droid and we'll go ahead and hit install this time and yeah you can see now it's actually going through the motions downloading the required dependencies and let's just give it a second to fully download and install pi AES crypt along with its dependencies all right there you can see it just completing installing all these packages PI C parser C FF I cryptography and Pi AES script so if you are interested in different libraries you could just hit the name right here or you could simply click on search libraries or you could just hit libraries here and that would show you a lot of the different libraries available to download and play with alright so we've gone ahead we've downloaded libraries we've showed how to get that out of the way now let's finally run a program here in my last video I've made a program to basically encrypt files recursively or individual files so let's go ahead and open that program up here in our Android device I have placed it inside of the Python directory right here and yeah here it is so this is the whole program I'm not gonna go through the code I'm just gonna fire it up so we can try out PI droid alright so these are the options the program gives you and yeah let's play with it let's go ahead and try to encrypt a directory recursively so let's do a directory listing and if you are interested in what this program actually does you can check my latest video above here and you will find out so let's go inside of this voice recorder folder here and basically try to encrypt that recursively so we CD into the directory we see there's a few different files so we can do encrypt all just like that enter a password will do my password and we'll do an asterisk to encrypt all the files in that directory and there we go it's one by one encrypting all the files now it's finished fully encrypted all the files we can go ahead and do a directory listing and we can see they now have the dot a yes extension so just for the tutorials sake we'll go ahead and decrypt all of them so they're not encrypted we put the asterisk here and boom there we go decrypting one by one so that was today's short video how to use Python 3 on your Android device hope you enjoyed it and I'll see you next time
Info
Channel: CodeOnBy
Views: 249,034
Rating: undefined out of 5
Keywords: python, python3, python 3, programming, code, coding, on the go, go, ide, pydroid, pip, smartphone, galaxy, tutorial
Id: XMpLZNYbF5Q
Channel Id: undefined
Length: 6min 10sec (370 seconds)
Published: Tue Jan 07 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.