On 20/03/17 22:09, ਪੰਜਾਬ ਪੰਜਾਬੀ wrote:
> Looking for recommendations on Python module to use to generate HTML
> pages/tables, other HTML content. Kindly help.
While thee are some modules that help with this most Python
programs I've seen just generate the HTML directly as strings.
There is no di
On 20/03/17 19:37, Edzard de Vries wrote:
> I have a CSV which I want to be able to read in Python.
Are you using the csv module?
Have you read the documentation for that?
It gives several examples.
If not already then use csv. If you are using it
and still have problems send the code and errors
Hi,
Reading (and processing and writing) CSV files
https://github.com/slott56/introduction-python-csv/blob/master/README.md
On Mar 22, 2017 06:18, "Edzard de Vries" wrote:
I have a CSV which I want to be able to read in Python. I don't know the
exact syntax and I get error messages. Where c
thanks for your feedback! @boB
I wrote a function that does exactly what I want, and that is:
Create a shopping list and then let the user decide which items (food)
are supposed to be instantly consumed and which ones stored.
def ManageFood():
create_shopping_list = []
prompt = ("Which fo
Hi,
Please take a look at https://pypi.python.org/pypi/html
On Mar 22, 2017 06:24, "ਪੰਜਾਬ ਪੰਜਾਬੀ" wrote:
> Hi
>
> Looking for recommendations on Python module to use to generate HTML
> pages/tables, other HTML content. Kindly help.
>
> Regards
> Ni
> ___
Hi
I wonder if you can help.
I'm confused about how functions should work. Below is some code I write to
check my understanding.
I'm expecting two functions to be defined. Then called. One returns a random
number. The other user input (guessing the number).
I expect the return values to ac
Hello All,
I am running with Python 2.7
I have to run script that could have get arguments in two ways:
1. argument + file name.
2. argument + input from pipe.
example for 1:
./my_script.py -t 1,2,3 file_name.txt
example for 2:
grep snd file_name.txt | ./my_script.py -t 1,2,3
I am using "parse_
On Wed, Mar 22, 2017 at 5:17 PM, Richard Mcewan wrote:
> Hi
>
> I wonder if you can help.
>
> I'm confused about how functions should work. Below is some code I write to
> check my understanding.
>
> I'm expecting two functions to be defined. Then called. One returns a random
> number. The other
Yosef Levy wrote:
> Hello All,
>
> I am running with Python 2.7
> I have to run script that could have get arguments in two ways:
> 1. argument + file name.
> 2. argument + input from pipe.
>
> example for 1:
> ./my_script.py -t 1,2,3 file_name.txt
>
> example for 2:
> grep snd file_name.txt |
On 22/03/17 21:17, Richard Mcewan wrote:
> I'm expecting two functions to be defined. Then called.
And thats what you've got. But...
> One returns a random number. The other user input (guessing the number).
And thats also what you've got but you don't do anything
with the returned value you
On Wed, Mar 22, 2017 at 7:30 AM, Rafael Knuth wrote:
> thanks for your feedback! @boB
> ...(it does what it's
> supposed to do, but not sure if a pro would write it same way I did).
I'll leave it to others to evaluate your function which I snipped as I
am not a pro! ~(:>))
>
> Besides that, I w
11 matches
Mail list logo