__
>From: Dave Angel
>To: tutor@python.org
>Sent: Wednesday, May 29, 2013 2:11 PM
>Subject: Re: [Tutor] walk registry using _winreg
>
>
>On 05/29/2013 04:11 AM, Albert-Jan Roskam wrote:
>> Hello,
>>
>> I created a program to go through the windows registry and look for
Hey Hi
if possible can u guys please help me regarding accessing Google spreadsheet
with the help of python
i have gone through many blog but have not found any valid solution
i trying to access google spreadsheet with help of python in eclipse if you can
suggest it would really be a lot of h
On 30/05/2013 17:35, Sumeet Singh wrote:
Hey Hi
if possible can u guys please help me regarding accessing Google
spreadsheet with the help of python
i have gone through many blog but have not found any valid solution
i trying to access google spreadsheet with help of python in eclipse if
you can
___
> From: Sumeet Singh
>To: "tutor@python.org"
>Sent: Thursday, May 30, 2013 6:35 PM
>Subject: [Tutor] google spreadsheet
>
>
>
>Hey Hi
>if possible can u guys please help me regarding accessing Google spreadsheet
>with the help of python
>i have gone through
In addition to my previous reply: here's a colour-coded version of the code:
http://pastebin.com/bZEezDSG
("Readability counts")
Â
Regards,
Albert-Jan
~~
All right, but apart from the sanitation, the medicine, education, wine,
Sending again to the list (sorry boB)...
On 29 May 2013 17:51, boB Stepp wrote:
>> I don't know exactly how str.join is implemented but it does not use
>> this quadratic algorithm. For example if str.join would first compute
>> the length of the resulting string first then it can allocate memory
[Reordered response to after quote]
Thomas Murphy wrote:
>
>
> > There are a few issues here:
> > * variable names should be lower case
> > * for this case it's best to use for loop with range()
> > * you calculate random number only once, outside of loop
> >
> > Try something like:
> >
> > for c
On 30/05/13 02:51, boB Stepp wrote:
On Wed, May 29, 2013 at 11:07 AM, Oscar Benjamin
wrote:
I don't know exactly how str.join is implemented but it does not use
this quadratic algorithm. For example if str.join would first compute
the length of the resulting string first then it can allocate
On Thu, May 30, 2013 at 10:47 AM, Albert-Jan Roskam wrote:
>
> def walkRegistry(regkey, keyToSet="file_locations",
> valueToSet="temp_dir",
> HKEY=_winreg.HKEY_CURRENT_USER, verbose=False):
I suppose you don't need the "sam" option in your case, but in general
it
On Wed, May 29, 2013 at 12:51 PM, boB Stepp wrote:
> On Wed, May 29, 2013 at 11:07 AM, Oscar Benjamin
> wrote:
>
>> I don't know exactly how str.join is implemented but it does not use
>> this quadratic algorithm. For example if str.join would first compute
>> the length of the resulting string f
On Thu, May 30, 2013 at 12:50 PM, Mark Lawrence wrote:
>>
>> i trying to access google spreadsheet with help of python
>
> Start here
> https://developers.google.com/google-apps/documents-list/v1/
> developers_guide_python
> I guess!!!
>
> --
> If you're using GoogleCrap™ please read this
:D
On 30/05/13 17:35, Sumeet Singh wrote:
if possible can u guys please help me regarding accessing Google
spreadsheet with the help of python
This list is for people learning Python and its standard library.
You will likely get more help on the main Python mailing
list/newsgroup.
Or possibly a
Jim Mooney wrote:
> Sent: Wednesday, May 22, 2013 11:28 AM
> To: tutor@python.org
> Subject: [Tutor] To error statement or not to error statement
>
> >> "I find it amusing when novice programmers believe their main job is
> >> preventing programs from crashing. ... More experienced programmers rea
On 30 May 2013 21:35, eryksun wrote:
> In terms of sequence methods, it's inplace concatenation. On their
> own, immutable string types only support regular concatenation, but
> the interpreter can evaluate the concatenation inplace for special
> cases. Specifically, it can resize the target strin
On Thu, May 30, 2013 at 6:35 PM, Oscar Benjamin
wrote:
>
> It's also for BINARY_ADD in the form a = a + b:
Right you are. It sees that the next operation is a store back to "a".
It wouldn't work the other way around, i.e. a = b + a.
___
Tutor maillist
On Thu, May 30, 2013 at 3:16 PM, Steven D'Aprano wrote:
>
> Sure enough, ''.join(list-of-substrings) is measurably faster than
> ''.join(iterator-of-substrings).
A tuple or list is used directly. Otherwise join() has to create an
iterator and build a new list.
This isn't directly related to the
16 matches
Mail list logo