1
00:00:01,620 --> 00:00:07,350
OK, in this video, we want to turn our new program into a sort of stand alone file, a stand alone

2
00:00:07,350 --> 00:00:11,850
program that you can share with friends or whatever, any file.

3
00:00:12,000 --> 00:00:18,180
So this is a method that I use for basic Kintyre programs to turn them into executable files.

4
00:00:18,420 --> 00:00:21,830
You can't really use it so well with more complicated programs.

5
00:00:21,990 --> 00:00:25,630
But this program we just created was a fairly simple program, so it should work.

6
00:00:25,650 --> 00:00:32,730
OK, so this should work with Windows, Linux and Mac, but sometimes people on Linux and Mac have a

7
00:00:32,730 --> 00:00:33,690
little bit of trouble with it.

8
00:00:33,840 --> 00:00:38,820
If you run into trouble, you can email me or send me a message, or you could just Google any errors

9
00:00:38,820 --> 00:00:39,270
you get.

10
00:00:39,480 --> 00:00:43,370
Even sometimes people with Windows computers have trouble using this.

11
00:00:43,380 --> 00:00:46,770
It's a little finicky, but I think for this program it should work.

12
00:00:46,800 --> 00:00:50,670
OK, so let's head over to our terminal and we're going to see patent directory as always.

13
00:00:51,480 --> 00:00:56,670
And we need to install this little program that will create our X file for us.

14
00:00:56,910 --> 00:01:04,050
And the X Files are historically what Windows programs come as you know, almost any program on your

15
00:01:04,050 --> 00:01:06,750
computer, especially Windows Computer, will come as an Excel file.

16
00:01:06,750 --> 00:01:07,000
Right.

17
00:01:07,030 --> 00:01:12,880
So we need to change this into an Excel file or paint that pie and to paint that right.

18
00:01:13,110 --> 00:01:15,440
So to do that, we need to install something.

19
00:01:15,450 --> 00:01:17,370
So let's go PPIF install.

20
00:01:17,460 --> 00:01:19,620
And this is called Pie and Installer.

21
00:01:20,880 --> 00:01:21,360
And we go.

22
00:01:22,710 --> 00:01:28,860
It's Y installer two L's, and I've already got it, so it's already installed on my computer, but

23
00:01:28,860 --> 00:01:33,960
it'll go through a little process of downloading it and installing it on your computer for you.

24
00:01:34,350 --> 00:01:34,680
All right.

25
00:01:34,680 --> 00:01:35,660
So let's clear the screen.

26
00:01:35,670 --> 00:01:41,280
So now, in order to use this, we just call PPI installer EXI and we need to pass it.

27
00:01:41,280 --> 00:01:41,940
A couple of things.

28
00:01:41,940 --> 00:01:43,050
We want to make one file.

29
00:01:43,050 --> 00:01:50,120
So we put dash, dash one file and then we also need to push, dash, dash windowed.

30
00:01:51,510 --> 00:01:56,730
If you leave this off a little black box or a little black like dos box will pop up every time you run

31
00:01:56,730 --> 00:01:58,270
your program and you don't want that.

32
00:01:59,130 --> 00:02:02,270
And then finally, we just need to tell it what file to turn into an attack.

33
00:02:02,490 --> 00:02:06,330
And then in the name of our file is paint that pie.

34
00:02:07,420 --> 00:02:13,390
So will go through and do its thing, and it might take a minute or so or just sort of sit here and

35
00:02:13,390 --> 00:02:17,200
wait and it's doing a bunch of stuff, I have no idea what it's doing.

36
00:02:17,590 --> 00:02:22,930
Looks like it's packaging in Python, putting some things in.

37
00:02:26,380 --> 00:02:27,640
Building some stuff.

38
00:02:27,920 --> 00:02:28,450
All right.

39
00:02:29,730 --> 00:02:35,330
And now this will create a whole bunch of files and folders and we'll look at all these in just a second,

40
00:02:35,340 --> 00:02:37,810
so it looks like it's completed successfully.

41
00:02:37,830 --> 00:02:42,510
So now I'm going to open up a file box here, just a Windows file explorer.

42
00:02:42,720 --> 00:02:44,790
And we're in our C paint directory.

43
00:02:45,090 --> 00:02:49,560
And you'll notice before all we had was this paint, that py file and this image is directory.

44
00:02:49,860 --> 00:02:52,280
Now we have all of this other stuff.

45
00:02:52,290 --> 00:02:57,270
So if you look in here, there's something if we look at our build paint.

46
00:02:58,380 --> 00:03:02,370
A whole bunch of stuff like we don't really know or care what any of this stuff is.

47
00:03:03,320 --> 00:03:09,740
If you go to the desert here, you see your paint dot file and this is now the file, if we double click

48
00:03:09,740 --> 00:03:16,340
this, our program starts and we can draw some stuff, can change this.

49
00:03:17,740 --> 00:03:21,160
Change the canvas, color, whatever, do all the things.

50
00:03:22,550 --> 00:03:23,880
Saved a pig.

51
00:03:24,260 --> 00:03:28,250
And it will save it to our or same directory again here, because that's what our code does.

52
00:03:28,640 --> 00:03:31,340
And let's just put we don't have to save it.

53
00:03:31,580 --> 00:03:36,140
This is a horrible picture, but you get the idea and now you've got this high tech file and you can

54
00:03:36,140 --> 00:03:43,520
copy this and, you know, send it put it up on a website that people can download or stick it on a

55
00:03:43,520 --> 00:03:45,380
thumb drive and give it to your friends.

56
00:03:45,380 --> 00:03:48,800
Or usually Gmail doesn't let you email X Files.

57
00:03:48,800 --> 00:03:49,940
And it's not a Kintner thing.

58
00:03:49,940 --> 00:03:55,730
They don't let you email any kind of executable files in Gmail, but you can probably upload it to Dropbox

59
00:03:55,730 --> 00:04:00,620
and share a link with friends or something like that if you wanted to share this or whatever, and you're

60
00:04:00,620 --> 00:04:01,200
good to go.

61
00:04:01,340 --> 00:04:04,150
So that's a quick and easy way to make an Excel file.

62
00:04:04,280 --> 00:04:11,030
Like I said, this is notoriously finicky and if it doesn't work for you, maybe Google, if you get

63
00:04:11,030 --> 00:04:13,730
an error or something, Google that or you can shoot me a message.

64
00:04:14,210 --> 00:04:18,650
But really don't get your hopes up too much because a lot of people have a lot of problems with this.

65
00:04:18,890 --> 00:04:25,190
Creating X Files that are really reliable is really difficult, and it would take an entire course just

66
00:04:25,190 --> 00:04:25,760
to teach that.

67
00:04:25,760 --> 00:04:27,410
And obviously we're not going to do that here.

68
00:04:27,590 --> 00:04:32,850
But this is a really quick and easy way for probably 90 percent of you should be able to use maybe more,

69
00:04:32,870 --> 00:04:35,480
maybe all of you, because this is a very simple program we've created.

70
00:04:35,750 --> 00:04:39,080
There's not a lot of images or bells or whistles that we have to include.

71
00:04:39,290 --> 00:04:40,980
So it might just work for you.

72
00:04:41,000 --> 00:04:47,210
So, yeah, that's how you make a quick and dirty file, and I think that's all.

73
00:04:47,840 --> 00:04:50,180
And so that's all for this video in the next video.

74
00:04:50,180 --> 00:04:52,010
Will say a few things and wrap this up.
