> On Wed, Jan 5, 2011 at 7:52 PM, Chris Rebert <c...@rebertia.com> wrote: >> On Wed, Jan 5, 2011 at 7:36 PM, Slie <stacks...@gmail.com> wrote: >> > >> > http://code.google.com/apis/chart/docs/post_requests.html >> > >> > Google will return a chart in your browser from a URL that you have >> > built. If your URL is bigger then 2K characters it will allow you to submit >> > POST requests. >> > >> > They gives examples of HTML, JavaScript, and PHP POST requests. Is there >> > a way I can submit a request with Python? Or possibly submit the HTML, >> > JavaScript or PHP using python?(That was a long shot thought). If I do that >> > I would need to find out what to do with the .PNG it gives me. >> > >> > Am I headed in the right direction, is the above paragraph about >> > submitting an HTML form from my program even logical? >> >> You should probably first try one of the existing Python wrappers for >> Google's chart API and see if that meets your needs: >> http://code.google.com/p/google-chartwrapper/ >> http://pygooglechart.slowchop.com/
On Wed, Jan 5, 2011 at 9:16 PM, Garland Fulton <stacks...@gmail.com> wrote: > I tried to use "pygooglechart.py" and I have been trying to get it set up > all day actually along with several other graphing API's. > I just found out that there is a problem with numpy and python 3.1 that is > why I moved from the API's. Should I change version just for > these library's? > Should I be learning Python on 3.1? Most third-party libraries have yet to be ported to Python 3.1 (with a few notable exceptions). If you actually want to write non-(toy/demo/trivial) programs, you should probably use Python 2.x. Python 3.1 is fine for learning the basics of the language; once you've done that, learning the Python 2.x differences and wart workarounds is not hard. (Also, in the future, please don't top-post.) Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list