Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8622583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:05:35+00:00 2026-06-12T07:05:35+00:00

I’m using Mac OS X Version 10.7.4 and Python 3.2.3. I’ve read through many

  • 0

I’m using Mac OS X Version 10.7.4 and Python 3.2.3. I’ve read through many of the equally frustrated posts on Stack Overflow, this one was especially useful in helping me delete EasyTether after it didn’t work, and turns out was blocking PDANet from working:

OS X 10.6.6 and "adb devices" fails to list android devices

I’m using Paul Ferrill’s “Pro Android Python with SL4A” and for the past 4 hours I’ve just wanted to be able to type the following in my Mac’s IDLE session:

>>>import android
>>>droid = android.Android()
>>>droid.makeToast("Hello Android from Mac")

I’m pretty stymied at this point. I’ve allowed USB debugging on my Samsung Galaxy 4g, I finally have the PDANet software working, but I have nothing to show for it. I’ve watched a bunch of Youtube tutorials, this one was helpful for installing PDANet:

http://www.youtube.com/watch?v=yR9GANNKUgo

A lot of other people had similar trouble with EasyTether, but now that I have PDANet working, I still can’t seem to get this code to work. Right now, my I have the following:

Python 3.2.3
Type “copyright”, “credits” or “license()” for more information.

import android

Traceback (most recent call last):

File “”, line 1, in

import android

ImportError: No module named android

I would be so very thankful for any help you can provide.

Correction

I understand that the reason the code throws an error is that the android module is not found on my computer. I’m simply wondering how I can get my Mac to connect with my Samsung Galaxy such that I can write the above code and have the file android.py that is on my android register with my script on my Mac, such that the program works.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T07:05:37+00:00Added an answer on June 12, 2026 at 7:05 am

    I’m not sure if that book is great for Python 3. There is a Python3 APK(http://code.google.com/p/python-for-android/downloads/detail?name=Python3ForAndroid_r6.apk), but the other one, the standard PythonForAndroid is 2.6(?) based. You need to use the same version of python across both your android device and your local machine for what you’re trying to do. I’m not sure which Python 3 ve

    When I was playing with this and the same book, I had to install the same version of python on my local machine that was used in the APK I installed on my device. It was still a lot of screwing around to get it to work and wasn’t really worth the effort in the end.

    However, I found that just pushing the script across and instantly running it was way easier than trying to play with IDLE remotely. This is now how I rapidly prototype any Android apps I’m planning to work on.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am reading a book about Javascript and jQuery and using one of the
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm making a simple page using Google Maps API 3. My first. One marker
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.