[Tutor] Join Python Global Meeting Sunday June 21 using VOIP - BerkeleyTIP

2009-06-20 Thread john_re
Join the friendly Python Global [& ALL FREE SW HW & CULTURE] community Meeting: this Sunday, June 21, using VOIP, 10A - 6P Pacific USA time [GMT - 8? 7? hours] = 1P - 9P Eastern USA = 6P - 2A??? GMT - Daylight savings correction? +7 hours? at the BerkeleyTIP Global Free SW HW & Culture meeting

[Tutor] Generating Deck Combinations

2009-06-20 Thread Michael Morrissey
I need to generate all possible deck combinations given two different lists as input. The Input: List 1 has Card names listed inside it. List 2 has Maximum Quantities for each Card name. For example: List1[0] would be: "Aether Vial" List2[0] would be: "4" List1[1] would be: "Mountain" List2[1]

Re: [Tutor] how to manage an encrypted file?

2009-06-20 Thread Tim Golden
Robert Lummis wrote: Could you recommend a module or methods I should use to manage an encrypted text file? I want to store passwords and associated contact information in a file and feel confident that if the file is stolen the information couldn't be read. If you're on Windows, just encrypt

Re: [Tutor] Generating Deck Combinations

2009-06-20 Thread Andre Engels
On Sat, Jun 20, 2009 at 9:49 AM, Michael Morrissey wrote: > I need to generate all possible deck combinations given two different lists > as input. > The Input: > List 1 has Card names listed inside it. > List 2 has Maximum Quantities for each Card name. > > For example: > > List1[0] would be: "Aet

Re: [Tutor] how to manage an encrypted file?

2009-06-20 Thread Alan Gauld
"Tim Golden" wrote encrypted text file? I want to store passwords and associated contact information in a file and feel confident that if the file is stolen the information couldn't be read. If you're on Windows, just encrypt the file under Explorer. Although that's not very secure: if you

Re: [Tutor] Generating Deck Combinations

2009-06-20 Thread Kent Johnson
On Sat, Jun 20, 2009 at 3:49 AM, Michael Morrissey wrote: > I need to generate all possible deck combinations given two different lists > as input. > The Input: > List 1 has Card names listed inside it. > List 2 has Maximum Quantities for each Card name. I generally prefer a list of pairs to paire

Re: [Tutor] Generating Deck Combinations

2009-06-20 Thread Dave Angel
Michael Morrissey wrote: I need to generate all possible deck combinations given two different lists as input. The Input: List 1 has Card names listed inside it. List 2 has Maximum Quantities for each Card name. For example: List1[0] would be: "Aether Vial" List2[0] would be: "4" List1[1]

Re: [Tutor] how to manage an encrypted file?

2009-06-20 Thread Wayne
On Sat, Jun 20, 2009 at 6:17 AM, Alan Gauld wrote: > "Tim Golden" wrote > >> encrypted text file? I want to store passwords and associated contact >>> information in a file and feel confident that if the file is stolen >>> the information couldn't be read. >>> >> >> If you're on Windows, just enc

Re: [Tutor] Handling Generator exceptions in Python 2.5

2009-06-20 Thread Joe
Dave, Thanks for enlightening me and providing a solution. I am a recent Python convert (from Perl). Hence the confusion about generators.(Coroutines are not a standard part of Perl anyway) - Joe Dave Angel wrote: Joe Python wrote: I have a generator as follows to do list calculations. *

Re: [Tutor] Generating deck combinations

2009-06-20 Thread Paul McGuire
If you are looking for all possible 60-card deals of this deck, then you also probably want to filter out duplicate deals caused by equivalent cards exchanging places. That is, say you had a deck of 3 cards: 2 Mountain, and 1 Vial, and you want to deal out al 3 in various order of cards. Using th

Re: [Tutor] Generating deck combinations

2009-06-20 Thread Kent Johnson
On Sat, Jun 20, 2009 at 1:01 PM, Paul McGuire wrote: > If you are looking for all possible 60-card deals of this deck, then you > also probably want to filter out duplicate deals caused by equivalent cards > exchanging places.  That is, say you had a deck of 3 cards: 2 Mountain, and > 1 Vial, and y

[Tutor] filling in web forms

2009-06-20 Thread Pete Froslie
I would to access web forms and fill them out. I am feeling that the 'ClientForm' module makes sense as a starting place, but am concerned that maybe it is dated and that there might be a better starting option.. can anyone help start me along the correct path as I am pretty new to python and not

[Tutor] reading and processing xml files with python

2009-06-20 Thread python . list
Hi, I am a total python XML noob and wanted some clarification on using python with reading remote XML data. All examples I have found assumes the data is stored localy or have I misunderstood this? If I browse to: 'user:passw...@domain.com/external/xmlinterface.jsp?cid=xxx&resType=hotel200631

Re: [Tutor] filling in web forms

2009-06-20 Thread Norman Khine
On Sun, Jun 21, 2009 at 12:03 AM, Pete Froslie wrote: > I would to access web forms and fill them out. > > I am feeling that the 'ClientForm' module makes sense as a starting place, > but am concerned that maybe it is dated and that there might be a better > starting option.. can anyone help start

Re: [Tutor] filling in web forms

2009-06-20 Thread Serdar Tumgoren
You might want to read up on Python Mechanize as well: http://wwwsearch.sourceforge.net/mechanize/ ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] filling in web forms

2009-06-20 Thread Pete Froslie
Thank you so much.. I will start looking into twill and I just finished installing Mechanize. FYI: I use Netbeans as my IDE and encountered an error that took some time to resolve, as follows: A java.lang.NoClassDefFoundError exception has occurred the resolution can be found here if you run int

Re: [Tutor] reading and processing xml files with python

2009-06-20 Thread Norman Khine
you can use something like http://docs.hforge.org/itools/xml.html to process your xml request or some other python xml parser such as BeautifulStoneSoup. to return a list of the tag value, you could , perhaps: >>> firstdata = ' 134388 Milford Plaza at Times >>> Square 700 8th Avenue >>> New

Re: [Tutor] filling in web forms

2009-06-20 Thread wesley chun
On Sat, Jun 20, 2009 at 10:25 PM, Pete Froslie wrote: > Thank you so much.. I will start looking into twill and I just finished > installing Mechanize. those are very well-known individual tools that will meet your needs. for larger web testing frameworks, you may also consider Windmill and Selen