OS X Technologies :: Is Python & A Bunch Of Libraries Already On Mahine

Jun 5, 2012

I'm ready to upgrade from scraperwiki to running Python on my own machine, for purposes of webscraping for journalism. Which is exciting but difficult for the likes of me.Is Python & a bunch of libraries already on my mahine? usr/lib has a lot of promising-looking items listed, like python2.7 and about 50 files ending in .dylib.usr/lib/python2.7 has another 50 or so files ending in .pyc and .pyo So, if so, how do I call my_script.py? Where to save it, how to call it? Where to install Python modules(?)/libraries(?) like mechanize or beautifulsoup?


Info:
MacBook Air, Mac OS X (10.7.2)

View 2 Replies


ADVERTISEMENT

Software :: Upgrading Python In Mac OS X 10.4

Sep 14, 2009

I recently upgraded python on my mac from the version it was shipped with (python2.3) to python2.5. The installation was easy as I used the .dmg file. But now I want to use setuptools and I have to create a file in the /usr/lib/python2.5 which does not exist. How do I upgrade this as at the moment I have /usr/lib/python2.3. It is probably very trivial but I am having a nightmare understanding all these installation folders of python in mac. And the instructions in [URL] are assuming I have the right version there.

View 2 Replies View Related

Software :: Run Script With Python Version 2.3?

Jan 26, 2009

Have a script on my server which was working fine before I upgraded to leopard, now there are some warnings:
RuntimeWarning: Python C API version mismatch for module rand: This Python has API version 1013, module rand has version 1012. import rand, crypto, SSL, tsafe

Then an error about an 'int' object not having the attribute '__name__'

I can see that version 2.3 is installed as well as 2.5, wondering is there anyway that I can direct the script to run on the 2.3 framework?

Tried setting a link to 2.3 but that didn't seem to work.

View 1 Replies View Related

MacBook :: How To Get Back Deleted Python For OS X 10.6

Jun 13, 2012

I think I deleted my copy of python for OSX 10.6, can I get it back somehow?

Info:
MacBook Pro (15-inch Mid 2010), Mac OS X (10.6.8)

View 4 Replies View Related

Applications :: Unable To Run Python In Terminal Window

Dec 11, 2010

When I press the up or down arrows, I get this in the terminal:

Up arrow: ^[[D
Down arrow: ^[[C

Anybody know what to do so that I can use those keys to scroll in history?

View 1 Replies View Related

Software :: Where To Find Leopard's Python For Reinstall?

Sep 25, 2008

I get the following error when running the xattr command under Leopard (10.5.5): Code: % xattr test.doc
zsh: /usr/bin/xattr: bad interpreter: /System/Library/Frameworks/Python.framework/Versions/2.5/Resou: no such file or directory I presume that this is occurring because of an error in the installed version of python on my system, and I'm looking to reinstall it.

Does anyone know where I can go to find the official, Apple-supported package for Python under 10.5.5, so I can download and reinstall it? I've searched and I can't seem to find this.

View 5 Replies View Related

OS X V10.7 Lion :: Purpose Of Python App In System Preferences?

Apr 8, 2012

In System Preferences > Security & Privacy > Firewall > Advanced, I notice there is an item named Python.App in the "allow incoming connections" list. What is Python.app and what does it do? Is this something that I want to keep in the incoming connections.

Info:
MacBook Pro, Mac OS X (10.7)

View 3 Replies View Related

OS X Mavericks :: After Upgrade From Snow Leopard - Python 3.3 Scripts Fail

Jul 1, 2014

After upgrade to Mavericks 10.9.3 from Snow Leopard my Python3.3 scripts, called through a shellscript, fail. They work fine when called from Python 3.3 in Terminal. The issue appears to be the path. Currently Python 3.3 is located in /Library/Frameworks/Python.framework/Versions/3.3, whereas all the other installations are in /System/Library/Frameworks/Python.framework/Versions/..., and include v2.3, v2.5, v2.6 & v2.7, plus a "Current" folder alias. I read somewhere that simply adding the new path was not advisable. If that is true, what's the best way to include other version.

View 1 Replies View Related

OS X :: Way To Rename A Bunch Of Files At Once?

Jan 3, 2010

I have a folder with a TON of photos. I have a bunch of photos I want to put into that folder but a bunch of the filenames are the same. Normally with a few photos I would just rename the file but there's way too many.

Is there any way to rename the files or do something so I can copy the new photos into my photo folder without any overwriting going on?

View 3 Replies View Related

OS X :: Why Bunch Of Login Items Listed

Apr 23, 2009

I just noticed (I never really looked before) a bunch of login items listed that mostly I don't know their purpose. The logitech control center for my bluetooth mouse is there. That makes sense as to connect my mouse at startup. But I have something called 'Airport Base Station Agent' and iTunesHelper' and a couple of other do-dads for a couple of other small apps (Rogue Amoeba Schedule Help, for ex.) that I have no idea why they should be 'starting' when I log in, nor are they something I even notice when I login in. Are they some kind of background process goings on I don't know of? If I toss this stuff, would it hurt anything? For example, is that Airport agent thing an important background utility that's needed for my computer to connect to its wireless on startup or what?

View 3 Replies View Related

OS X Mavericks :: Can't Open Bunch Of Websites On Mac

Jun 29, 2014

but I can open the same websites under the same wifi network with my windows machine.. 

I've been trying to install RVM in my mac but I can't get to open [URL]... and even if I tried installing via terminal it still won't.. I can open the website fine in my windows machine under the same wifi network. I've been having this problem ever since mountain lion and now it has continued to mavericks.

View 4 Replies View Related

OS X :: Sorting Bunch Of Files By Kind In Finder

Aug 28, 2010

I just noticed sorting a bunch of files by 'kind' that it groups .php, .css, .js and others all as 'plain text file'. This is pretty useless, and I don't know if there's perhaps a way to set things up differently? I have all said files associated with Coda.

View 2 Replies View Related

Applications :: Compress A Bunch Of Files Into An Archive?

Nov 14, 2010

I am wanting to compress video, audio and software into archives so Which archive application has the highest amount of compression and is a good archive app overall?

View 3 Replies View Related

Software :: Change Extension Of Bunch Of Files?

Feb 6, 2005

is there a way to change the extension of a bunch of files, i am guessing using a terminal command. What I want is that I have .m4a files that I want to change to .m4b so I can bookmark them.

View 5 Replies View Related

OS X V10.7 Lion :: Bunch Of New Icons Showing Up In Launchpad?

May 28, 2012

For some reason a whole bunch of new icons showed up in my Launchpad all of a sudden. I haven't installed anything new that I know of, but I'm wondering if this happened after an Apple update. Here is a screencap: [URL]. What these little script icons are for? They do not exist on my other Macs.

Info:
MacBook Air, Mac OS X (10.7.3)

View 1 Replies View Related

MacBook :: Screen Goes All Fuzzy With A Bunch Of White Lines On It?

Aug 27, 2010

Since yesterday, my screen has been acting really wierd. Every few hours, the screen goes all fuzzy with a bunch of white lines on it, and it becomes completely unusable. It only happens for a few seconds each time (fortunately, it's fine right now), but it's kinda got me worried because I need to keep this computer for 2 more years before getting a new one, and I can't afford to fix it. I can't stop using it because I need it for school, so if it breaks, I'm completely screwed.

View 4 Replies View Related

PowerPC :: IMac G5 (First Gen) Screen Fills With Bunch Of Lines

Mar 30, 2009

I'm looking for some information and possible repair tips for my cousins iMac G5 (First Gen) 1989. I don't know anything about mac's, I've always been a PC user. But, I recently fixed both my aunt's laptop and desktop (both pc), so my cousin asked if I would take a look at her mac, as well. Basically, when the iMac is turned on, the screen goes weird. It fills with a bunch of lines (both horizontal and vertical), some spanning the entire length of the screen, and some being only about half an inch long. The lines don't stay stable, they flicker and change positions every few seconds. Behind the lines, you can see the black screen with the apple on it.

It doesn't seem to get past this point though, it seems to freeze and never leave the apple screen, although the flickering lines continue to change. I tried jiggling and moving the power cord around, and whenever I moved it the lines on the screen seemed to change positions. I also tried taking hold of the sides of the monitor (machine? I have no idea what mac-speak for anything is) and very gently pressing and "twisting", and this changed the lines as well, at one point it turned to all vertical lines spanning the entire length of the screen. We opened it up to see if any wires were loose inside or anything, but there really weren't any exposed wires that I could see that I could even try to tighten/adjust. Right now it's not even usable.

View 3 Replies View Related

Mac Pro :: Put A Sony Lightscribe Optical Drive & Encountered Bunch A

Apr 5, 2009

When I Put A 20X Sony Lightscribe� Drive In The Secondary Optical Bay I Attached The Power And The IDE, I Checked To See If The Drives Were Initialized They Were Not Even Recognized.....The New Sony As Well As The Apple Stock Drive In The First Bay It Was Like I had Removed Both Of Them! I Then Took Out The Apple Stock Optical And Put The New Sony Lightscribe Drive In Its Place, Leaving Only The One New Sony Drive In The Pro, It Was Recognized By The System However Would Not Open Due To The Fact That The Opening On The Mac Was To Small For The Shelf Of The Drive To Open. It Was Blocked! WTF!

I Instantly Thought I Must Have Messed Up The Install, However I Thoroughly Checked It Over And There Is Really No Way For Me To Mess It Up. Due To Where The Screws Line Up. It's Not Possible To Screw Up! No Pun intended. So Whats Left Now? I Thought These Optical Drives Where Like Internal Hard Drives, USB's And Blank Disks...They Have Standard Dimensions For ALL CPU"S I Did not know that there are incompatible optical drives! Does Anyone Know A: What Drives Are Compatible With The Xeon Mac Pro?

View 19 Replies View Related

OS X :: Computer Connecting To A Whole Bunch Of Iphones And Computers - Is It Virus

Jan 14, 2010

This just started happening today. I have little snitch monitoring the network activity and it's generally quite calm, however now it's going crazy with incoming connections from other students (I'm on a university campus) and iphones of all sorts.

View 12 Replies View Related

OS X V10.5 Leopard :: Get An Automator Service To Rename A Bunch Of Files

May 8, 2012

I've able to get an automator service to rename a bunch of files exactly the way I want by having it "Copy Finder Items" and then Make Finder Items Sequential". But it then dumps all the renamed files on the desktop.How do I add an option for it to either create a folder to put it in or dump the files into a pre-existing folder?

View 1 Replies View Related

MacBook Pro :: Screen Goes Blank Randomly - A Bunch Of Weird Lines Appear?

Sep 7, 2010

In the past month, my Macbook pro, which I have had since May 2009, has started to act very strange.

Sometimes when I watch videos online (collegehumor, youtube, etc.), or am just working on my laptop, the screen stops working. It goes mostly black, and a bunch of weird lines appear on the screen.

The system hasn't crashed or froze, since I can still see my mouse because one little line follows its movement, and the audio still works, and I can still Command + Q and exit out of programs.

I think the problem may have been that I slipped on the stairs one day holding my Macbook Pro and may have damaged the screen somehow, but I just want to know if this has happened to somebody else with their MBP, and what caused it?

View 2 Replies View Related

OS X :: Spaces Options - Load Up A Forum Page With A Bunch Of Photos

Dec 20, 2010

I'm wondering if there is a setting to fix this.I have all sixteen spaces enabled. I tend to keep web browsers open on at least three or four of them. Let's say I load up a forum page with a bunch of photos, and pop off to another space to do something else. Well, as that forum page loads (slowly due to all the photos), Spaces will automatically take me back to that space every few seconds. I switch away, it switches right back. Very annoying.Likewise, if I had a news site open in a browser, and it does one of those auto-reloads every five or ten minutes or whatever, Spaces takes me back to that space. I don't WANT to go back; let the damn pages reload, but leave me alone to keep working. I'll go back when I'm ready.

View 1 Replies View Related

Hardware :: How Would Itunes Handle A Bunch Of Music On An External Drive

Jan 13, 2009

I just want to put my film collection on i and the combined itunes library on it.

Then everyone can watch the films and listen to music, share and share alike.

How would itunes handle a bunch of music on an external drive?

View 2 Replies View Related

Windows On Mac :: Unable To Login As Admin / Screen Goes Black And Gives Bunch Of Options

Jun 18, 2009

Alright, I FINALLY got windows on my mac and am very proud of myself. However, I am encountering what I hope is a final problem.

I want to log into Windows as an admin, so when it starts up I hit F8. The screen goes black and gives me a bunch of options, I choose "Safe Mode". Everything so far works like it should. But then the log screen appears with two options: Admin and my regular user. Obviously I want admin, but my keyboard and mouse are utterly nonresponsive , even the little caps light won't turn on. This means I'm stuck there, staring at what I want to click but unable to do so. The only button that works is the power button.

Anyone else run into this? More importantly, anyone know how to fix it?

View 6 Replies View Related

PowerPC :: Display Has Bunch Of Parallel Vertical Lines Running Down / Wifi Card Pooped Out

Oct 8, 2008

So tomorrow I'm going to be getting a Powerbook G4 from a friend. He says there are two problems with it.

1. The Graphics. I haven't seen it personally, but he says every time the laptop starts up, the display has a bunch of parallel vertical lines running down it. Is this a hardware issue, and is it easy to replace? Or can an update fix it? I wonder because isn't the integrated graphics mounted on the logic board?

2. The WiFi Card. I remember the day he got it, we both say the WiFi worked like a charm. One day, it pooped out on us. Now, the only way for internet is by ethernet. Did something possibly unhook from it, or is it a bad card? Once again, a possible update for it?

I won't know for certain until I get this laptop tomorrow. I will post updates when I can physically check it out.Also, this laptop is an older one, so no warranty or AppleCare on it. It is also running Leopard, but I doubt it is updated to the latest.

View 13 Replies View Related

OS X :: Bunch Of Shared Drives Or Folders Showed In My Finder Under Shared?

Feb 19, 2010

A couple of months ago I was at the head office and connected to the in house Wifi. When I did, a bunch of shared drives or folders showed in my finder under "Shared". I figured no biggie, when I got away from the head office they'd go away. But they didn't. And I can't figure out how to get rid of them.See attached photo.

View 2 Replies View Related

OS X :: Mac With Three Different Libraries - Difference?

Jun 13, 2010

I have used mac for some years now, and know the OS well, but there is something that always has confused me: There are three different libraries in OS X. the first is: Macintosh HD>Library - the second: Macintosh HD>User>Library - and i recently noticed a third: Macintosh HD>System>Library. The reason this annoys me is because, as everyone know, there's often programs asking you to delete files from the library etc. I know i could just search for the right directory but still... kind of annoying, and a bit confusing at times. So why do Mac OS X have three different libraries and what are the difference between them?

View 3 Replies View Related

Applications :: How To Have Two Libraries For ITunes

May 21, 2009

I have an iMac and just bought a Seagate 1T expernal hard drive. Currently most of my music is encoded AAC so I can keep it in the imac hard drive and be able to loaded in my iPod 30 Gig.Currently I have about 24 Gig in the library.Since I use my iTunes as music server for my home Hi-Fi systems using a wireless network and Squeezebox devices connected to my steroe system I would like to create a second library with just Apple Lossless files. I would like to use this library for my home listening but keep the current library in the iMac haddrive with the AAC files to sync them to my iPod.

View 5 Replies View Related

ITunes :: Multiple Libraries On 1 Mac?

Apr 11, 2012

I have multiple devices that I want to sync from my one Mac. I decided to go for the multiple library options under my one user account.  I have created multiple libraries but the problem I'm finding is that if I buy a new book/app they get placed in finder for that device.  Is that a way of keeping this clean and keeping all apps, books etc under the one library in Finder and all the different devices just reading from there? 

Info:
iMac

View 3 Replies View Related

ITunes Libraries All Don't Work

May 13, 2012

Upon opening iTunes this morning, it took upon itself the job of "importing" something from I have no clue, labeled my library as "damaged", created a new one that had most of my stuff missing with no playlists, and now I can't import an old library or open any sort of iTunes library from anywhere.iTunes is version 10.6.1 (7)Is it some sort of version of iTunes that I can't run on OS 10.5? I'm waiting for the fall rollout to get a new machine, there is no reason to update my OS, it does everything I need now.I have a Time Machine backup. Do I need to download a completely new copy of iTunes and then try to restore out of Time Machine? Has Apple updated iTunes into yet another version that has no added value to me, yet I have to cope with all the advertising trash loaded into it (read: Genius, Ping)? How do I get my library back along with a version of iTunes that works?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved