Home Download Buy Blog Forum Support

Python

Python

Postby Navery on Wed Sep 01, 2010 2:23 pm

Hello all!

I am about to take a class on Python this coming fall semester and I was very interested in using sublime as my portable python tool. I am looking at the console and trying to work with it but I had some issues and was wondering. If I create a py file can I execute the file from the console? If so how can I go about this as I could see this being a big boost for me!

Oh and let me just say I LOVE SUBLIME! It ROCKS!

Thanks,

Navery
Navery
 
Posts: 4
Joined: Wed Sep 01, 2010 2:20 pm

Re: Python

Postby Navery on Wed Sep 01, 2010 2:36 pm

Or do I just need to install Python then run the build command? I think that is more what I am looking for :|
Navery
 
Posts: 4
Joined: Wed Sep 01, 2010 2:20 pm

Re: Python

Postby guillermooo on Wed Sep 01, 2010 3:03 pm

Yes and no.

If you create a plugin, you can indeed run the code from Sublime's console and interact with Sublime's API. That's the console's intended purpose.

If you just want to code a python program in general, you'd use the build command to run it off your system's python (which you need to install separately). If you were creating an Erlang program, you'd be launching the Erlang compiler, etc. You just happen to be coding in Python, but that's an accident; nothing to do with Sublime.

Hope that helps!
guillermooo
 
Posts: 728
Joined: Thu Jul 23, 2009 9:06 am

Re: Python

Postby Navery on Thu Sep 02, 2010 6:06 pm

Ok that makes sense! Cannot wait to start class now :) !
Navery
 
Posts: 4
Joined: Wed Sep 01, 2010 2:20 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 23 guests