Now,
I'm going to look at the...
a Jet Brains IDE as well.
Let me just close this, there.
So, the same thing goes for Pycharm or any other Jet Brains
IDE that you've downloaded. You're going to get a compressed archived file and
you're going to extract it and you're going to get a directory as a result.
This is pycharm in a version number.
So, go in to the IDE's directory and into the bin directory,
And open this Terminal.
Now, this is Pycharm, so I'm going to run
the Pycharm.sh file.
If it was webstorm, there will be a file here called webstorm.sh
and it's pretty self explanatory.
So, adapt this to whatever IDE you've downloaded and are using, if any.
So, to get started, I'm going to run sh in the current directory
pycharm.sh
And we wait.
Now, the first time you launch Pycharm in this way,
You're going to be prompted to create desktop file and mime type associations.
So, a desktop file
is basically,
a launcher
in Linux and these allows you to launch it through,
the dashboard overview or whatever
you're using. If you have
a menu,
to launch apps from,
It's going to create our trees in there.
Now, getting started with Pycharm, everytime you launch it, you're going
to see a list of projects on the left hand side and I'm just gonna
create a new project.
which is going to be pure Python
and I'm going to name it...
Pi.
And it's going to scan all files in the project, which right now,
there shouldn't be many. There should just be one
Python file, I believe.
So, again at the left hand side you've got your project explorer.
It does actually create a file, So
let's go ahead and create
locked up here.
There we go.
So, you can right click on a directory and go to New.
And create a new file
within that directory.
And I'm going to call this main.
That should be good right there.
And it's going to be really simple, it's just going to
what's this here?
Yes, let's accept that.
Let's print "Hello world"
Now, the great thing about having an IDE is,
if I were just using text editor
for this. I would code it all in text editor.
And I'd go and open up command line and then I'll navigate to my main file and
I'd run it to command, and the great thing about
an IDE is you can actually run it
from the IDE itself.
And as you can see here is the output,
of the application.
And it tells you what? Exit code, it exit first. And an IDE is very
full featured in this way that
basically,
for most of the stuff you need to do while developing, in can be done from
right within the IDE.
And so that was a few of the options that you have for IDEs on Linux.
There are
a few. So, explore that if you want to.
And in the next video, we're going to be talking about Git.
It's going to be mostly command line. But I'm going to come back to Pycharm
in the next video.