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
DShap5
macrumors 6502a
 
DShap5's Avatar
 
Join Date: Dec 2012
Location: California
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?
DShap5 is online now   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
DShap5
Thread Starter
macrumors 6502a
 
DShap5's Avatar
 
Join Date: Dec 2012
Location: California
Yeah, I guess . I don't even know exactly what it's called. Whatever is used to program iOS and Mac OSX applications.
DShap5 is online now   0 Reply With Quote
Old Mar 8, 2013, 10:47 AM   #4
balamw
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
DShap5
Thread Starter
macrumors 6502a
 
DShap5's Avatar
 
Join Date: Dec 2012
Location: California
I want to be able to use the program X Code. What language does X Code use?
DShap5 is online now   0 Reply With Quote
Old Mar 8, 2013, 10:52 AM   #6
balamw
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
DShap5
Thread Starter
macrumors 6502a
 
DShap5's Avatar
 
Join Date: Dec 2012
Location: California
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!
DShap5 is online now   0 Reply With Quote
Old Mar 8, 2013, 10:55 AM   #8
Peace
macrumors P6
 
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
DShap5
Thread Starter
macrumors 6502a
 
DShap5's Avatar
 
Join Date: Dec 2012
Location: California
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?
DShap5 is online now   0 Reply With Quote
Old Mar 8, 2013, 11:03 AM   #10
Peace
macrumors P6
 
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
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
 
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
DShap5
Thread Starter
macrumors 6502a
 
DShap5's Avatar
 
Join Date: Dec 2012
Location: California
Ok, thanks for all your help guys!
DShap5 is online now   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

Similar Threads
thread Thread Starter Forum Replies Last Post
Library for simple Face and QR Code/Bar Code/Etc detection DarthFoley iPhone/iPad Programming 0 Jan 26, 2014 12:11 PM
Python and NLTK GeoffWillis Mac Programming 2 Feb 15, 2013 11:59 PM
Printing with Python lpeedin Mac Programming 1 Oct 20, 2012 03:44 PM
Python 3.2.3 dboxall123 Mac Programming 4 Sep 27, 2012 10:53 AM

Forum Jump

All times are GMT -5. The time now is 01:34 AM.

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

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC