Hi.I'm very interesting in Python programing, i'm starting with a program with but I have one question. I do a list with append that changes the hue each time and the saturation and brightness is the same.
todos=[]
todos.append('color('+str(hue) + ',' + str(saturacion)+ ',' + str(brillo)+')')
print todos
['color(0.27777778,100,100)', 'color(0.55555556,100,100)', 'color(0.83333334,100,100)', 'color(1.11111112,100,100)', 'color(1.3888889,100,100)', 'color(1.66666668,100,100)', 'color(1.94444446,100,100)'...etc
The problem arrive because i need to do for example:
fill(todos[0])
and it's imposible because the list appears with ´´, i need transform or make different the list without ´´ and i don't now how, i need something like that.
[color(0.27777778,100,100), color(0.55555556,100,100), color(0.83333334,100,100), color(1.11111112,100,100), color(1.3888889,100,100), color(1.66666668,100,100), color(1.94444446,100,100)...etc
thank for your time and excuse me for my poor english.
1 1019
Hi.I'm very interesting in Python programing, i'm starting with a program with but I have one question. I do a list with append that changes the hue each time and the saturation and brightness is the same.
todos=[]
todos.append('color('+str(hue) + ',' + str(saturacion)+ ',' + str(brillo)+')')
print todos
['color(0.27777778,100,100)', 'color(0.55555556,100,100)', 'color(0.83333334,100,100)', 'color(1.11111112,100,100)', 'color(1.3888889,100,100)', 'color(1.66666668,100,100)', 'color(1.94444446,100,100)'...etc
The problem arrive because i need to do for example:
fill(todos[0])
and it's imposible because the list appears with ´´, i need transform or make different the list without ´´ and i don't now how, i need something like that.
[color(0.27777778,100,100), color(0.55555556,100,100), color(0.83333334,100,100), color(1.11111112,100,100), color(1.3888889,100,100), color(1.66666668,100,100), color(1.94444446,100,100)...etc
thank for your time and excuse me for my poor english.
I think that you are looking for Sign in to post your reply or Sign up for a free account.
Similar topics
by: wukexin |
last post by:
Help me, good men. I find mang books that introduce bit "mang header
files",they talk too bit,in fact it is my too fool, I don't learn it, I have
do a test program, but I have no correct doing...
|
by: jhon02148 |
last post by:
hi
this hw have four files:
1. for the main program
2. listp.cpp (the source file)
3. listp.h (the header file)
4. exception.h
if there is anybody who could help me with this hw i really...
|
by: Christian Christmann |
last post by:
Hi,
in the past I always appreciated your help and hope that you also can help
me this time. I've spent many many hours but still can't solve the
problem by myself and you are my last hope.
...
|
by: Steve Patrick |
last post by:
Hi All
You guys are my last hope, despite spending money on books and hours reading
them I still can not achieve the results I need.
I have designed a database in Access 2000 based on 1 table,...
|
by: Foodbank |
last post by:
Hi everyone,
I'm having trouble implementing a supposedly simple Least Significant
Digit first Radix Sort. The book I'm using gave me somewhat of a
template that I touched up (below), but I'm...
|
by: duncanblacksmithmath |
last post by:
I know a lot of you have seen this before but I have worked on the
program and have gotten it to work thus far but I need help getting
these two functions to work and implementing them.
Here is...
|
by: Rahul |
last post by:
Hi Everybody
I have some problem in my script. please help me. This is script file.
I have one *.inq file. I want run this script in XML files. But this
script errors shows . If u want i am...
|
by: deppy_3 |
last post by:
Hi.I am started learning Programm language C before some time.I am
trying to make a programm about a very simple "sell shop".This programm
hasn't got any compile problem but when i run it i face...
|
by: sandy |
last post by:
I am creating a class (or so I hope) which is to be a JobCollection,
linked list of 'Job'. Job is another class already created.
JobCollection is just the linked list manager.
I have to have...
|
by: gunimpi |
last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431
********************************************************
VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help
wanted...
|
by: tracyyun |
last post by:
Hello everyone,
I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
|
by: giovanniandrean |
last post by:
The energy model is structured as follows and uses excel sheets to give input data:
1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
|
by: NeoPa |
last post by:
Hello everyone.
I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report).
I know it can be done by selecting :...
|
by: Teri B |
last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course.
0ne-to-many. One course many roles.
Then I created a report based on the Course form and...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM)
Please note that the UK and Europe revert to winter time on...
|
by: nia12 |
last post by:
Hi there,
I am very new to Access so apologies if any of this is obvious/not clear.
I am creating a data collection tool for health care employees to complete. It consists of a number of...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
|
by: isladogs |
last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, Mike...
|
by: GKJR |
last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
| |