[Tutor] Python help

2014-02-28 Thread Tone Lite
Hello, I am having trouble coming up with a solution to this exercise and any help would be appreciated, thanks! I have attached the code below. '''exercise to complete and test this function''' def joinStrings(stringList): '''Join all the strings in stringList into one string, and

Re: [Tutor] Python help

2014-02-28 Thread Ben Finney
Tone Lite tonelitebe...@gmail.com writes: I am having trouble coming up with a solution to this exercise and any help would be appreciated, thanks! I have attached the code below. The code you present appears to be the exercise. Are you asking for someone to write the solution for you? That

Re: [Tutor] subprocess.call list vs. str argument

2014-02-28 Thread Albert-Jan Roskam
From: Oscar Benjamin oscar.j.benja...@gmail.com To: Albert-Jan Roskam fo...@yahoo.com Cc: Dave Angel da...@davea.name; eryksun eryk...@gmail.com; Tutor@python.org tutor@python.org Sent: Wednesday, February 26, 2014 3:38 PM Subject: Re: [Tutor]

[Tutor] running unittests on multiple OS, including non-Posix

2014-02-28 Thread Albert-Jan Roskam
Hi, I would like to run my unittests (-- nose) on multiple platforms. I also would like to test different python versions and implementations on each platform (-- tox [2]). These platforms also include Windows, so Travis CI or Docker is not an option. I was thinking about using Vagrant [3] to

Re: [Tutor] running unittests on multiple OS, including non-Posix

2014-02-28 Thread Ben Finney
Albert-Jan Roskam fo...@yahoo.com writes: I would like to run my unittests (-- nose) on multiple platforms. I also would like to test different python versions and implementations on each platform (-- tox [2]). […] But this all feels like reinventing the wheel. Can you recommend a package

Re: [Tutor] running unittests on multiple OS, including non-Posix

2014-02-28 Thread Albert-Jan Roskam
- Original Message - From: Ben Finney ben+pyt...@benfinney.id.au To: tutor@python.org Cc: Sent: Friday, February 28, 2014 10:33 AM Subject: Re: [Tutor] running unittests on multiple OS, including non-Posix Albert-Jan Roskam fo...@yahoo.com writes: I would like to run my

Re: [Tutor] When to use multiprocessing Managers?

2014-02-28 Thread James Chapman
Thanks for the replies so far... As per the subject line, yes I'm talking about managers and any object a manager is capable of spawning. This is not version specific or code specific, it's more a discussion on when to use a manager and when it's not needed. From the OReilly link sent by

Re: [Tutor] Python help

2014-02-28 Thread James Chapman
The answer lies in this page: http://docs.python.org/3.3/library/stdtypes.html#string-methods -- James On 28 February 2014 11:44, James Chapman ja...@uplinkzero.com wrote: The answer lies in this page: http://docs.python.org/3.3/library/stdtypes.html#string-methods -- James On 28

[Tutor] Reg: How to read string from a static text box from a GUI made in VC++

2014-02-28 Thread Shweta Kaushik
Hi, I am writing a script to automate GUI which is designed in VC++. How to read strings from a static box using python(pywinauton). Can you provide function details? Thanks Regards, Shweta Kaushik HCL Technologies Ltd. Mob: +91 9500042351 Extn: 51904 ::DISCLAIMER::

Re: [Tutor] Reg: How to read string from a static text box from a GUI made in VC++

2014-02-28 Thread Alan Gauld
On 28/02/14 11:41, Shweta Kaushik wrote: Hi, I am writing a script to automate GUI which is designed in VC++. How to read strings from a static box using python(pywinauton). That's a bit off topic for this list, we focus on core Python language and standard library issues. You could try

Re: [Tutor] running unittests on multiple OS, including non-Posix

2014-02-28 Thread Mark Lawrence
On 28/02/2014 09:14, Albert-Jan Roskam wrote: Hi, I would like to run my unittests (-- nose) on multiple platforms. I also would like to test different python versions and implementations on each platform (-- tox [2]). These platforms also include Windows, so Travis CI or Docker is not an

[Tutor] win32api win32gui help

2014-02-28 Thread Joe Bennett
Looking for a good simple remedial course on getting my python script to talk to a Windows program. The author of the windows program has documented the api here: http://www.logger32.net/help/Logger32/Using%20the%20Logger32%20External%20Interface.htm I'm struggling to understand how to

Re: [Tutor] win32api win32gui help

2014-02-28 Thread Alan Gauld
On 28/02/14 17:22, Joe Bennett wrote: Looking for a good simple remedial course on getting my python script to talk to a Windows program. The author of the windows program has documented the api here: http://www.logger32.net/help/Logger32/Using%20the%20Logger32%20External%20Interface.htm This

[Tutor] Help with Guess the number script

2014-02-28 Thread Scott W Dunning
Hello, i am working on a project for learning python and I’m stuck. The directions are confusing me. Please keep in mind I’m very ne to this. The directions are long so I’ll just add the paragraphs I’m confused about and my code if someone could help me out I’d greatly appreciate it! Also,

Re: [Tutor] Help with Guess the number script

2014-02-28 Thread Ben Finney
Scott W Dunning swdunn...@cox.net writes: def get_guess(guess_number): print (,guess_number,)Plese enter a guess: current_guess = raw_input() return int(guess_number) You've bound the name ‘current_guess’ to the user's input, but then do nothing with it for the rest of the