Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 8, 2013, 10:42 AM   #1
david shapiro
macrumors regular
 
Join Date: Dec 2012
Python to X Code

Hi,

I know how to program in Python. Would it be terribly difficult to learn X Code? Are they about the same? or extremely different?
david shapiro is offline   0 Reply With Quote
Old Mar 8, 2013, 10:44 AM   #2
macjram
macrumors 6502a
 
Join Date: Dec 2008
Quote:
Originally Posted by david shapiro View Post
Hi,

I know how to program in Python. Would it be terribly difficult to learn X Code? Are they about the same? or extremely different?
I don't think X Code is a language, do you mean C/C++?
__________________
2010 Macbook Pro, iPhone 4S
macjram is offline   0 Reply With Quote
Old Mar 8, 2013, 10:47 AM   #3
david shapiro
Thread Starter
macrumors regular
 
Join Date: Dec 2012
Yeah, I guess . I don't even know exactly what it's called. Whatever is used to program iOS and Mac OSX applications.
david shapiro is offline   0 Reply With Quote
Old Mar 8, 2013, 10:47 AM   #4
balamw
Demi-God (Moderator)
 
balamw's Avatar
 
Join Date: Aug 2005
Location: New England, USA
What's your goal?

You can run Python code on Macs and iOS devices, so what do you want to do you can't already do?

B
__________________
MBA (13" 1.7 GHz 128GB), UMBP (15" SD 2.8 GHz), UMB (13" 2.4 GHz), iMac (17" Yonah), 32GB iPad 3 WiFi+LTE, 64 GB iPad WiFi, 32 GB iPhone 5, Airport Extreme
balamw is offline   0 Reply With Quote
Old Mar 8, 2013, 10:50 AM   #5
david shapiro
Thread Starter
macrumors regular
 
Join Date: Dec 2012
I want to be able to use the program X Code. What language does X Code use?
david shapiro is offline   0 Reply With Quote
Old Mar 8, 2013, 10:52 AM   #6
balamw
Demi-God (Moderator)
 
balamw's Avatar
 
Join Date: Aug 2005
Location: New England, USA
XCode is an IDE. You can use it to develop code in many languages, including Python. http://vandadnp.wordpress.com/2012/0...ith-xcode-4-x/

Native Mac and iOS programs are usually written in Objective-C.

B
__________________
MBA (13" 1.7 GHz 128GB), UMBP (15" SD 2.8 GHz), UMB (13" 2.4 GHz), iMac (17" Yonah), 32GB iPad 3 WiFi+LTE, 64 GB iPad WiFi, 32 GB iPhone 5, Airport Extreme
balamw is offline   1 Reply With Quote
Old Mar 8, 2013, 10:52 AM   #7
david shapiro
Thread Starter
macrumors regular
 
Join Date: Dec 2012
Wait a second, I just did what smart people do.... I googled it. (I wonder if I'm smart now... probably not.) Just to make sure I have the correct info, X Code is just a program that makes it easier to program for Apple devices, but it does support most programming languages, right?

EDIT: Just saw your previous post after I posted this. Thanks!
david shapiro is offline   0 Reply With Quote
Old Mar 8, 2013, 10:55 AM   #8
Peace
macrumors P6
 
Peace's Avatar
 
Join Date: Apr 2005
Location: Space--The ONLY Frontier
Isn't Python still a command line compiler ?

Xcode uses extensive Objective C so I'd start there. It too is a compiler. Only Xcode has modules you can use to make an app. Learning Xcode is something that takes as much from you as you put in.

Are egg drop bots still written using Python ?
Peace is offline   0 Reply With Quote
Old Mar 8, 2013, 10:57 AM   #9
david shapiro
Thread Starter
macrumors regular
 
Join Date: Dec 2012
Quote:
Originally Posted by Peace View Post
Xcode uses extensive Objective C so I'd start there.
Would it be better to start by learning Objective C? Or will Python suit my needs?
david shapiro is offline   0 Reply With Quote
Old Mar 8, 2013, 11:03 AM   #10
Peace
macrumors P6
 
Peace's Avatar
 
Join Date: Apr 2005
Location: Space--The ONLY Frontier
It really depends on what you are writing.

If you are looking to compile for IOS or Mac OS you will need some Objective-C and perhaps C/C++.

You really can't do a lot with Python since it doesn't do GUI I don't think.
Peace is offline   0 Reply With Quote
Old Mar 8, 2013, 11:09 AM   #11
balamw
Demi-God (Moderator)
 
balamw's Avatar
 
Join Date: Aug 2005
Location: New England, USA
You can actually build GUI programs using Cocoa with Python.

http://stackoverflow.com/questions/861188/what-gui-options-are-available-for-python-on-mac-os-x

B
balamw is offline   0 Reply With Quote
Old Mar 8, 2013, 11:13 AM   #12
Peace
macrumors P6
 
Peace's Avatar
 
Join Date: Apr 2005
Location: Space--The ONLY Frontier
Quote:
Originally Posted by balamw View Post
You can actually build GUI programs using Cocoa with Python.

http://stackoverflow.com/questions/8...on-on-mac-os-x

B
Cool. I didn't know that. I've been away from Python for years.
Peace is offline   0 Reply With Quote
Old Mar 8, 2013, 11:15 AM   #13
david shapiro
Thread Starter
macrumors regular
 
Join Date: Dec 2012
Ok, thanks for all your help guys!
david shapiro is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:22 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC