Re: [Tutor] Tutor FAQ?
> Yep, I'm volunteering. Forgive my ignorance, but I couldn't seem to figure > out how to edit/add pages to http://pyfaq.infogami.com/. The tutorial wiki > has the edit, but the pyfaq page doesn't. I am logged in using my reddit > login. I don't think the FAQ is open to public editing yet. I'm not sure when it will be, but Fredrik might be able to give a timescale. I've made a start on adding your questions, but probably won't get to do much more until tomorrow. Ed On 21/04/06, Mike Hansen <[EMAIL PROTECTED]> wrote: > > > > > Maybe this could be integrated with the main Python FAQ in a > > > beginner's section? Fredrik Lundh is experimenting with a > > FAQ wiki here: > > > http://pyfaq.infogami.com/ > > > > Actually I put something about this on PyFAQ just the other day. > > Fredrik was quite keen on the idea, but I've been busy the > > last couple of days and haven't got around to doing anything about it. > > > > Mike, if you're volunteering that would be perfect. If > > anyone here has ideas for questions that get asked a lot > > (like "How do I write a program that prints a word > > backwards") then just posting them in this thread would be a > > good start. > > > > I assume Kent, Alan and Danny don't mind their answers being > > reused in the wiki, but it would probably best to get > > explicit permission from them (and other people) to re-use > > text from their answers. > > > > Ed > > ___ > > Tutor maillist - Tutor@python.org > > http://mail.python.org/mailman/listinfo/tutor > > > > Yep, I'm volunteering. Forgive my ignorance, but I couldn't seem to figure > out how to edit/add pages to http://pyfaq.infogami.com/. The tutorial wiki > has the edit, but the pyfaq page doesn't. I am logged in using my reddit > login. > > Below is what little I slapped together last night. I copied the content > from the Python tutor mailman page for the first question. > > = > Python Tutor FAQ > - > What is Python Tutor? > > This list is for folks who want to ask questions regarding how to learn > computer programming with the Python language. > > Python (http://www.python.org) is a programming language which many feel is > a good first language, because it makes it easy to express the fundamental > concepts of programming such as data structures and algorithms with a syntax > which many find easy to read and write. > > Folks interested in learning about programming with Python are encouraged to > join, as are folks interested in helping others learn. While the list is > called tutor, anyone, whether novice or expert, can answer questions. > > If individuals wish to start off-line conversations about a particular > concept and become one-on-one tutor/tutee, that's fine. If either party > wants to summarize what they learned for others to benefit, that's fine too. > > There is a searchable interface to archived Tutor messages on Activestate's > web site at > http://aspn.activestate.com/ASPN/Mail/Browse/Threaded/python-Tutor. > > To see the collection of prior postings to the list, visit the Tutor > Archives at http://mail.python.org/pipermail/tutor/ > > Using Tutor > To post a message to all the list members, send email to tutor@python.org > > - > I need help; I'm getting an error in my program. What should I do? > > If you are getting an error in your Python program that you don't > understand, post the error message and any relevant code. Post the exact > error message. Don't paraphrase the error message. The error message has > details that can help resolve the issue that caused the error. > > - > What is the policy on homework? > > Although those on the Python tutor mail list are eager to help, they don't > want to hand you the answers to your homework. They want to help you find > the answers. If you are having difficulty with your homework, send a message > to the list about the problem and what you have tried. The tutors will try > to nudge you in the right direction. > > - > Why do my replies go to the person who sent the message and not to the list? > > This is by design. > See http://www.unicom.com/pw/reply-to-harmful.html > > Also see this explanation > http://mail.python.org/pipermail/tutor/2005-July/039889.html > > = > > Unless anyone has any more, I think the above covers the FAQs about the > tutor list. > > Here's some of the FAQs that I came across scanning the list: > > ord and chr > parsing html beautifulsoup > editors/ides > getters and setters > regex match and find > maxtrix operations > how do I make an exe out of a python script > books > what sho
Re: [Tutor] looking to hire a tutor
> I am a postdoctoral research scientist learning Python programming. I > would like to hire a tutor who can spend 1-2 hours a week with me going > overand critiquing my programming. We are not available for hire but we do offer a critique service on code to a limited degree - ie we don;t code review hundreds (or thousands) of lines worth! But if you want to try ideas out and ask us how they can be improved we can do that. > programming classes (not free tutorials), which offer structure and > feedback for a reasonable price. To my surprise, I havent been very > successful. There are some traditional traiing companies that teach Python, mainly in the US although at least one is here in the UK too. But I don't know of anyone online who does that. > Working with online free tutorials hasnt been an ideal approach, partly > because I dont get feedback and partly because they dont completely > meet my requirements. This list tries to provide feedback for most of the online tuts, and I provide a feedback link on every page of my tutor and usually respond to queries etc within 48 hours. > Cares about good programming practices and is able to provide cogent > explanations of programming principles. > Can instruct me in the finer points of breaking a programming problem down > into constituent parts. > Is well versed in Python. It would be great (but not necessary) if he/she > were also familiar with data mining practices. We do that here, but instead of one tutor you get dozens... > I would be willing to pay 20-30$ an hour (or more depending on instructor > qualifications). And we are free. But you don't get one on one tuition. And its public so you have to be happy to share your mistakes. So I don't know how you get exactly what you want but this list offers some of it for free. HTH, Alan G Author of the learn to program web tutor http://www.freenetpages.co.uk/hp/alan.gauld ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] looking to hire a tutor
On Fri, 2006-04-21 at 19:44 -0700, [EMAIL PROTECTED] wrote: > How would I go about hiring a python tutor who: > > Spends time critiquing my code and providing detailed feedback. > Cares about good programming practices and is able to provide cogent > explanations of programming principles. > Can instruct me in the finer points of breaking a programming problem > down > into constituent parts. > Is well versed in Python. It would be great (but not necessary) if > he/she > were also familiar with data mining practices. > > I would be willing to pay 20-30$ an hour (or more depending on > instructor > qualifications). > >How do I go about doing this? Any suggestions? Sometimes having someone sitting at your side helping you get acclimated can be a big help. I would expect your school would have some computer oriented clubs or groups where you could find the expertise you're looking for. A Linux User Group could be a good source of help, even if you are using Windows since the percentage of Python users is generally higher among Linux folks than in the Windows population. For remote help, this list is hard to beat. -- Lloyd Kvam Venix Corp ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] looking to hire a tutor
Hi meenakshi, I am a postdoctoral fellow in oncology and with passion and I wanted to learn programming especially Python. I tried my luck in C, Java and PERL. To my surprise they were much harder to understand and work with. I chose Python to help my work and it helped me run my life easily. just like you, I contacted many experts who would spend their time to train me. I dared to spend around '$10 K' to learn programming (at programming camps). The truth is, it may sound strange, you may hire the best tutor on this planet, BUT the seed-logic of coding cannot be planted in your brain by none other than you. My suggestions: 1. choose exercises/problems from your own area of research, instead of 'Hello world' type. 2. Regularly read 'Tutor' mailing list. Here experts, are so passionate and with patience spend their time for no cost, in critiquing your code, not matter how simple or harder it may be. At no cost, you get top notch programmers instead of one. 3. Post your questions here. Believe me, THIS IS THE place to learn serious Python programming. 4. After a tutor responds to your question, go back to simple books and try to understand the nuances. Books: Dont forget to carry these whereever your go: 1. Alan Gauld's : Learn to Program using Python 2. Mark Lutz'z: Learning Python Rest other books are up to your taste and choice. good luck. --- [EMAIL PROTECTED] wrote: > > Hi, > I apologize if this has been covered before. > I am a postdoctoral research scientist learning > Python programming. I > would like to hire a tutor who can spend 1-2 hours a > week with me going > overand critiquing my programming. I have looked > for online Python > programming classes (not free tutorials), which > offer structure and > feedback for a reasonable price. To my surprise, I > havent been very > successful. >Working with online free tutorials hasnt been an > ideal approach, partly > because I dont get feedback and partly because they > dont completely > meet my requirements. > > How would I go about hiring a python tutor who: > > Spends time critiquing my code and providing > detailed feedback. > Cares about good programming practices and is able > to provide cogent > explanations of programming principles. > Can instruct me in the finer points of breaking a > programming problem down > into constituent parts. > Is well versed in Python. It would be great (but > not necessary) if he/she > were also familiar with data mining practices. > > I would be willing to pay 20-30$ an hour (or more > depending on instructor > qualifications). > >How do I go about doing this? Any suggestions? > > Thanks > Meenakshi > > ___ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
[Tutor] how can I use Set.interaction function on a dictionary
Hi Tutors, Background: 1. I have a dictionary with 4 keys and some repeated values for each key. >>> dida {'NM_001033044': [32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32843894, 32843894, 32843894, 32843894, 32843894, 32843894, 32843894, 32843894, 32843894, 32843894, 32844846, 32844846, 32844846, 32844846, 32844846, 32844846, 32844846, 32844846, 32844846, 32844846, 32845745], 'NM_002065': [32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32843894, 32843894, 32843894, 32843894, 32843894, 32843894, 32843894, 32843894, 32843894, 32843894, 32844846, 32844846, 32844846, 32844846, 32844846, 32844846, 32844846, 32844846, 32844846, 32844846, 32845745], 'NM_015701': [32844783, 32844783, 32844783, 32844783, 32844783, 32844783], 'NM_001033056': [32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32842023, 32843894, 32843894, 32843894, 32843894, 32843894, 32843894, 32843894, 32843894, 32843894, 32843894, 32844846, 32844846, 32844846, 32844846, 32844846, 32844846, 32844846, 32844846, 32844846, 32844846, 32845745]} In the case of 'dida', the list of values have repeated elements. So I got rid of duplicates in the value lists (value as in key:value pair) in the case of 'didi' >>> didi {'NM_001033044': [32842023, 32843894, 32844846, 32845745], 'NM_002065': [32844846, 32842023, 32845745, 32843894], 'NM_015701': [32844783], 'NM_001033056': [32843894, 32844846, 32845745, 32842023]} Question: 1. How can I get A^B^C^D(^ = intersection) where A, B, C and D are keys from dida or didi. 2. How can I store values generated dynamically. For example, here in 'dida' I know there are 4 keys, but how can I create 4 lists while running in for loop and store the key values in 'dida'. Do I have to write an class object that will create empty lists depending on number of keys a dictionary has? I am loosing my mind because I do not know how to store the values for each key in a loop and do set operations. For instance, I tried the following way: >>> for m in range(len(didi.keys())): ... x = m+1 ... a = Set(didi[didi.keys()[m]]) ... print a ... Set([32845745, 32844846, 32843894, 32842023]) Set([32845745, 32843894, 32844846, 32842023]) Set([32844783]) Set([32845745, 32844846, 32843894, 32842023]) I would be happy, if I could store all 4 sets (above)into listsor sets A, B, C and D and do (A^B)^(C^D). Could any one help me please. My ultimate goal is to do set operations on this dictionary. If things get more complicated, I will seek R's help through RPy. Thanks __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor