On Tue, 01 Mar 2016 09:56:56 +0100, Peter Otten wrote:
> Wildman via Python-list wrote:
>
>> I want to take an image file, convert it to XBM format and
>> display it. Thanks to Mr. Otten I can open and display the
>> XBM image without any problems. The script first call
rself."
-Benjamin Franklin
--
https://mail.python.org/mailman/listinfo/python-list
ou can use PIL to read the image and
> transfer the bits into a Tkinter photoimage object. For an example, look
> here:
>
> http://code.activestate.com/recipes/521918-pil-and-tkinter-to-display-images/
>
> (this might need some updating if you are using Python 3)
>
>
nks again for all your help.
--
GNU/Linux user #557453
The cow died so I don't need your bull!
--
https://mail.python.org/mailman/listinfo/python-list
Is there a way to prevent the dialog from displaying hidden
directories? My research has not found anything relating
to hidden files or directories.
--
GNU/Linux user #557453
"Philosophy is common sense with big words."
-James Madison
--
https://mail.python.org/mailman/listinfo/python-list
rror much?
You/We should thank $DIETY he is gone. Take a look in
alt.os.linux or a.o.l.mint or a.o.l.ubuntu sometime.
His nym describes his personality to a tee.
--
GNU/Linux user #557453
May the Source be with you.
--
https://mail.python.org/mailman/listinfo/python-list
Anybody have the correct method of adding an icon to a
window? I have found several code examples on the web
but they all result in an error. Thanks.
--
GNU/Linux user #557453
The cow died so I don't need your bull!
--
https://mail.python.org/mailman/listinfo/python-list
le to figure it out. I would appreciate any help.
--
GNU/Linux user #557453
"Be at war with your vices, at peace with your neighbors,
and let every new year find you a better man."
-Benjamin Franklin
--
https://mail.python.org/mailman/listinfo/python-list
7;ll have to be a lot more specific about what you mean by "add an
> icon to a window". Do you just want to display an .ico file within a
> window?
Sorry. I am talking about the titlebar or system icon.
--
GNU/Linux user #557453
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, 05 Mar 2016 18:38:57 +, Mark Lawrence wrote:
> On 05/03/2016 16:47, Wildman via Python-list wrote:
>> Anybody have the correct method of adding an icon to a
>> window? I have found several code examples on the web
>> but they all result in an error. Thanks.
>
PIL and ImageTk.
>
> Christian
According to "root.eval('info patchlevel')" I have version 8.6.2.
PNG worked. That is good because PNG is a common file type for
Linux icons.
--
GNU/Linux user #557453
The cow died so I don't need your bull!
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, 05 Mar 2016 21:55:40 +0200, Serhiy Storchaka wrote:
> On 05.03.16 18:47, Wildman via Python-list wrote:
>> Anybody have the correct method of adding an icon to a
>> window? I have found several code examples on the web
>> but they all result in an error. Th
On Sat, 05 Mar 2016 16:38:08 -0500, Terry Reedy wrote:
> On 3/5/2016 11:47 AM, Wildman via Python-list wrote:
>> Anybody have the correct method of adding an icon to a
>> window? I have found several code examples on the web
>> but they all result in an error. Thanks.
user #557453
The cow died so I don't need your bull!
--
https://mail.python.org/mailman/listinfo/python-list
conphoto(True, img)
That does not work...
$ ./makexface.py
Traceback (most recent call last):
File "./makexface.py", line 236, in
root.wm_iconphoto(True, img)
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1897, in __getattr__
return getattr(self.tk, attr)
Att
Although I've enabled setting the path when installing 3.5.1 (Win7 x64) I can't
run Python from the command line in a terminal window. It works OK on a
Raspberry Pi 3!
Leon
--
Leon Heller
G1HSM
--
https://mail.python.org/mailman/listinfo/python-list
I am having trouble installing the Python software.
Sent from Windows Mail
--
https://mail.python.org/mailman/listinfo/python-list
still can't get the programme to run
Can you please help with some step by step advice on how to repair this
problem.
Many thanks
Bob
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, 14 Mar 2016 20:56:44 +, Val Krem wrote:
> #!/usr/bin/python
On some Linux systems python is installed in /usr/local/bin.
I would suggest the hash-bang below then python will run no
matter where it was installed...
#!/usr/bin/env python
As a python newbie myself, I can't rea
.python.org/psf/codeofconduct/
and ask themselves if that document has any meaning at all.
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, 14 Mar 2016 20:56:44 +, Val Krem wrote:
> #!/usr/bin/python
On some Linux systems python is installed in /usr/local/bin.
I would suggest using the hash-bang below. It will insure
python will run no matter where it was installed.
#!/usr/bin/env python
--
GNU/Linux user #557
Is there an active online group discussing the use of Python in finance?
Here are some resources for Python in finance I know of. Numpy, scipy, pandas,
and matplotlib are useful packages discussed in the books "Python for Finance"
by Hilpisch and "Python for Data Analysis"
en easily if you read in text files and forget to convert)
Do you think some better error message should be used?
For example a hint that "0" does work for the given argument.
--
https://mail.python.org/mailman/listinfo/python-list
. My research
was not very fruitful.
--
GNU/Linux user #557453
May the Source be with you.
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 22 Mar 2016 02:01:53 +, MRAB wrote:
> On 2016-03-22 01:47, Chris Angelico wrote:
>> On Tue, Mar 22, 2016 at 12:24 PM, Wildman via Python-list
>> wrote:
>>> I have a gui that has text widget and I want to be able to
>>> copy to the clipboard th
On Tue, 22 Mar 2016 12:47:11 +1100, Chris Angelico wrote:
> On Tue, Mar 22, 2016 at 12:24 PM, Wildman via Python-list
> wrote:
>> I have a gui that has text widget and I want to be able to
>> copy to the clipboard the text that is highlighted or the
>> text widget's
Platform: Linux
Python: v.2.7.9
Tkinter: v.8.6.2
My program has some buttons for file operations, load_image,
save_image, and quit. I would like to bind a key that will
execute the procedures for each of the buttons. The binding
for the quit button was easy...
root.bind("", quit)
On Wed, 23 Mar 2016 03:02:51 +, MRAB wrote:
> On 2016-03-23 02:46, Wildman via Python-list wrote:
>> My question is how do I coax bind into executing the
>> button procedures? Or is there a way to generate the
>> button click event from the binding?
>>
> It wo
On Tue, 22 Mar 2016 23:52:57 -0400, Terry Reedy wrote:
> On 3/22/2016 10:46 PM, Wildman via Python-list wrote:
>> Platform: Linux
>> Python: v.2.7.9
>> Tkinter: v.8.6.2
>>
>> My program has some buttons for file operations, load_image,
>> save_image, and
On Wed, 23 Mar 2016 02:47:47 -0400, Terry Reedy wrote:
> On 3/23/2016 12:28 AM, Wildman via Python-list wrote:
>> On Wed, 23 Mar 2016 03:02:51 +, MRAB wrote:
>>
>>> On 2016-03-23 02:46, Wildman via Python-list wrote:
>>>> My question is how do I coax
lence just
like Obamacare reduced insurance rates.
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, 23 Mar 2016 20:34:08 -0400, Dennis Lee Bieber wrote:
> On Wed, 23 Mar 2016 10:58:09 -0500, Wildman via Python-list
> declaimed the following:
>
>>On Wed, 23 Mar 2016 02:47:47 -0400, Terry Reedy wrote:
>>
>>> def load_image(self, _):
>>>
On Thu, 24 Mar 2016 08:06:28 -0400, Dennis Lee Bieber wrote:
> On Wed, 23 Mar 2016 21:17:57 -0500, Wildman via Python-list
> declaimed the following:
>
>>
>>I was referring to procedures called by a button click as
>>opposed to a procedure calledd from elsewhere in t
I am new to python and I want to use web scraping to download songs from
website.
how do I write code to check if the website has uploaded a new song and have
that song automatically be downloaded onto my computer. I know how to use the
requests.get() module but i am more interested in knowing
self.e.pack(padx=5)
self.b = Button(self, text="OK", command=self.ok)
self.b.pack(pady=5)
def ok(self):
print "value is", self.e.get()
root = Tk()
d = MyDialog(root)
root.mainloop()
--
GNU/Linux user #557453
May the Source be with you.
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 24 Mar 2016 21:43:26 -0400, Dennis Lee Bieber wrote:
> On Thu, 24 Mar 2016 11:19:52 -0500, Wildman via Python-list
> declaimed the following:
>
>>
>>I believe I understand. Thanks. If you can't tell, I'm new to
>>Python so the learning process is
I have a program that I have been trying to rewrite so it will
run on Python 2.7 and 3.4. It has been a pain to say the least.
Thank $DIETY for aliases. Anyway, I got it all working except
for one thing. The program has an embedded icon. It is displayed
in the window's titlebar. The icon
On Fri, 25 Mar 2016 01:30:17 -0400, Terry Reedy wrote:
> On 3/25/2016 1:10 AM, Wildman via Python-list wrote:
>> I have a program that I have been trying to rewrite so it will
>> run on Python 2.7 and 3.4. It has been a pain to say the least.
>> Thank $DIETY for aliases.
On Fri, 25 Mar 2016 00:34:13 -0500, Zachary Ware wrote:
> On Fri, Mar 25, 2016 at 12:10 AM, Wildman via Python-list
> wrote:
>> I have a program that I have been trying to rewrite so it will
>> run on Python 2.7 and 3.4. It has been a pain to say the least.
>> Thank $DI
On Sat, 26 Mar 2016 01:42:37 +, Mark Lawrence wrote:
> On 25/03/2016 05:10, Wildman via Python-list wrote:
>> I have a program that I have been trying to rewrite so it will
>> run on Python 2.7 and 3.4.
>
> This http://pythonhosted.org/six/ might come in handy in fut
I can use x[::n] to select every nth element of a list. Is there a one-liner to
get a list that excludes every nth element?
--
https://mail.python.org/mailman/listinfo/python-list
binds both Alt keys with upper and lower case 'q'.
Is there a way to combine the statements above into one
statement?
--
GNU/Linux user #557453
May the Source be with you.
--
https://mail.python.org/mailman/listinfo/python-list
On Saturday, March 26, 2016 at 1:02:06 PM UTC-4, Gary Herron wrote:
> On 03/26/2016 09:49 AM, beliavsky--- via Python-list wrote:
> > I can use x[::n] to select every nth element of a list. Is there a
> > one-liner to get a list that excludes every nth element?
>
> Yes:
>
;, 'b', 'b', 'b']
Is there a one-liner to create a list with repeated elements?
--
https://mail.python.org/mailman/listinfo/python-list
On Saturday, March 26, 2016 at 7:24:10 PM UTC-4, Erik wrote:
> Hi,
>
> On 26/03/16 22:12, beliavsky--- via Python-list wrote:
> > I can create a list that has repeated elements of another list as follows:
> >
> > xx = ["a","b"]
> > nrep = 3
&g
On Saturday, March 26, 2016 at 7:30:14 PM UTC-4, Mark Lawrence wrote:
> On 26/03/2016 22:12, beliavsky--- via Python-list wrote:
> > I can create a list that has repeated elements of another list as follows:
> >
> > xx = ["a","b"]
> > nre
On Sat, 26 Mar 2016 17:47:02 +, MRAB wrote:
> On 2016-03-26 17:10, Wildman via Python-list wrote:
>> I use some key bindings in my program. They are declared
>> like this:
>>
>> root.bind("" + "q", quit)
>> root.bind
On Sun, 27 Mar 2016 08:13:49 -0700, mohamadmaaz5 wrote:
>> > Hello there,
>> > I found a python script
The formatting of the script is all wrong. There are many
spaces that should not be there and no indentations. It
could take a long time to figure it out. It could be
On Sun, 27 Mar 2016 09:15:39 -0700, mohamadmaaz5 wrote:
> On Sunday, March 27, 2016 at 6:07:43 PM UTC+2, Wildman wrote:
>> On Sun, 27 Mar 2016 08:13:49 -0700, mohamadmaaz5 wrote:
>>
>> >> > Hello there,
>> >> > I found a python script
>>
>&
; On Sun, 27 Mar 2016 08:13:49 -0700, mohamadmaaz5 wrote:
>> >>
>> >> >> > Hello there,
>> >> >> > I found a python script
>> >>
>> >> The formatting of the script is all wrong. There are many
>> >> spaces that sh
On Mon, 28 Mar 2016 10:36:44 +0100, Mark Lawrence wrote:
> On 26/03/2016 02:37, Wildman via Python-list wrote:
>> On Sat, 26 Mar 2016 01:42:37 +, Mark Lawrence wrote:
>>
>>> On 25/03/2016 05:10, Wildman via Python-list wrote:
>>>> I have a program that I ha
On Mon, 28 Mar 2016 14:10:28 -0700, jenswaelkens wrote:
> I'm using the tkFileDialog-module in Python 2.7, it works fine except for one
> thing: when I add a title, the title isn't shown.
>
> e.g. I have this line of code:
> inputfilename=tkFileDialog.askopenfilena
I having some problems with Python editor Canopy:
--
https://mail.python.org/mailman/listinfo/python-list
I was having some problems with
Spyder pythonpath...
--
https://mail.python.org/mailman/listinfo/python-list
Ubuntu terminal gives me:
import xlrd
I get "ImportError: No module named xlrd"
Any ideas? I installed it by:
sudo apt-get install python-xlrd
--
https://mail.python.org/mailman/listinfo/python-list
lucas@lucas-K55VD:~$ dpkg -l python-xlrd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
saturated in
the reality most situations is complicated to like the item being offered as
well as misleading tips and plenty of silly lies.
http://premiumnaturalgarciniacambogiahelp.com/new-slim-5-garcinia-cambogia/
--
View this message in context:
http://python.6.x6.nabbl
On Sunday, May 10, 2015 at 9:38:38 PM UTC-4, Ian wrote:
> On Sun, May 10, 2015 at 3:16 PM, Marko Rauhamaa wrote:
> > Scheme is my favorite language. I think, however, it is a pretty
> > advanced language and requires a pretty solid basis in programming and
> > computer scienc
I recommend getting your hands on "Automate The Boring Stuff With Python" from
no starch press:
http://www.nostarch.com/automatestuff
I've not read it in its entirety, but it's very beginner-friendly and is
targeted at just the sort of processing you appear to be doing.
On 22/05/2015 18:47, Grant Edwards wrote:
And of course, the truly_great_ thing about Javascript is...
It's not PHP!
ROTFL ;-)
--
https://mail.python.org/mailman/listinfo/python-list
My 11yo son is taking the online class "Intermediate Programming with Python"
http://www.artofproblemsolving.com/school/course/catalog/python2 offered by the
Art of Problem Solving company (AoPS). Classes meet for 1.5 hours a week for 12
weeks. During the classes the instructor
not explain why you are seeing problems but could give you a
solution that works whilst you fix the underlying issue. Or not in my case!
Andy
--
https://mail.python.org/mailman/listinfo/python-list
in its selection of keynote speakers. I hope not. It
is better to choose the speakers who will give the most interesting talks and
let the demographic chips fall where they may.
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, July 10, 2015 at 2:58:18 PM UTC-4, Chris Angelico wrote:
> On Fri, Jul 10, 2015 at 10:01 PM, beliavsky--- via Python-list
> wrote:
> > On Friday, July 10, 2015 at 7:21:14 AM UTC-4, M.-A. Lemburg wrote:
> >> With Mandy Waite we have announced all keynotes for Eu
es. I
only had a TI-59 as it was half the price of an HP67. The TI had more
memories and program steps and was faster. But it didn't say HP on the
front!
--
https://mail.python.org/mailman/listinfo/python-list
On 18/07/2015 20:10, Joel Goldstick wrote:
On Sat, Jul 18, 2015 at 2:51 PM, mm0fmf via Python-list
wrote:
On 18/07/2015 18:34, Mark Lawrence wrote:
What is an {HP calculator} roll operation?
HP calculators were proper in that they used RPN entry.
i.e. 2 enter 2 + would show 4 instead of
MSDN subscription telling me VS2015
was now available to download. Sorry I didn't study it to see if all the
versions were available now or just some. I've only just started using
VS2013 at work so wasn't worried about VS2015!
--
https://mail.python.org/mailman/listinfo/python-list
you'll find a very extensive Flask tutorial at
http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world .
--
https://mail.python.org/mailman/listinfo/python-list
an entire Perl programming
language directory available in a .zip package. So, people can download
the file, unzip it, and then save it as the Perl directory and .pl
programs will then run on that computer. We would like to be able to do
the same thing with Python if we start working with that langua
resend all of the original for the sake of a
seven word question and a one word answer?
Yes? ;-)
--
https://mail.python.org/mailman/listinfo/python-list
+ A[:i]
Examples:
f([0,2,0,1,0,3,0])
Out[23]: [0, 0, 2, 0, 1, 0, 3]
f([2,3,4,0,1])
Out[24]: [0, 1, 2, 3, 4]
Wolfram
--
https://mail.python.org/mailman/listinfo/python-list
s that compared
speeds.
Comparing Python, NumPy, Matlab, Fortran, etc. (2009)
https://modelingguru.nasa.gov/docs/DOC-1762
Optimizing Python in the Real World: NumPy, Numba, and the NUFFT (2015)
https://jakevdp.github.io/blog/2015/02/24/optimizing-python-with-numpy-and-numba/
--
https://mail.pyt
dules?
--
https://mail.python.org/mailman/listinfo/python-list
On Sunday, August 16, 2015 at 8:00:14 PM UTC-6, Chris Angelico wrote:
> On Mon, Aug 17, 2015 at 5:16 AM, shiva upreti
> wrote:
> > I am new to linux. I tried various things in attempt to install kivy. I
> > installed python 2.7.10 (I think python3 was already installed in
On Sunday, August 16, 2015 at 10:14:29 PM UTC-6, Laura Creighton wrote:
> In a message of Sun, 16 Aug 2015 20:19:49 -0700, rurpy--- via Python-list
> writes:
> >On Sunday, August 16, 2015 at 8:00:14 PM UTC-6, Chris Angelico wrote:
> >>[...]
> >> use pip (maybe in
On 08/17/2015 01:52 AM, Laura Creighton wrote:
> In a message of Sun, 16 Aug 2015 22:05:29 -0700, rurpy--- via Python-list
> writes:
>> So I eventually found the kivy docs on their website where they
>> list prerequisite packages for installing kivy on ubuntu. I'll
Anyone?
--
https://mail.python.org/mailman/listinfo/python-list
nd 80s
> is that it was tied so intimately to Unix, and Unix was taking over from
> mainframes, VAX, etc.
The growth of C and Unix were mutually interdependent, one was not
the cause of the other.
A big factor in the growth of Unix was that it was portable to
new hardware relatively easily,
n pointer, pointer, refer to, referring.
>
> Well we can play humpty dumpty and make any word mean whatever we like.
> However if you are a teacher you will recognize a need for pictures.
> And (as far as I can tell) "Random832" finds a need for the box-n-arrow
> diagrams o
rs are:
Just upthread, you claimed something was "universally agreed"
that was not so at all; so please forgive me for not taking your
*dominated*/single assertion on simply your claim that it is so.
> - they are first-class values; you can assign a pointer to a variable;
Not true
On 09/12/2015 11:48 AM, Steven D'Aprano wrote:
> On Sun, 13 Sep 2015 02:17 am, ru...@yahoo.com wrote:
> [...]
>> the model of Python I eventually
>> developed is very much (I think, haven't read the whole thread) like
>> Random832's. I think of boxes (o
On 09/12/2015 04:14 PM, Emile van Sebille wrote:
> On 9/12/2015 12:58 PM, rurpy--- via Python-list wrote:
>
>> The question is whether what "pointer" means in languages that use the
>> word is*so* different than its meaning in the Python sense
>
> I can'
On 09/12/2015 05:14 PM, Mark Lawrence wrote:
> On 12/09/2015 23:34, rurpy--- via Python-list wrote:
>> On 09/12/2015 04:14 PM, Emile van Sebille wrote:
>>> On 9/12/2015 12:58 PM, rurpy--- via Python-list wrote:
>>>
>>>> The question is whether what "p
On 09/12/2015 05:39 PM, Rustom Mody wrote:
> On Sunday, September 13, 2015 at 4:05:21 AM UTC+5:30, ru...@yahoo.com wrote:
>> On 09/12/2015 04:14 PM, Emile van Sebille wrote:
>>> On 9/12/2015 12:58 PM, rurpy--- via Python-list wrote:
>>>
>>>> The ques
On 09/12/2015 06:02 PM, Ned Batchelder wrote:
> On Saturday, September 12, 2015 at 7:15:18 PM UTC-4, Mark Lawrence wrote:
> [...]
> But in C, pointers mean more than that. You can perform arithmetic on
> them, to access memory as a linearly addressed abstraction. Python has
> no
On Saturday, September 12, 2015 at 6:25:39 PM UTC-6, ru...@yahoo.com wrote:
> On 09/12/2015 05:39 PM, Rustom Mody wrote:
> [...]
> > which may be summarized as:
> > 1. Steven (quoting Online dictionary): Pointer = Address
> > 2. Steven: "Python has pointers" is
On 09/12/2015 08:42 PM, Ben Finney wrote:
> Michael Torrie writes:
>> On 09/12/2015 08:22 PM, Mark Lawrence wrote:
>>> You appear to have the same level of knowledge of Python internals as
>>> the RUE has of the Python 3.3+ FSR unicode implementation. Let's have
ion. It's one thing to respond when a person
> comes into a thread to troll unbidden; it is quite another to taunt them
> unprompted.
Thank you for making that clear.
--
https://mail.python.org/mailman/listinfo/python-list
t; doesn't sound like something I would say. Do
> you have a link to where I said that?
> I think you're confusing me with somebody else. Somebody who is not me.
I should have copy/pasted rather than paraphrasing from memory. You
said "near-universal agreement" (&quo
On Monday, September 14, 2015 at 5:23:32 PM UTC-6, Laura Creighton wrote:
>[...]
> I don't know about the others, but I am finding this rather more
> entertaining than another round of 'python -- does it have pointers'
> in python-list.
Could we please dispense wi
originally thought that it was because it was missing the files:
process_init.py and process_global_variables.py however they are right there in
the same directory.
File contents for the bat file:
@echo off
python process_init.py
python process_global_variables.py
python process_scripts.py
@del *.pyc
ime.sleep(1)
self.ser.write(chr(26))
time.sleep(1)
print "message sent!"
def disconnectPhone(self):
self.ser.close()
When run it, the "message sent!" is printed but no message is sent/delivered.
Please assist on what I am missing. Thank you
If it's like the GSM modem I used then you should replace those "\r"
strings with "\r\n".
--
https://mail.python.org/mailman/listinfo/python-list
you have 10 minutes😂 Good luck!!
1. What is PEP8 ?
2. What are the different ways to distribute some python source code ?
2 Lists
Let's define the function plural :
def plural(words):
plurals = []
for word in words:
plurals.append(word + 's')
return plura
On 26/09/2015 18:14, Jacob Chaar wrote:
Hi there,
So, I download Python 3.5.0 and I while I execute the Python IDLE, it
won’t start up. Also, I try to open the python command line and a
message error pop up.
If you can help me, it will be really appreciate.
Regards,
Jacob Chaar
Maybe if
There used to be a blog about SciPy at https://planet.scipy.org/ , discussing
the applications of Python to scientific computing. Now there is a static page
about "MPI for Python". What happened?
--
https://mail.python.org/mailman/listinfo/python-list
code above falls into an infinite loop, printing :
2
3
4
5
6
7
8
9
...
198435
198436
198437
^Z
So why lists and sets don't react the same way?
--
https://mail.python.org/mailman/listinfo/python-list
Thanks for the response and the reference, indeed sets and lists behave
differently...
--
https://mail.python.org/mailman/listinfo/python-list
Idle subprocess error cant use editor.
Sent from Windows Mail--
https://mail.python.org/mailman/listinfo/python-list
i'm mainly a PHP man but playing with python recently!
I have a very small class that retrieves data from a very small sqlite3 db
called encyclopedia,which has a table called wiki & two field called one & two
(yes I know - no imagination, I should get out more!):
import sql
t;
self.conn.close()
x = do()
x.doConn()
#all select statements work , the first two strings are defined under class so
referencing with 'self' works. other is defined inside method so doesn't need
it.
--
https://mail.python.org/mailman/listinfo/python-list
2001 - 2100 of 6446 matches
Mail list logo