Xcode (and Python)

Message Bookmarked
Bookmark Removed
Hey kidz,

Do any of you know any good resources for integrating Python and Xcode? I've seen a couple of things centred around PyObjC, but this is not really what I want–I'm just after using Xcode as a Python IDE.

steal compass, drive north, disappear (tissp), Tuesday, 25 April 2006 10:32 (seventeen years ago) link

Ah! So it appears that Xcode does support Python natively, in that it recognises .py extensions and can do syntax highlighting, but currently I can't get any code completion stuff (probably need to set library locations?) and I'm not sure about working with python projects in the project viewer.

steal compass, drive north, disappear (tissp), Tuesday, 25 April 2006 11:18 (seventeen years ago) link

I've never seen a working code completer for a language like python. It's a very hard problem for that class of language. Since it's a dynamic language, an autocompleting editor would need a running system to inspect for the general case.

My guess is that the Xcode project management stuff also wouldn't be relevent to Python, and I bet the debugger isn't integrated either.

You'll probably have to open Terminal.app :)

mikef (mfleming), Tuesday, 25 April 2006 16:28 (seventeen years ago) link

sixteen years pass...

I just ran my first python script. It took me an hour to figure out how to do it but now I'm downloading my entire band camp album collection automatically, which rocks

calstars, Saturday, 15 October 2022 18:02 (one year ago) link

one year passes...

Are there any python heads around that could answer a q

calstars, Sunday, 19 November 2023 22:25 (one week ago) link

it's my job so... maybe

organ doner (ledge), Sunday, 19 November 2023 22:33 (one week ago) link

... in the morning.

organ doner (ledge), Sunday, 19 November 2023 22:49 (one week ago) link

import a library that does it for you

reggae mike love (polyphonic), Sunday, 19 November 2023 22:50 (one week ago) link

Ask it

Shifty Henry’s Swing Club (James Redd and the Blecchs), Sunday, 19 November 2023 22:52 (one week ago) link

i'm here to watch, general support

i really like that!! (z_tbd), Sunday, 19 November 2023 23:02 (one week ago) link

Ask it, I love tests

brimstead, Sunday, 19 November 2023 23:09 (one week ago) link

first: restart the computer

i really like that!! (z_tbd), Sunday, 19 November 2023 23:22 (one week ago) link

Clear your cache and close your browser.

Shifty Henry’s Swing Club (James Redd and the Blecchs), Sunday, 19 November 2023 23:39 (one week ago) link

is it an african or a european swallow

close encounters of the third knid (darraghmac), Sunday, 19 November 2023 23:59 (one week ago) link

My rate is $250 an hour, four hour minimum

G. D’Arcy Cheesewright (silby), Monday, 20 November 2023 01:48 (one week ago) link

try putting the problem down on a table and stepping away from it

i really like that!! (z_tbd), Monday, 20 November 2023 02:24 (one week ago) link

I offer competitive rates for searching stackoverflow

Natural Wine • Danny Devito • Virginia (Sufjan Grafton), Monday, 20 November 2023 03:03 (one week ago) link

This question has already been asked before.

Shifty Henry’s Swing Club (James Redd and the Blecchs), Monday, 20 November 2023 03:06 (one week ago) link

Please do this before doing anything else:

xcode-select --install
and then update everything using whichever package manager you use homebrew, macports, etc.

Elvis Telecom, Monday, 20 November 2023 03:07 (one week ago) link

i have a related question. i've been managing big geographic data projects for a while, but never made it further than learning moderate SQL. i'm now managing a few data scientist who are doing some really cool stuff with python, but i mostly work on getting them set up in the proper environments and acquiring tools. i'm also the main sme since i've been working with this data for so long, so i help them apply their stuff in a meaningful way.

it now looks like i may be following my wife abroad and looking for a job and i'm wondering how much i should be scrambling to learn python before i go. as mentioned above, a lot of this is open source and easily searchable, but would someone looking at my resume throw it out if i don't have those coding skills? are there positions available that fit the brief description of my current job? python liaison anyone? been a loooong time since i've been in the job market

Heez, Monday, 20 November 2023 18:49 (one week ago) link

Python sure seems like the dominant language in the field, and undergrads aren't even being admitted into our DS programs at this point without some prior exposure (nb, I advise in a low-level capacity about stuff that I know basically jack shit about).

It is a disgusting... (Old Lunch), Monday, 20 November 2023 19:13 (one week ago) link

xp: There is a 100 days of Python course on Udemy that seems to be good.

In terms of jobs that might fit the 'lots of SQL bit of Python' try a Data Analyst position?

xyzzzz__, Monday, 20 November 2023 21:23 (one week ago) link

On the Udemy tip, don't let the sticker shock put you off -- they pretty regularly run sales so that a video course is < $20.

python liaison anyone?

This sounds a little like Project Management?

Rimbaud: First Blood (Leee), Monday, 20 November 2023 22:40 (one week ago) link

Yeah it’s project management. I used to run big data projects that relied on people, but here we are. Got into a little bit of agile development but now my whole team can handle that stuff. Still a decent market for project managers?

Heez, Tuesday, 21 November 2023 01:52 (one week ago) link

there was an online python-based data science boot camp a couple coworkers did a presentation on that seemed decent. I’ll see if I can track that down. I believe it was free and all the materials were available, but if you wanted to do it like a course there was a group chat and sessions you could join

ɥɯ ︵ (°□°) (mh), Wednesday, 22 November 2023 14:35 (six days ago) link

I am trying to use this bandcamp downloader script: https://github.com/easlice/bandcamp-downloader
I am on a Mac with Sonoma.
I have a terminal open at the window where requirements.txt is located.
I type this: "python3 -m pip install -r requirements.txt"
and it tells me "Defaulting to user installation because normal site-packages is not writeable" ... and then a couple hundred red lines starting with "ERROR: Invalid requirement: '{"payload":{"allShortcutsEnabled":false..."

calstars, Wednesday, 22 November 2023 20:53 (six days ago) link

never mind, I'm an idiot. The requirements.txt was filled with gibberish and I just had to replace it with what was on GitHub. Working now

btw this is a great tool for archiving your BC collection

calstars, Wednesday, 22 November 2023 21:04 (six days ago) link

You must be logged in to post. Please either login here, or if you are not registered, you may register here.