Sinisterly
Python - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Python (https://sinister.ly/Forum-Python)
+--- Thread: Python (/Thread-Python--44906)



Python - LightX - 11-22-2012

Hey HackCommunity, I was thinking about maybe learning python, but I dont know ANYTHING about it. My first question: Can I program mac applications on it? And also, Would you guys recommend me to start learning python for my mac?


RE: Python - chmod - 11-22-2012

Python can be used on any OS as long as the language is installed on the machine and is also a very good starting language


RE: Python - LightX - 11-22-2012

(11-22-2012, 09:39 PM)chmod Wrote: Python can be used on any OS as long as the language is installed on the machine and is also a very good starting language

Okay, cool! I think I am going to sart learning this. Smile


RE: Python - DaPaus - 11-22-2012

Python is a very powerfull language. If I'm not mistaken is a big piece of Battlefield an Civilization coded in Python. And the language is not that hard.


RE: Python - LightX - 11-22-2012

(11-22-2012, 10:15 PM)Dapaus Wrote: Python is a very powerfull language. If I'm not mistaken is a big piece of Battlefield an Civilization coded in Python. And the language is not that hard.

:o I didn't know that. Is it possible to save the file as anything except a .py? because in this case, the computer has to have python on it in order to run it.


RE: Python - Deque - 11-24-2012

(11-22-2012, 10:57 PM)LightX Wrote:
(11-22-2012, 10:15 PM)Dapaus Wrote: Python is a very powerfull language. If I'm not mistaken is a big piece of Battlefield an Civilization coded in Python. And the language is not that hard.

:o I didn't know that. Is it possible to save the file as anything except a .py? because in this case, the computer has to have python on it in order to run it.

This will help you for .exe:
http://www.logix4u.net/component/content/article/27-tutorials/44-how-to-create-windows-executable-exe-from-python-script

If you use Jython (a Java implementation of Python) you can also create a runnable .jar file.
Info here: http://wiki.python.org/jython/JythonFaq/DistributingJythonScripts

However, if you intend to create .exe files all the way you should consider learning a compiled language (i.e. C, C++) instead of Python.


RE: Python - LightX - 11-24-2012

(11-24-2012, 10:40 AM)Deque Wrote:
(11-22-2012, 10:57 PM)LightX Wrote:
(11-22-2012, 10:15 PM)Dapaus Wrote: Python is a very powerfull language. If I'm not mistaken is a big piece of Battlefield an Civilization coded in Python. And the language is not that hard.

:o I didn't know that. Is it possible to save the file as anything except a .py? because in this case, the computer has to have python on it in order to run it.

This will help you for .exe:
http://www.logix4u.net/component/content/article/27-tutorials/44-how-to-create-windows-executable-exe-from-python-script

If you use Jython (a Java implementation of Python) you can also create a runnable .jar file.
Info here: http://wiki.python.org/jython/JythonFaq/DistributingJythonScripts

However, if you intend to create .exe files all the way you should consider learning a compiled language (i.e. C, C++) instead of Python.

Okay, thank you very much kind sir! Smile


RE: Python - IDetox - 02-25-2013

Nice thread- Also started to learn Python. Mighty program!


RE: Python - Pain - 02-28-2013

Well you can also start with learnpythonthehardway.org .


RE: Python - Ex094 - 02-28-2013

(02-28-2013, 12:59 AM)Pain Wrote: Well you can also start with learnpythonthehardway.org .
Good Link, That site is nice for starters and you can always search google. There are lots of websites which have python tutorials, You can start from here too http://www.learnpython.org/