Re: Pyscripter Issues

2016-03-31 Thread tjohnson

On 3/31/2016 11:29 AM, Zachary Ware wrote:

On Thursday, March 31, 2016, Simon Martin  wrote:


Hi

I have been having issues trying to run python 3.5.1 and pyscripter 2.6. Giving 
the error message that it cannot initialize python.

I have tried to re-install multiple versions of both python and pyscripter to 
no avail. Any advice?


Use PyCharm.

Less bluntly, I used to be a heavy PyScripter user, but after it took
forever for PyScripter to support Python 3.4 (I wasn't even sure if it
did yet, but it apparently does as of a year ago, added one year after
3.4 was released), I moved on.  PyScripter also has the big
disadvantage of being strictly single-platform, unlike Python itself,
so if you were to try to develop on another platform you would have to
learn a new IDE/editor anyway. I have found PyCharm to be very nice,
and very consistent cross-platform--I use it regularly on OSX and
Windows, and have also used it on Linux. I'm also becoming rather
partial to vim, which is also nicely cross-platform: if you have Git
on Windows, you have vim available already.  Vim does have a somewhat
steeper learning curve, though.
My situation is similar. I used to use PyScripter and liked it a lot, 
but when Python 3.4 support wasn't being added and I wanted a 
cross-platform IDE, I switched to PyDev.


Looking a bit deeper into what your problem might actually be,
PyScripter does not support Python 3.5.  Support for each new Python
version has to be added explicitly, and it has not been done for 3.5.]
For the record, it doesn't work with Python 2.7.11 either. PyScripter 
only supports Python <= 2.7.10 and <= 3.4.x.


But seriously, you'll be much happier with PyCharm.
Or PyDev, whichever you prefer. I think PyCharm is easier to use than 
PyDev, but it seems too resource heavy for some computers.


--
https://mail.python.org/mailman/listinfo/python-list


Re: Pyscripter Issues

2016-03-31 Thread tjohnson

On 3/31/2016 11:29 AM, Zachary Ware wrote:

On Thursday, March 31, 2016, Simon Martin  wrote:


Hi

I have been having issues trying to run python 3.5.1 and pyscripter 2.6. Giving 
the error message that it cannot initialize python.

I have tried to re-install multiple versions of both python and pyscripter to 
no avail. Any advice?


Use PyCharm.

Less bluntly, I used to be a heavy PyScripter user, but after it took
forever for PyScripter to support Python 3.4 (I wasn't even sure if it
did yet, but it apparently does as of a year ago, added one year after
3.4 was released), I moved on.  PyScripter also has the big
disadvantage of being strictly single-platform, unlike Python itself,
so if you were to try to develop on another platform you would have to
learn a new IDE/editor anyway. I have found PyCharm to be very nice,
and very consistent cross-platform--I use it regularly on OSX and
Windows, and have also used it on Linux. I'm also becoming rather
partial to vim, which is also nicely cross-platform: if you have Git
on Windows, you have vim available already.  Vim does have a somewhat
steeper learning curve, though.
My situation is similar. I used to use PyScripter and liked it a lot, 
but when Python 3.4 support wasn't being added and I wanted a 
cross-platform IDE, I switched to PyDev.


Looking a bit deeper into what your problem might actually be,
PyScripter does not support Python 3.5.  Support for each new Python
version has to be added explicitly, and it has not been done for 3.5.]
For the record, it doesn't work with Python 2.7.11 either. PyScripter 
only supports Python <= 2.7.10 and <= 3.4.x.


But seriously, you'll be much happier with PyCharm.
Or PyDev, whichever you prefer. I think PyCharm is easier to use than 
PyDev, but it seems too resource heavy for some computers.

--
https://mail.python.org/mailman/listinfo/python-list


Re: Complain

2015-12-31 Thread tjohnson

On 12/31/2015 11:24 AM, ebuka ogbonnaya wrote:

my name is Ebuka Egbunine, from Nigeria.I studied Geology and
mining.Actually i downloaded python3.5(32-bit) successfully on my laptop
which operates on 32-bit memory, but the application is not opening, it
displays the message " the program can't start because api-ms-crt
runtime-l1-1-0.dll is missing from my computer. Try reinstalling the
program to fix this problem". I have reinstalled it twice all to no avail.
I want to know if there is any other possible solution to the
problem.

   Thanks

Is your operating system Windows XP? If so, you won't be able to use 
Python 3.5 because it isn't compatible with WinXP, but you can use 
Python 2.7 or 3.4 instead.


--
https://mail.python.org/mailman/listinfo/python-list


Re: Complain

2015-12-31 Thread tjohnson

On 12/31/2015 11:24 AM, ebuka ogbonnaya wrote:

my name is Ebuka Egbunine, from Nigeria.I studied Geology and
mining.Actually i downloaded python3.5(32-bit) successfully on my laptop
which operates on 32-bit memory, but the application is not opening, it
displays the message " the program can't start because api-ms-crt
runtime-l1-1-0.dll is missing from my computer. Try reinstalling the
program to fix this problem". I have reinstalled it twice all to no avail.
I want to know if there is any other possible solution to the
problem.

   Thanks

Is your operating system Windows XP? If so, you won't be able to use 
Python 3.5 because it isn't compatible with WinXP, but you can use 
Python 2.7 or 3.4 instead.

--
https://mail.python.org/mailman/listinfo/python-list


Re: Is there a way to install ALL Python packages?

2015-07-21 Thread tjohnson

On 7/20/2015 10:57 PM, ryguy7272 wrote:

I'd like to install ALL Python packages on my machine.  Even if it takes up 
4-5GB, or more, I'd like to get everything, and then use it when I need it.  
Now, I'd like to import packages, like numpy and pandas, but nothing will 
install.  I figure, if I can just install everything, I can simply use it when 
I need it, and if I don't need it, then I just won't use it.

I know R offers this as an option.  I figure Python must allow it too.

Any idea  how to grab everything?

Thanks all.

As others have stated, this is not practical with Python. If you were to 
install every single package from PyPI, you'd end up with packages like 
funny 0.1 or Barun_Heehaw, which is described as "A sample junk 
project." (No, I'm not joking.)

--
https://mail.python.org/mailman/listinfo/python-list


Re: Need Help w. Getting the Eclipse Python Add-On.

2015-07-21 Thread tjohnson

On 7/17/2015 2:22 PM, Steve Burrus wrote:

I Need immediate Help w. Getting the Eclipse Python Add-On. I looked all around 
the Eclipse website to try to get this but didn't see the add-on for this. Can 
someone please help me to find it? Thanx.

The link Jerry posted should point you in the right direction. The PyDev 
manual contains detailed instructions on how to install PyDev in 
Eclipse: http://www.pydev.org/manual_101_root.html


--
https://mail.python.org/mailman/listinfo/python-list


Re: Is there a way to install ALL Python packages?

2015-07-21 Thread tjohnson

On 7/21/2015 11:19 AM, ryguy7272 wrote:

On Monday, July 20, 2015 at 10:57:47 PM UTC-4, ryguy7272 wrote:

I'd like to install ALL Python packages on my machine.  Even if it takes up 
4-5GB, or more, I'd like to get everything, and then use it when I need it.  
Now, I'd like to import packages, like numpy and pandas, but nothing will 
install.  I figure, if I can just install everything, I can simply use it when 
I need it, and if I don't need it, then I just won't use it.

I know R offers this as an option.  I figure Python must allow it too.

Any idea  how to grab everything?

Thanks all.


Ok, this makes sense.  Thanks for the insight everyone!!

I forgot to mention in my previous post that there are Python bundles 
like Anaconda and Enthought available, which come with numerous packages 
preinstalled. You may want to check them out.


--
https://mail.python.org/mailman/listinfo/python-list


Re: Python Questions - July 25, 2015

2015-07-25 Thread tjohnson
On Saturday, July 25, 2015 at 5:40:02 AM UTC-4, E.D.G. wrote:
> Posted by E.D.G. July 25, 2015
> 
>This posting involves general interest matters and some specific 
> questions regarding Python code usage.  Any help would be appreciated.
> 
> 1. Program conversion effort
> 2. Specific code questions
> 
> 
> 1.  PROGRAM CONVERSION EFFORT
> 
>An effort is underway by several people including myself to convert a 
> complex Perl language program to some other language such as Python so that, 
> among other things, the program's numerous calculations will run faster.
> 
>Perl with the PDL module would probably work.  But we could not get 
> the needed type of support for the PDL module.  We also looked at Julia and 
> several versions of Basic.  But they also did not appear to presently have 
> the type of support that is needed.
> 
>Fortran was tried.  It is great for calculation speed and the Fortran 
> users were quite helpful.  But we could not get certain important questions 
> answered regarding using Fortran to create Windows "Pipes" to other running 
> programs etc.
> 
>We are presently checking to see if Python has the needed features 
> and adequate support from Python newsgroups or forums.
> 
>At the moment our Perl programs use Windows "Pipes" plus files in an 
> interactive mode to send data to Gnuplot so that the data can be plotted. 
> That actually produces good results.  But it is a complex and inefficient 
> process.  So part of the conversion process involves learning how to have 
> Python or some other program plot data in the same interactive mode.
> 
>In this case "interactive" means that when a chart is being displayed 
> on the computer screen for example, a key such as a Right Arrow Key can be 
> pressed.  My main Perl program checks for key presses perhaps 10 times a 
> second and if it detects one it sends the appropriate information to Gnuplot 
> through a "Pipe" so that Gnuplot will open some data file and use its 
> contents to draw a new chart.  That redrawing process on a moderately fast 
> computer occurs so rapidly the transition cannot even be seen.
> 
>The Perl program does not simply wait for a key to be pressed because 
> it is at times processing data in the background.
> 
>It has been my experience that sending large amounts of data from one 
> program to another using a Windows pipe doesn't work very well.  So files 
> are presently being used for bulk data transfers.
> 
> 
> 2.  SPECIFIC CODE QUESTIONS
> 
>It will likely take some time to get all of these questions 
> completely answered, especially the ones involving graphics.
> 
> 
> 1. The initial version of Python being used has to be a free download that 
> is easy to understand.  And it has to be compatible with Windows.
> 
>Where can the best free download version of Python be obtained?
> 
>Is the ActiveState version the best one for people who are not Python 
> experts?
> 
>I always found it quite easy to install ActiveState versions of Perl.
> 
> 
> 2.  Graphics - This is likely a fairly complicated question.
> 
>What are some of the graphics options available with Python?
> 
>Does it have its own internal graphics routines?  Perl does not as 
> far as I can tell.  And we never had time to explore Fortran's graphics 
> capabilities.
> 
>I am aware of the existence of Matlab.  But as stated, everything 
> involved with this present effort has to be a free download so that 
> programmers around the world can easily and inexpensively generate program 
> subroutines etc.
> 
> 
> 3.  Fast Calculations
> 
>It is my expectation that Python by itself does not do calculations 
> very fast when compared to a language such as Fortran.
> 
>So, what options are available for increasing the speed of Python 
> calculations?
> 
>Python could call a Fortran program to do the calculations just as 
> Perl could.  But we would like to avoid having to use more than one language 
> with this effort.
> 
> 
> 4. What is the code for opening a Windows "Pipe" between a running Python 
> program and some other program such as another Python or Perl program that 
> can work with pipes?
> 
>Three examples are needed if possible, one for just sending, one for 
> just receiving, and one that allows both sending and receiving.  I know how 
> to open Windows pipes using Perl.
> 
> 
> 5. We would want Python to check for a key press now and then without 
> actually waiting until a key is pressed.  What would be the command for 
> that?  It is likely something like Get_Key
> 
> 
> 6. What is Python's version of the DOS level "System" command that many 
> programs use as in:
> 
> system "open notepad.exe"
> 
> 
> 7. What is Python's version of the SendKey command that many programs use to 
> send information to an active Windows program as in:
> 
> SendKey("Message to be printed on the Not

Re: Python Questions - July 25, 2015

2015-07-27 Thread tjohnson
#6: I don't know what your colleague will think, but I've read too many 
negative things about Eric (lots of dependencies, poor documentation, etc.) to 
ever try it. For a powerful Free Python IDE, I'd recommend either Eclipse with 
PyDev (what I use), or PyCharm.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Who uses IDLE -- please answer if you ever do, know, or teach

2015-08-07 Thread tjohnson

On 8/6/2015 7:31 PM, Terry Reedy wrote:

On 8/6/2015 11:35 AM, Timothy Johnson wrote:


problems because it works well for that. Most of the time I use PyDev
and Notepad++ to edit Python code, but if more features were added to
Idle I would consider using it more.


What 1 or 2 features would you most like to see?


Practically, I'd say a line number margin and right edge indicator.

Theoretically, a tabbed editor and dockable interpreter pane.

Thanks for asking.

--
https://mail.python.org/mailman/listinfo/python-list


Re: Who uses IDLE -- please answer if you ever do, know, or teach

2015-08-07 Thread tjohnson

On 8/7/2015 9:10 PM, Terry Reedy wrote:

On 8/7/2015 7:29 AM, tjohnson wrote:

On 8/6/2015 7:31 PM, Terry Reedy wrote:

On 8/6/2015 11:35 AM, Timothy Johnson wrote:


problems because it works well for that. Most of the time I use PyDev
and Notepad++ to edit Python code, but if more features were added to
Idle I would consider using it more.


What 1 or 2 features would you most like to see?


Practically, I'd say a line number margin


Patch is mostly done but I need to review (sooner than later).


Great.

and right edge indicator.


Do you mean at column 80 or something?


Yes, exactly.

Theoretically, a tabbed editor


*Many* people want this.  I think this should be the highest priority
new big feature.


I agree.

 > and dockable interpreter pane.

Please explain.

Currently the interpreter is shown in a separate floating window. If it 
was dockable, it could also be placed in the same window as the text 
editor but separated by a splitter.


Examples: wxPython AUI panes, Firefox bookmarks pane





--
https://mail.python.org/mailman/listinfo/python-list


Re: Who uses IDLE -- please answer if you ever do, know, or teach

2015-08-10 Thread tjohnson

On 8/6/2015 7:31 PM, Terry Reedy wrote:

On 8/6/2015 11:35 AM, Timothy Johnson wrote:


problems because it works well for that. Most of the time I use PyDev
and Notepad++ to edit Python code, but if more features were added to
Idle I would consider using it more.


What 1 or 2 features would you most like to see?


Practically, I'd say a line number margin and right edge indicator.

Theoretically, a tabbed editor and dockable interpreter pane.

Thanks for asking.
--
https://mail.python.org/mailman/listinfo/python-list


Re: Who uses IDLE -- please answer if you ever do, know, or teach

2015-08-10 Thread tjohnson

On 8/7/2015 9:10 PM, Terry Reedy wrote:

On 8/7/2015 7:29 AM, tjohnson wrote:

On 8/6/2015 7:31 PM, Terry Reedy wrote:

On 8/6/2015 11:35 AM, Timothy Johnson wrote:


problems because it works well for that. Most of the time I use PyDev
and Notepad++ to edit Python code, but if more features were added to
Idle I would consider using it more.


What 1 or 2 features would you most like to see?


Practically, I'd say a line number margin


Patch is mostly done but I need to review (sooner than later).


Great.

and right edge indicator.


Do you mean at column 80 or something?


Yes, exactly.

Theoretically, a tabbed editor


*Many* people want this.  I think this should be the highest priority
new big feature.


I agree.

 > and dockable interpreter pane.

Please explain.

Currently the interpreter is shown in a separate floating window. If it 
was dockable, it could also be placed in the same window as the text 
editor but separated by a splitter.


Examples: wxPython AUI panes, Firefox bookmarks pane




--
https://mail.python.org/mailman/listinfo/python-list