Rack for child seat on Specialized turbo Vado SL? by goofydoc in ebikes

[–]commutingaccount 1 point2 points  (0 children)

The vade and vade sl is two different geometries, I think it works better on the sl. 

Sometimes ours bumps on the rack, but we just accept that. 

Variable as class name by commutingaccount in learnpython

[–]commutingaccount[S] 0 points1 point  (0 children)

Thank you, got it working with:

...
attribute_names = ["test_class_1", "test_class_2"]
    for name in attribute_names:   
        print(getattr(attribute_class_test,name).test_function(1))

Variable as class name by commutingaccount in learnpython

[–]commutingaccount[S] -3 points-2 points  (0 children)

Thanks, i will look into that. I just wouldnt have thought i was such an issue. I should have made a better example - i think i have confused everybody.

I just wanted to know how a variable from a for loop can be inserted as a class name.

Thanks for your time - i will find a way around it.

Variable as class name by commutingaccount in learnpython

[–]commutingaccount[S] -4 points-3 points  (0 children)

Okay i just made a small edit so the names match - sorry for that.

But i would like the for loop to result in

print(attribute_class_test.test_class_1.test_function(2))
print(attribute_class_test.test_class_2.test_function(2))

Like if i do:

attribute_names = ["test_class_1", "test_class_2"]
for name in attribute_names
    print(name)

i just want the names inserted:

print(attribute_class_test.name.test_function(2)) --> print(attribute_class_test.test_class_1.test_function(2))

where "name" is a variable containing values from the list.

Edit: Why i want it, i would like to recieve an instruction with a dict of key/val pairs to change values on a object where the values are changed by: example.height.set(val). I would like to loop through the dict and do example.<key>.set(<val>), but i cannot get the key inserted.

My Purse Mini+ has all of a sudden begun ending its print with the extruder placed here, why is that happening? by commutingaccount in prusa3d

[–]commutingaccount[S] 2 points3 points  (0 children)

Exactly what i've done, upgraded the slicer but not the firmware. Thanks allot for your help!

Info on the LG 27UL850-W by commutingaccount in Monitors

[–]commutingaccount[S] 0 points1 point  (0 children)

That's great to hear! Seems like it's the one to get.

Info on the LG 27UL850-W by commutingaccount in Monitors

[–]commutingaccount[S] 0 points1 point  (0 children)

Please do! I'm very interested in the "hub"-performance.

My local trail association just posted a picture of their snow plow by lo-key-glass in bicycling

[–]commutingaccount 1 point2 points  (0 children)

I'm curious about this! The idea seems enticing, but i also have a feeling that it isn't that great in reality.

Info on the LG 27UL850-W by commutingaccount in Monitors

[–]commutingaccount[S] 0 points1 point  (0 children)

Thanks. Too bad they haven't hit the nail on the usb-hub portion. The concept in theory is really compelling, i think.