Re: [Tutor] Coming from R, what's a good IDE editor? I've tried PyCharm and Spyder

2017-06-04 Thread wolfrage8...@gmail.com
Atom.io Editor is my current favorite after having swapped around a lot. http://www.marinamele.com/install-and-configure-atom-editor-for-python ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org

Re: [Tutor] Running Python code without python installed

2016-08-27 Thread wolfrage8...@gmail.com
There are actually some options here. But all of them will require some form of a installer. The only gotcha is you need an installer for each platform you plan on distributing too. So for Windows I currently use: INNO Setup Installer ( http://www.jrsoftware.org/isinfo.php ) and package the Pytho

Re: [Tutor] Best tool for programming interactive games in Python

2016-03-30 Thread wolfrage8...@gmail.com
On Wed, Mar 30, 2016 at 10:36 AM, john wrote: > On 03/30/2016 04:27 AM, wolfrage8...@gmail.com wrote: >>> >>> I have a few students who are interested in creating interactive games in >>> Python. We have learned how to use tkinter but we are looking for >>&g

Re: [Tutor] Best tool for programming interactive games in Python

2016-03-30 Thread wolfrage8...@gmail.com
>I have a few students who are interested in creating interactive games in >Python. We have learned how to use tkinter but we are looking for > something more robust. I tried using pygame I recommend Kivy; because then it is easy to take the app from computer to Phone; which opens the world of to

Re: [Tutor] OT: (Continuous) integration testing: Can a solo developer with very limited resources truly do this?

2016-03-12 Thread wolfrage8...@gmail.com
>> >>> Does one need to already have installation media for each OS to be >>> used, or are they pre-loaded? If the first, for Windows that could >>> potentially be a chunk of money! >> >> See Here Free Virtual Machines for Windows: >> https://dev.windows.com/en-us/microsoft-edge/tools/vms/windows

Re: [Tutor] OT: (Continuous) integration testing: Can a solo developer with very limited resources truly do this?

2016-03-12 Thread wolfrage8...@gmail.com
> You're already writing unit tests to exercise your code. Whenever you > modify or refactor your code, you exercise your test cases before you > check in the code. All you have to do now is exercise your test cases > on each supported platform or environment. > > If your application is expected

Re: [Tutor] How do I access and manipulate files?

2016-03-12 Thread wolfrage8...@gmail.com
On Fri, Mar 11, 2016 at 8:03 PM, Justin Hayes wrote: > Access: https://docs.python.org/2/library/functions.html#open Basic Manipulation: http://stackoverflow.com/posts/9283052/revisions Please try some code and ask some more specific questions. The Python documentation is pretty good and there is

Re: [Tutor] Changing the interpreter prompt symbol from ">>>" to ???

2016-03-12 Thread wolfrage8...@gmail.com
On Sat, Mar 12, 2016 at 1:53 AM, boB Stepp wrote: > > Thanks for the feedback. I tried out your link, codeanywhere.com . I > have to confess my experience was not a good one. Firstly, the > environment supplied would not accept my space bar characters! So I > could not type any import stateme

Re: [Tutor] Changing the interpreter prompt symbol from ">>>" to ???

2016-03-11 Thread wolfrage8...@gmail.com
Also before I get called out; sorry for the top post; I blame G-Mail's Interface. And good luck finding a better option; perhaps detecting if Unicode is supported on the system then we could use something such as Right Facing Triangle. ___ Tutor maillist

Re: [Tutor] Changing the interpreter prompt symbol from ">>>" to ???

2016-03-11 Thread wolfrage8...@gmail.com
I am not surprised since you have set it to a usually non printable character of ascii the data link escape. Perhaps you would have better luck with the extended ascii characters; but not much in there for arrows. I would probably go with chr(175) but that did not display correctly in the web base

Re: [Tutor] Changing the interpreter prompt symbol from ">>>" to ???

2016-03-11 Thread wolfrage8...@gmail.com
On a web based terminal via codeanywhere.com setting sys.ps1 = chr(16) results in no character being displayed. It is literally just a new line. So something to think about. I set it back to sys.ps1 = '>>>' On Fri, Mar 11, 2016 at 10:59 PM, boB Stepp wrote: > On Fri, Mar 11, 2016 at 9:31 PM, boB

Re: [Tutor] AWS /Django/Apache/Python/Github

2016-02-12 Thread wolfrage8...@gmail.com
I recommend that you give Kivy a try for desktop and mobile give it a look up on YouTube. https://kivy.org/ http://m.youtube.com/watch?v=F7UKmK9eQLY ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python

Re: [Tutor] question

2016-02-12 Thread wolfrage8...@gmail.com
When you say "Window" are you referring to the Installer or Idle? Which Operating System are you using and what version of Python did you download? Did you run the installer that you downloaded? ___ Tutor maillist - Tutor@python.org To unsubscribe or ch

Re: [Tutor] AWS /Django/Apache/Python/Github

2016-02-12 Thread wolfrage8...@gmail.com
What kind of apps do you want to deploy? Mobile; Web; Desktop; or Server? ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

[Tutor] Message Passing & User Interfaces

2016-01-15 Thread wolfrage8...@gmail.com
I realize this is a higher level question; so please direct me as appropriate. I can not seem to find a good standard that is in practical use for controlling user interfaces via a message passing. Does any one have any links to such an example? I would be most grateful. Thank you.

Re: [Tutor] Modularity

2016-01-15 Thread wolfrage8...@gmail.com
Modularity of code is difficult for sure and is kind of an art. To do it best you will have to read about and implement some of the Design Patterns. There are many but some of the ones that I have leaned towards over time are Composition over inheritance, Message Passing Interfaces, Mediator, and

Re: [Tutor] Fwd: Re: creating a mspaint utility

2016-01-15 Thread wolfrage8...@gmail.com
Might I also recommend Kivy as the GUI. It has a nice tutorial that is actually on this subject. https://kivy.org/docs/tutorials/firstwidget.html ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.or

Re: [Tutor] Fwd: Kivy Install

2015-12-17 Thread wolfrage8...@gmail.com
This is a general Python mailing list. For Kivy please reference: https://groups.google.com/forum/#!forum/kivy-users or find the developers on freenode IRC in #kivy This is the official Kivy repository here: https://github.com/kivy/kivy The official Kivy site is here: http://kivy.org/ But you are

Re: [Tutor] Mobile apps in Python

2015-02-14 Thread wolfrage8...@gmail.com
I definitely recommend Kivy. I have enjoyed great success with it, and it was very easy to port my code to work on Android. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tut

Re: [Tutor] Making Doubly Linked List with Less Lines of Code.

2014-12-30 Thread wolfrage8...@gmail.com
On Tue, Dec 30, 2014 at 2:37 PM, Danny Yoo wrote: > If that's the case, then none of this requires linked list storage. > > Instead, we can represent this as a list of rows. Each row element > would be itself a list of tiles. In short, a matrix. See: > https://docs.python.org/2/faq/programming.

Re: [Tutor] My Query - How to implement multi threading with remote execution capability in python to achieve parallel processing

2014-12-22 Thread wolfrage8...@gmail.com
On Mon, Dec 22, 2014 at 10:21 PM, Dave Angel wrote: > On 12/22/2014 09:58 PM, Alex Kleider wrote: > >> >> On Dec 22, 2014 12:36 PM, wolfrage8...@gmail.com wrote: >> >>> >>> On Mon, Dec 22, 2014 at 6:27 AM, Vishwas Pathak < >>> vishwas_pat...@

Re: [Tutor] My Query - How to implement multi threading with remote execution capability in python to achieve parallel processing

2014-12-22 Thread wolfrage8...@gmail.com
On Mon, Dec 22, 2014 at 6:27 AM, Vishwas Pathak < vishwas_pat...@persistent.com> wrote: Your Disclaimer alone means that I can not respond to this question, or else it would apparently become the property of Persistent Systems Ltd. I prefer Open Source to closed source... good day. > > > DISCLAIME

Re: [Tutor] A question about using stdin/out/err vs named files

2014-10-18 Thread wolfrage8...@gmail.com
Are you planning to pipe data to a python program? If so please specify and you will get more complete answers. Specifically I am thinking you want information pertaining to subprocess in the standard library. https://docs.python.org/3/library/subprocess.html On Sat, Oct 18, 2014 at 2:36 PM, Georg

Re: [Tutor] Python Question

2014-01-11 Thread wolfrage8...@gmail.com
It will also be helpful if you tell us your OS and Python Version. Can you also tell us if you are writing the code to a file and executing, using IDLE or some other IDE, or are you using the interpreter interactively? On Fri, Jan 10, 2014 at 8:57 PM, Amy Davidson wrote: > Hey Danny, > > I just

Re: [Tutor] os.system() not working

2013-08-28 Thread wolfrage8...@gmail.com
On Tue, Aug 27, 2013 at 6:33 AM, Nitish Kunder wrote: > Hii > I have a python program which i am calling from a php script. > The arguments to the program is a path to the file > The program when directly run from console executes normally. > But when I try to execute the program from browser ie c

Re: [Tutor] global variables

2013-08-22 Thread wolfrage8...@gmail.com
Steve, Thanks for all of this information. It seems the OP has sparked the kind of discussion that I had hopped for when I posted http://thread.gmane.org/gmane.comp.python.tutor/83251 Luckily though I did get an excellent response from Alan. http://thread.gmane.org/gmane.comp.python.tutor/83251/

Re: [Tutor] Parsing a multi-line/record text file

2012-11-13 Thread wolfrage8...@gmail.com
On Sun, Nov 11, 2012 at 6:01 AM, Marc wrote: > ** > > Hello, > > I am trying to parse a text file with a structure that looks like: > > [record: Some text about the record] > > Attribute 1 = Attribute 1 text > > Attribute 3 = Attribute 3 text > > Attribute 4 = Attribute 4

[Tutor] string to binary and back... Python 3

2012-07-19 Thread wolfrage8...@gmail.com
On Fri, Jul 20, 2012 at 12:33 AM, Dave Angel wrote: > On 07/19/2012 05:55 PM, Prasad, Ramit wrote: > >> I am not sure how to answer that question because all files are binary, > >> but the files that I will parse have an encoding that allows them to be > >> read in a non-binary output. But my p

Re: [Tutor] string to binary and back... Python 3

2012-07-18 Thread wolfrage8...@gmail.com
On Thu, Jul 19, 2012 at 12:16 AM, Dave Angel wrote: > On 07/18/2012 05:07 PM, Jordan wrote: > > OK so I have been trying for a couple days now and I am throwing in the > > towel, Python 3 wins this one. > > I want to convert a string to binary and back again like in this > > question: Stack Over

Re: [Tutor] using dynamic import statements

2012-07-09 Thread wolfrage8...@gmail.com
Might I recommend you use the logging module that is part of core Python rather than rolling your own if Debug. I found the logging module made growing my logging across multiple applications so easy! http://docs.python.org/library/logging.html On Mon, Jul 9, 2012 at 2:10 PM, Chris Hare wrote: >

Re: [Tutor] Coding Challenges

2012-05-21 Thread wolfrage8...@gmail.com
On Mon, May 21, 2012 at 4:47 PM, Malcolm Newsome wrote: > Hey all, > > Being new to programming, I've found that my learning is accelerated when > I've been asked to write scripts and deliver them in a specified time > frame...Then, have those scripts critiqued. > > My question: Would the moderato

Re: [Tutor] Is this possible and should it be done?

2012-05-21 Thread wolfrage8...@gmail.com
On Mon, May 21, 2012 at 4:06 PM, William R. Wing (Bill Wing) wrote: > On May 21, 2012, at 6:38 AM, wolfrage8...@gmail.com wrote: > >> All, I have had a curious idea for awhile, and was wondering the best >> way to implement it in Python and if it is even possible. The concept

[Tutor] Is this possible and should it be done?

2012-05-21 Thread wolfrage8...@gmail.com
Forwarded because I did not reply to the list properly. Hopefully I did not forward wrong. -- Forwarded message -- From: wolfrage8...@gmail.com Date: Mon, May 21, 2012 at 2:18 PM Subject: Re: [Tutor] Is this possible and should it be done? To: Joel Goldstick Thank you for your

[Tutor] Fwd: Is this possible and should it be done?

2012-05-21 Thread wolfrage8...@gmail.com
-- Forwarded message -- From: wolfrage8...@gmail.com Date: Mon, May 21, 2012 at 2:16 PM Subject: Re: [Tutor] Is this possible and should it be done? To: Steven D'Aprano Thank you for the information. Sorry if I implied I wanted to re-invent the wheel but actually this fee

[Tutor] Is this possible and should it be done?

2012-05-21 Thread wolfrage8...@gmail.com
All, I have had a curious idea for awhile, and was wondering the best way to implement it in Python and if it is even possible. The concept is this, a file that is actually a folder that contains multiple files (Like an Archive format). The actual files are really un-important. What I want is for t

Re: [Tutor] Primitive Chess Clock Program Question

2012-01-10 Thread wolfrage8...@gmail.com
>> I assume you want to display something like this: >> >> Enter your next move: 0:30 SNIP > Assuming Steven has guessed right then I think you need to use one of the > non blocking input mechanisms like kbhit() or getch() or somesuch. > > Those methods are notioriously unreliable and OS specific.

Re: [Tutor] Python problem

2012-01-10 Thread wolfrage8...@gmail.com
To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor On Tue, Jan 10, 2012 at 11:04 AM, Bojan Antonijevic wrote: > Hello, > > I send you a mail at 29.12.2011. about problem with my IDLE (Python GUI) and > I didnt recive any ansfer; Instead, I am receiving  c