Re: Transitioning from Linux to Windows

2017-06-04 Thread chitturk
It is not difficult (for me) - I developed the scripts to analyze files created by two different linux boxes (why two boxes is a longer story) (these are linux machines connected to gene sequencers) - the users are likely going to be fairly naive when it comes to running/using programs - and

Re: Transitioning from Linux to Windows

2017-06-04 Thread chitturk
Precisely - (as Chris wrote) - the problem is NOT python itself (and yes, it can indeed run on windows machines - though I have run into some minor issues) - it is about the "user"/"users" who are pretty clueless if there is no "GUI" - several have suggested django (am going through the

Re: Transitioning from Linux to Windows

2017-06-03 Thread chitturk
On Saturday, June 3, 2017 at 8:50:27 AM UTC-5, Chris Angelico wrote: > Hmm. ISTM the easiest way would be to run an explicit server, probably > HTTP (hence Django as you mentioned), and then you can have people > access it using a client on Windows. With HTTP, that client would > simply be a web

Transitioning from Linux to Windows

2017-06-03 Thread chitturk
I am looking for suggestions, ideas. I have developed python (3.6.x, 2.7.x) scripts that run well as a user on an ubuntu/16.04 system - the scripts look for files, parses the files, assembles an output for the user. I first cd into a particular directory on the system (where I know the files

Re: sphinx (or other means to document python)

2016-09-24 Thread chitturk
On Sunday, September 11, 2016 at 3:56:36 PM UTC-5, chit...@uah.edu wrote: (about being frustrated with sphinx) I _remain_ frustrated - even as I finally figured out how to use it (thanks to a complete example from a friend) sphinx is very picky about spaces, lines - I had a line with some math

sphinx (or other means to document python)

2016-09-11 Thread chitturk
Excuse me for being frustrated (!) (with documenting python with Sphinx) I have a source file myfile.py which contains documentation with "docstrings" I am trying to have Sphinx create the pdf (from latex) I have run through sphinx-quickstart - which creates build, source (there is some

Re: python, pythontex and plots

2013-09-23 Thread chitturk
True, I did not explain what I was trying to do. pythontex is a package that allows the inclusion of python code within a LaTeX document - (sort of like python.sty, but IMO, better) - I use it along with noweb to create documents that contain documentation, code and output of the code - and

python, pythontex and plots

2013-09-22 Thread chitturk
\documentclass[12pt]{article} \usepackage{graphicx} \usepackage{wrapfig} % Allows in-line images \usepackage{pythontex} \setpythontexworkingdir{.} \begin{document} This is an example of using pythontex \begin{pycode} import pylab as p import numpy as np x = np.linspace(0.0,1.0,10) y = 2.0*x +

Re: python, pythontex and plots

2013-09-22 Thread chitturk
. Steve On Sun, 22 Sep 2013 13:26:06 -0700, chitturk wrote: \documentclass[12pt]{article} \usepackage{graphicx} \usepackage{wrapfig} % Allows in-line images \usepackage{pythontex} \setpythontexworkingdir{.} \begin{document} This is an example of using pythontex

Re: linregress and polyfit

2013-09-19 Thread chitturk
tried (1,) - still same error ... printed z and looks right, len(z) OK (puzzling) -- https://mail.python.org/mailman/listinfo/python-list

Re: linregress and polyfit

2013-09-18 Thread chitturk
Thanks - that helps ... but it is puzzling because np.random.normal(0.0,1.0,1) returns exactly one and when I checked the length of z, I get 21 (as before) ... On Tuesday, September 17, 2013 9:34:39 PM UTC-5, Krishnan wrote: I created an xy pair y = slope*x + intercept then I