Re: Request More Help With XBM Image

2016-03-01 Thread Wildman via Python-list
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

Re: Request More Help With XBM Image

2016-03-01 Thread Wildman via Python-list
rself." -Benjamin Franklin -- https://mail.python.org/mailman/listinfo/python-list

Re: Request More Help With XBM Image

2016-03-01 Thread Wildman via 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) > >

Re: Request More Help With XBM Image

2016-03-01 Thread Wildman via Python-list
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

tkFileDialog Question

2016-03-02 Thread Wildman via 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

Re: creating zipfile with symlinks

2016-03-04 Thread Wildman via 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

Adding Icon To Tkinter Window

2016-03-05 Thread Wildman via 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

Re: Adding Icon To Tkinter Window - Followup

2016-03-05 Thread Wildman via 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

Re: Adding Icon To Tkinter Window

2016-03-05 Thread Wildman via 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

Re: Adding Icon To Tkinter Window

2016-03-05 Thread Wildman via 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. >

Re: Adding Icon To Tkinter Window - Followup

2016-03-05 Thread Wildman via Python-list
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

Re: Adding Icon To Tkinter Window

2016-03-05 Thread Wildman via 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

Re: Adding Icon To Tkinter Window

2016-03-05 Thread Wildman via Python-list
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.

Re: Adding Icon To Tkinter Window

2016-03-05 Thread Wildman via Python-list
user #557453 The cow died so I don't need your bull! -- https://mail.python.org/mailman/listinfo/python-list

Re: Adding Icon To Tkinter Window - Followup

2016-03-06 Thread Wildman via 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

Path problem with 3.5.1

2016-03-08 Thread leon_heller--- via Python-list
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

Hello

2016-03-11 Thread rubengoodson3--- via Python-list
I am having trouble installing the Python software. Sent from Windows Mail -- https://mail.python.org/mailman/listinfo/python-list

Loading error message

2016-03-13 Thread BobFtz--- via 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

Re: Different sources of file

2016-03-14 Thread Wildman via 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

Re: Encapsulation in Python

2016-03-14 Thread rurpy--- via Python-list
.python.org/psf/codeofconduct/ and ask themselves if that document has any meaning at all. -- https://mail.python.org/mailman/listinfo/python-list

Re: Different sources of file

2016-03-15 Thread Wildman via 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

discussion group for Python in finance?

2016-03-18 Thread beliavsky--- via Python-list
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"

Replace weird error message?

2016-03-19 Thread the.gerenuk--- via Python-list
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

Copy To Clipboard Highlighted Text From Text Widget

2016-03-21 Thread Wildman via 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

Re: Copy To Clipboard Highlighted Text From Text Widget

2016-03-21 Thread Wildman via 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

Re: Copy To Clipboard Highlighted Text From Text Widget

2016-03-21 Thread Wildman via Python-list
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

Key Binding Problem

2016-03-22 Thread Wildman via Python-list
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)

Re: Key Binding Problem

2016-03-22 Thread Wildman via Python-list
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

Re: Key Binding Problem

2016-03-22 Thread Wildman via Python-list
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

Re: Key Binding Problem

2016-03-23 Thread Wildman via Python-list
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

Re: Key Binding Problem

2016-03-23 Thread Wildman via Python-list
lence just like Obamacare reduced insurance rates. -- https://mail.python.org/mailman/listinfo/python-list

Re: Key Binding Problem

2016-03-23 Thread Wildman via 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, _): >>>

Re: Key Binding Problem

2016-03-24 Thread Wildman via Python-list
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

Web Scraping

2016-03-24 Thread 121sukha via Python-list
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

Re: Tkinter --> Why multiple windows

2016-03-24 Thread Wildman via Python-list
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

Re: Key Binding Problem

2016-03-24 Thread Wildman via 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

Problem With Embedded Icon and Python 3.4

2016-03-24 Thread Wildman via Python-list
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

Re: Problem With Embedded Icon and Python 3.4

2016-03-25 Thread Wildman via Python-list
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.

Re: Problem With Embedded Icon and Python 3.4

2016-03-25 Thread Wildman via Python-list
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

Re: Problem With Embedded Icon and Python 3.4

2016-03-25 Thread Wildman via Python-list
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

Exclude every nth element from list?

2016-03-26 Thread beliavsky--- via Python-list
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

Another Key Binding Question

2016-03-26 Thread Wildman via 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

Re: Exclude every nth element from list?

2016-03-26 Thread beliavsky--- via 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: >

repeat items in a list

2016-03-26 Thread beliavsky--- via Python-list
;, 'b', 'b', 'b'] Is there a one-liner to create a list with repeated elements? -- https://mail.python.org/mailman/listinfo/python-list

Re: repeat items in a list

2016-03-26 Thread beliavsky--- via 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

Re: repeat items in a list

2016-03-26 Thread beliavsky--- via Python-list
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

Re: Another Key Binding Question

2016-03-26 Thread Wildman via Python-list
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

Re: Help with python script for NMR

2016-03-27 Thread Wildman via Python-list
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

Re: Help with python script for NMR

2016-03-27 Thread Wildman via Python-list
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 >> >&

Re: Help with python script for NMR

2016-03-27 Thread Wildman via Python-list
; 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

Re: Problem With Embedded Icon and Python 3.4

2016-03-28 Thread Wildman via Python-list
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

Re: [newbie] tkFileDialog does not show title

2016-03-28 Thread Wildman via Python-list
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

Canopy editor

2015-05-02 Thread lbertolotti via Python-list
I having some problems with Python editor Canopy: -- https://mail.python.org/mailman/listinfo/python-list

Canopy editor-Variables browser and help

2015-05-02 Thread lbertolotti via Python-list
I was having some problems with Spyder pythonpath... -- https://mail.python.org/mailman/listinfo/python-list

Python xlrd

2015-05-02 Thread lbertolotti via 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

Re: Python xlrd

2015-05-03 Thread lbertolotti via 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

http://premiumnaturalgarciniacambogiahelp.com/new-slim-5-garcinia-cambogia/

2015-05-04 Thread briansgoins via Python-list
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

Re: Instead of deciding between Python or Lisp for a programming intro course...What about an intro course that uses *BOTH*? Good idea?

2015-05-11 Thread beliavsky--- via Python-list
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

Re: Looking for direction

2015-05-20 Thread darnold via Python-list
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.

Re: Ah Python, you have spoiled me for all other languages

2015-05-22 Thread mm0fmf via Python-list
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

Python programming classes for children

2015-07-01 Thread beliavsky--- via 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

Re: bottle app "crashes"

2015-07-06 Thread mm0fmf via Python-list
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

Re: The EuroPython 2015 Keynotes

2015-07-10 Thread beliavsky--- via 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

Re: The EuroPython 2015 Keynotes

2015-07-10 Thread beliavsky--- via 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

Re: Need assistance

2015-07-18 Thread mm0fmf via Python-list
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

Re: Need assistance

2015-07-18 Thread mm0fmf via 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

Re: what windows compiler for python 3.5?

2015-07-24 Thread mm0fmf via Python-list
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

Re: How may I learn Python Web Frameworks

2015-07-24 Thread darnold via 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

Re: Python Questions - July 25, 2015

2015-07-26 Thread mm0fmf via 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

Re: Python Questions - July 25, 2015

2015-07-27 Thread mm0fmf via Python-list
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

Re: Most pythonic way of rotating a circular list to a canonical point

2015-08-01 Thread wolfram.hinderer--- via 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

Re: Python speed

2015-08-07 Thread beliavsky--- via 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

Flan definition collision

2015-08-10 Thread smahabole--- via Python-list
dules? -- https://mail.python.org/mailman/listinfo/python-list

Re: "no module named kivy" import error in ubuntu 14.04

2015-08-16 Thread rurpy--- via 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

Re: "no module named kivy" import error in ubuntu 14.04

2015-08-16 Thread rurpy--- via Python-list
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

Re: "no module named kivy" import error in ubuntu 14.04

2015-08-17 Thread rurpy--- via Python-list
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

Re: Canopy editor-Variables browser and help

2015-08-23 Thread lbertolotti via Python-list
Anyone? -- https://mail.python.org/mailman/listinfo/python-list

Re: Python handles globals badly.

2015-09-10 Thread rurpy--- via 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,

Re: Terminology: "reference" versus "pointer"

2015-09-12 Thread rurpy--- via Python-list
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

Re: Terminology: "reference" versus "pointer"

2015-09-12 Thread rurpy--- via Python-list
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

Re: Terminology: "reference" versus "pointer"

2015-09-12 Thread rurpy--- via Python-list
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

Re: Terminology: "reference" versus "pointer"

2015-09-12 Thread rurpy--- via Python-list
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'

Re: Terminology: "reference" versus "pointer"

2015-09-12 Thread rurpy--- via Python-list
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

Re: Terminology: "reference" versus "pointer"

2015-09-12 Thread rurpy--- via Python-list
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

Re: Terminology: "reference" versus "pointer"

2015-09-12 Thread rurpy--- via Python-list
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

Re: Terminology: "reference" versus "pointer"

2015-09-12 Thread rurpy--- via Python-list
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

Re: Terminology: "reference" versus "pointer"

2015-09-13 Thread rurpy--- via Python-list
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

Re: Terminology: "reference" versus "pointer"

2015-09-13 Thread rurpy--- via Python-list
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

Re: Terminology: "reference" versus "pointer"

2015-09-13 Thread rurpy--- via 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

Re: [Datetime-SIG] Are there any "correct" implementations of tzinfo?

2015-09-14 Thread rurpy--- via Python-list
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

.bat file trouble.

2015-09-18 Thread bobertini--- via Python-list
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

Re: Successfully send sms with python

2015-09-22 Thread mm0fmf via Python-list
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

A little test for you Guys😜

2015-09-22 Thread Python_Teacher via 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

Re: Python IDLE won't start

2015-09-27 Thread mm0fmf via Python-list
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

Planet Scipy blog

2015-10-08 Thread beliavsky--- via Python-list
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

Sets vs lists loop behaviour if size changes

2015-10-14 Thread candide via 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

Re: Sets vs lists loop behaviour if size changes

2015-10-14 Thread candide via 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

2015-10-16 Thread briankeithroby--- via Python-list
Idle subprocess error cant use editor. Sent from Windows Mail-- https://mail.python.org/mailman/listinfo/python-list

string class variable to sqlite3

2015-10-17 Thread andybrookestar--- via 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

Re: string class variable to sqlite3

2015-10-18 Thread andybrookestar--- via Python-list
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

<    16   17   18   19   20   21   22   23   24   25   >