Thank you. I will read it next.
Here is another short one that I found:
http://www.wdvl.com/Authoring/python/SQLite/Watts07162009.html
If anyone knows of other tutorials on python and sqlite, please tell me of
them.
On Sun, Jan 31, 2010 at 11:08 PM, Victoria Wood <
cabbagetreecust...@gmail.com> w
I would appreciate some help on this:
I want a script that can
1. determine the fieldnames from a csv file from the first line
2. determine the maximum length of data for each field in that file.
So far I could not figure out how to do 1 and my effort for the second
one is not working as expecte
Hi, I am very new to Python myself and decided to use sqlite so I could
learn about gui programming. Although it has a lot of adverts on and is
short I found this tutorial very useful
http://www.devshed.com/c/a/Python/Using-SQLite-in-Python/
I hope I have replied to this correctly.
Victoria
On
On Mon, Feb 1, 2010 at 6:27 AM, invincible patriot
wrote:
> thanks for the reply
> i did one question
> i will tel u my progress in another question n then u tel me that what next
> must be done
> thatz the question
> i think that first i woulf take a string 'foobar'
> convert it into a list
>
> i just don wana index all the characters rather i wana double it too like
> ['d','a','v','i','d']
> would b
> ['d','dd','a','aa','v','vv','i','ii','d','dd']
> and then i wana replace all non 'd' characters with '.' a dot
> i know how replace a specific character, but i don know how to
> rep
Hello,
I am still unable to get this to work correctly!
In [1]: file=open('producers_google_map_code.txt', 'r')
In [2]: data = repr( file.read().decode('utf-8') )
In [3]: from BeautifulSoup import BeautifulStoneSoup
In [4]: soup = BeautifulStoneSoup(data)
In [6]: soup
http://paste.lisp.org/d
On Sun, Jan 31, 2010 at 3:27 PM, invincible patriot <
invincible_patr...@hotmail.com> wrote:
> thanks for the reply
> i did one question
> i will tel u my progress in another question n then u tel me that what next
> must be done
>
> thanks
>
> Write a small Python program that generates the list
i just don wana index all the characters rather i wana double it too like
['d','a','v','i','d']
would b
['d','dd','a','aa','v','vv','i','ii','d','dd']
and then i wana replace all non 'd' characters with '.' a dot
i know how replace a specific character, but i don know how to replace all
char
В 21:21 + на 31.01.2010 (нд), invincible patriot написа:
> Hi
> can any one tel me how can i do indexing of individual characters in
> python
> like if i hav a word eg david
> a='david'
> b=list(a)
> # this will give ['d','a','v','i','d']
> not i want to print the index of each character
> how
+1
Agreed. Why "do" python if you can't take the time to learn it. One must
put in the work, or at least show what work has been done when not being
able to reach a solution just quite yet.
On Sun, Jan 31, 2010 at 12:49 PM, Shashwat Anand
wrote:
> +1
>
> On Mon, Feb 1, 2010 at 2:01 AM, David
On 31 January 2010 22:21, invincible patriot
wrote:
> can any one tel me how can i do indexing of individual characters in python
> like if i hav a word eg david
> a='david'
> b=list(a)
> # this will give ['d','a','v','i','d']
> not i want to print the index of each character
> how can i do that
>
thanks for the reply
i did one question
i will tel u my progress in another question n then u tel me that what next
must be done
thanks
Write a small Python program that generates the list of all pairs of characters
c and
its doubling 2 c, where c moves through all the letters of the string
Sorry, I forgot to hit Reply All.
That is so cool! My first look at 'pastebin.' THANKS!
I already finished the code up several hours ago. If I can figure out
how to post it there.
Ken
Robert Berman wrote:
-Original Message-
From: tutor-bounces+bermanrl=cfl.rr@python.org
[
Hi
can any one tel me how can i do indexing of individual characters in python
like if i hav a word eg david
a='david'
b=list(a)
# this will give ['d','a','v','i','d']
not i want to print the index of each character
how can i do that
please tel me
thanks
+1
On Mon, Feb 1, 2010 at 2:01 AM, David Abbott wrote:
> On Sun, 2010-01-31 at 11:58 -0800, David Hutto wrote:
> >
> >
> > --- On Sun, 1/31/10, Woodwerks wrote:
> >
> >
> >
> >
> > I think the way you give hints and ideas about how to
> > accomplish something in Python is excell
On Sun, 2010-01-31 at 11:58 -0800, David Hutto wrote:
>
>
> --- On Sun, 1/31/10, Woodwerks wrote:
>
>
>
>
> I think the way you give hints and ideas about how to
> accomplish something in Python is excellent. I sometimes work
> through these pr
--- On Sun, 1/31/10, Woodwerks wrote:
From: Woodwerks
Subject: [Tutor] kudos to alan
To: tutor@python.org
Date: Sunday, January 31, 2010, 2:33 PM
Message: 4
Date: Sun, 31 Jan 2010 11:01:19 -0500
From: "R. Alan Monroe"
To:tutor@python.org
Subject: Re: [Tutor] can any one help
Message-ID:<46810
-Original Message-
From: tutor-bounces+bermanrl=cfl.rr@python.org
[mailto:tutor-bounces+bermanrl=cfl.rr@python.org] On Behalf Of Ken G.
Sent: Sunday, January 31, 2010 10:41 AM
To: tutor@python.org
Subject: [Tutor] Future Appointments...
Below is a program to determine when my nex
Message: 4
Date: Sun, 31 Jan 2010 11:01:19 -0500
From: "R. Alan Monroe"
To:tutor@python.org
Subject: Re: [Tutor] can any one help
Message-ID:<4681047264.20100131110...@columbus.rr.com>
Content-Type: text/plain; charset=us-ascii
I think the way you give hints and ideas about how to accomplish some
Since v2.5, SQLite is included in the Standard Library. You can get docs at
the Python website, or in the handy chm that comes with the Windows
distribution.
Cheers
On Sunday 31 January 2010, Samuel de Champlain wrote:
> My project is relatively light and postgresql or mysql might be overkill
Yes, it works fine with sqlite. I've seen very large projects use it just
fine.
I'd recommend googling "pysqlite" or something similar.
-Luke
On Sun, Jan 31, 2010 at 11:03 AM, Samuel de Champlain <
samueldechampl...@gmail.com> wrote:
> My project is relatively light and postgresql or mysql might
Please reply on-list unless you really need to speak to me off-list.
Use "reply-all" to reply to everyone.
Tutor doesn't work in that you get one of us as a tutor and we help you with
every problem you have. For this mailing list you e-mail us a specific
problem and everyone collaborates to guide
My project is relatively light and postgresql or mysql might be overkill.
Does python work well with sqlite?
If so, can you point me towards the proper libraries and manuals/tutorials?
Thanks.
___
Tutor maillist - Tutor@python.org
To unsubscribe or chan
"Ken G." wrote
In using Geany, I have the ability to complied a Python program. For
example, I can complied "program.py" to program.pyc."
You compile (note spelling) a python script everytime you import it
(if it has not already been compiled).
If you compile a new(or changed) script Python
Forwarding since I assume this was meant to go
to either the list or the OP, rather than
just me...
Alan Gauld
Author of the Learn To Program website
http://www.alan-g.me.uk/
>
>- Forwarded Message
>From: Samuel de Champlain
>To: Alan Gauld
>Sent: Sunday, 31 January, 2010 14:40:36
On Sun, Jan 31, 2010 at 9:46 AM, Ken G. wrote:
> In using Geany, I have the ability to complied a Python program. For
> example, I can complied "program.py" to program.pyc."
>
> What is the purpose of a complied Python program? Can it be transported to
> another computer without Python installe
On 31 January 2010 16:40, Ken G. wrote:
> Below is a program to determine when my next appointment is. Line numbers
> are provided for reference only.
>
> 01 import time, datetime, sys
> 02 from datetime import date
> 03 today = date.today()
> 04 print
> 05 print "Today date is:", today
> 06
Grigor Kolev
From: tutor-bounces+bermanrl=cfl.rr@python.org
[mailto:tutor-bounces+bermanrl=cfl.rr@python.org] On Behalf Of
invincible patriot
Sent: Sunday, January 31, 2010 5:03 AM
To: rabidpoob...@gmail.com; grigor.ko...@gmail.com
Cc: tutor@python.org
Subject: Re: [Tutor] can any one hel
> 1 1.1 Write a Python program with a loop that prints out a sequence
> of numbers as follows:15 13 11...3 1 -1
Hint 1: Learn about FOR loops.
Hint 2: Learn about the RANGE command.
Hint 3: Show us some code you have written. Even if yours doesn't
work, we can probably spot WHY it doesn't work.
In using Geany, I have the ability to complied a Python program. For
example, I can complied "program.py" to program.pyc."
What is the purpose of a complied Python program? Can it be transported
to another computer without Python installed as run as it is? For
example, use "run program.pyc"
Below is a program to determine when my next appointment is. Line
numbers are provided for reference only.
01 import time, datetime, sys
02 from datetime import date
03 today = date.today()
04 print
05 print "Today date is:", today
06 todaystr = str(today)
07 print
08 print "Corrected d
On Sat, 30 Jan 2010 19:45:04 -0600
Luke Paireepinart wrote:
> The key here is the "for line in infile" will not keep the whole file in
> memory
... provided the file is structured in lines.
(Also, the searched term should not be nore hold a newline).
Denis
la
please check the questions below.
1 1.1 Write a Python program with a loop that prints out a sequence of numbers
as follows:151311...31-1
1.2 Write a small Python program that generates the list of all pairs of
characters c andits doubling 2 c, where c moves through all the letters of
the st
"nikunj badjatya" wrote
I have one important question to ask to all of you,
I am a fresher, recently completed my graduation, had started working on
python 2 months back..!! and I just fell in love with the language.
The only concern is there arent enough companies which work on Python.
How
34 matches
Mail list logo