Re: another newbie question
I really enjoyed it when I put the MacOsx font on my Ubuntu or any other. Anssi Saari wrote: >Roy Smith writes: > >> I'm still searching for as nice a font to use on Linux. > >Envy Code R is a lookalike, so maybe worth considering. I haven't >tried actual Monaco on Linux, but apparently it's possible. >Personally, I use -lfp-gamow-medium-r-*-*-7-*-*-*-*-*-*-* in Linux >(Emacs). >-- >http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Re: Arrays
I have an exercise im working on. I have an array of strings, and I would like to take each peace of the array and assign it to a new array so I can iterate over each of those pieces and replace the sting I want then put it back together. I hope that is not too confusing. This is how im trying to solve the problem. I have a program that takes in integers and it prints out the integers in bigger ones made up of asterisks. Im supposed to alter the program so so that instead of asterisks it prints them in bigger ones made up of the number itself. I am given arrays built to look like the numbers, already. - Reply message - From: "Stefan Behnel" Date: Wed, Nov 24, 2010 2:18 am Subject: Arrays To: Garland Fulton, 24.11.2010 06:55: > Is there a way I can define an Array of and unknown size so I can add and > remove to or from it? > > Are arrays immutable? Python has lists and tuples as basic data structures. Tuples are completely immutable, lists are completely mutable. If you want a container that has a fixed size but allows changing items, use a list and avoid calling .append() and .remove() to change items in favour of direct item assignments. If you want a completely mutable container, use a list and use it as you see fit. If you want a stack, a list will do. If you want a queue, a deque is a better option. In any case, if you tell us more about what you actually want to do, we can give better suggestions. Stefan -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Graphing API,
Is there a graphing API, someone suggests? -- http://mail.python.org/mailman/listinfo/python-list
Re: Graphing API,
Thank you, I will defiantly look into that. On Jan 5, 2011, at 4:32 AM, Tim Harig wrote: > On 2011-01-05, Slie wrote: >> Is there a graphing API, someone suggests? > > You should check the archives, variations of this question get asked > a lot. > > I use GNUplot to do my graphing. I simply pipe it commands and data > through the subprocess module; but, there are libraries available for > interacting with it. > > Posts here also indicate that Google offers a web service based API for > generating graphs. I have never actually used it; but, the documentation > seems to be clear enough to get it working without too much trouble. > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Searching Python-list
I was wondering if anyone could tell me how to search through the Archives otter then manually looking through each month. -- http://mail.python.org/mailman/listinfo/python-list
Google Chart API, HTTP POST request format.
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? I have read several examples on python post requests but I'm not sure mine needs to be that complicated. Thank You, -- http://mail.python.org/mailman/listinfo/python-list
I'm interested in calculating time down to the femtosecond.
I found that there was a code submission at NumPy 1.4 but I can not find in the documentation search for Date nor have found anything other then that discussion of the ability. Anyone have any ideas suggestions? I just want my program to be able to calculate it nothing special. Thanks, -- http://mail.python.org/mailman/listinfo/python-list