RE: [Pyzo] Detachable shell/ editor?

2017-03-29 Thread almar.klein
Hi, There is an issue for that (https://github.com/pyzo/pyzo/issues/282) but its not planned right now. Regards, Almar From: Marco Sent: 28 March 2017 09:49 To: Pyzo Subject: [Pyzo] Detachable shell/ editor? Hello everyone, I just discovered Pyzo and I find it really helpful and well

RE: [Pyzo] magic command namespace

2017-03-09 Thread almar.klein
Don’t worry, it’s always ok to ask! Looking forward to a PR, though if you prefer a quick-n-dirty local patch that’s fine :) Regards, Almar From: Niall Farrington Sent: 09 March 2017 21:09 To: Pyzo Cc: nfarring...@anodyne-solutions.com Subject: Re: [Pyzo] magic command namespace Hey Almar,

RE: [Pyzo] Default script header in Pyzo

2017-03-02 Thread almar.klein
Hi, I am sorry to tell you that such a thing is not possible without changing Pyzo’s source code. From: Sigma47 Sent: 01 March 2017 20:37 To: Pyzo Subject: [Pyzo] Default script header in Pyzo Hello, my brief attempt at searching yielded nada, so I lay myself at the mercy of the forum. Is

RE: [Pyzo] Installation of Pyzo on Mac OSX 10.11 (El Capitan)

2017-02-24 Thread almar.klein
See e.g. https://support.apple.com/kb/ph18657?locale=en_US IIRC you can also open the contents of the app, copy these to a new folder, then rename that folder “pyzo.app”. From: tmc9...@gmail.com Sent: 24 February 2017 08:32 To: Pyzo Subject: [Pyzo] Installation of Pyzo on Mac OSX 10.11 (El

RE: [Pyzo] problem import msvcrt in pyzo

2017-02-24 Thread almar.klein
Hi Thib, How do you mean that you cannot import it? The msvcrt module is part of the standard library. What happens when you attempt to import it? Regards, Almar From: Thib Sent: 16 February 2017 21:32 To: Pyzo Subject: [Pyzo] problem import msvcrt in pyzo Hello I can't import msvcrt in

RE: [Pyzo] how to execute python magics from script

2017-01-27 Thread almar.klein
What happens in Pyzo if you do as that post says? From: dietrich.pescol...@microgate.it Sent: 27 January 2017 12:34 To: Pyzo Cc: dit...@gmail.com Subject: Re: [Pyzo] how to execute python magics from script On Tuesday, October 25, 2016 at 10:40:40 AM UTC+2, Almar Klein wrote: > Ok, we can have a

RE: [Pyzo] [pyzo] syntax highlighting for html and javascript files

2017-01-18 Thread almar.klein
Not at the moment, there are plans to use Pygments, which supports about any existing language, but I cannot give an indication as to when this will happen. Regards, Almar From: meilland...@gmail.com Sent: 18 January 2017 15:34 To: Pyzo Subject: [Pyzo] [pyzo] syntax highlighting for html and

RE: [Pyzo] Re: Python for WEBpage !?

2017-01-06 Thread almar.klein
Indeed, Brython ans Skulpt are not suitable for engineering related work. E.g. they do not support numpy. - Almar From: Ionut Predoiu Sent: 06 January 2017 07:56 To: Pyzo Subject: [Pyzo] Re: Python for WEBpage !? Good morning, Because I am beginner I already read some documentations/articles

RE: [Pyzo] Ipython autocompletion

2016-12-19 Thread almar.klein
Although IPython can be integrated with Pyzo’s shell, they use a different autocompletion mechanism. From: dietrich.pescol...@microgate.it Sent: 16 December 2016 15:29 To: Pyzo Subject: [Pyzo] Ipython autocompletion Is there a way to make the autocompletion work in pyzo like in ipython? I tried

RE: [Pyzo] Re: Still can't get 4.3.1 to work

2016-12-06 Thread almar.klein
Very strange ... Thanks for looking into this. I have no idea what it could have been, but its good to know about this, and to have a solution. Do you know what folders were deleted apart from the installation directories and the one in appdata? - Almar From: wjro...@gmail.com Sent: 06

RE: [Pyzo] matplotlib plots but mouse causes crash "Pythonhasstoppedworking"

2016-12-05 Thread almar.klein
IIRC Matplotlib does not work with Pyqt5 yet. If you’re using conda, its easy to move to pyqt4 using “conda install pyqt=4”. My guess is that will make everything work fine. If you don’t care about interactive mode (I.e. its fine if the call to plt.show() blocks) then you can disable GUI

RE: [Pyzo] matplotlib plots but mouse causes crash "Python hasstoppedworking"

2016-12-03 Thread almar.klein
Pyzo can integrate a variety of GUI toolkit so that they can be used interactively (i.e. events get processed, but the shell keeps working too). Matplotlib supports a variety of GUI toolkits to render the figure in. The one that MPL is using should match with what Pyzo is using. If they use

RE: [Pyzo] matplotlib plots but mouse causes crash "Python has stoppedworking"

2016-12-02 Thread almar.klein
This looks like it could be a clash between different GUI toolkits. Is there any GUI toolkit integrated? I.e. does the shell say “This is the Pyzo interpreter with integrated event loop for XX”? If you’ve not already done so, you can try doing `conda install pyqt=4`. Regards, Almar From:

RE: [Pyzo] initialization in IEP

2016-10-23 Thread almar.klein
In that case I think you should do: sudo apt-get install python3-pyqt4 From: Éric DÉTREZ Sent: 22 October 2016 17:47 To: pyzo@googlegroups.com Subject: Re: [Pyzo] initialization in IEP 2016-10-19 22:55 GMT+02:00 : Hi,   If you `conda install pyqt=4`, you should have

RE: [Pyzo] Re: crash on startup 4.3.1

2016-10-11 Thread almar.klein
Hi Will, That’s a serious problem. Hard to say what the exact problem is though. We switched to using PyQt5 for the binaries, maybe we should fall back to PySide... - Almar From: wjro...@gmail.com Sent: 11 October 2016 11:34 To: Pyzo Subject: [Pyzo] Re: crash on startup 4.3.1 OK I've

RE: [Pyzo] Strange behavior in console history

2016-10-11 Thread almar.klein
There already is an issue for it. And now wrote it on my personal todo list. Might be a few weeks before I get to it though. https://github.com/pyzo/pyzo/issues/248 From: Dietrich Pescoller Sent: 10 October 2016 14:39 To: Pyzo Cc: dit...@gmail.com Subject: Re: [Pyzo] Strange behavior in

RE: [Pyzo] IEP and __file__

2016-10-11 Thread almar.klein
> wouldn't it be the best/easiest solution or simply set the __file__ variable > as the standard behavior? Well, if you’d first run a file as a script (which would set __file__), and then run another file (not as a script) then the __file__ would be overwritten, which would be wrong, IMO;

RE: [Pyzo] IEP and __file__

2016-10-10 Thread almar.klein
I am hesitant to add yet another way to run a file. Since the current directory is changed now, would it work for you to put this at the top of your file: __file__ = os.path.join(os.cwd(), ‘foo.py’) From: Dietrich Pescoller Sent: 10 October 2016 09:20 To: Pyzo Cc: dit...@gmail.com;

RE: [Pyzo] IEP and __file__

2016-10-08 Thread almar.klein
Run the file as a script. Running code normally (not as a script) is equivalent to firing up having a Python interpreter and running code in it. There is no script file, and thus no __file__. Technically, Pyzo could set __file__ each time a file is run, but it would be wrong to reset that

RE: [Pyzo] Pyzo freezes at launch

2016-10-04 Thread almar.klein
The Pyzo binaries should work by themselves without needing anything else. I have no idea why this is not the case for you, unfortunately. My suggestion in this case would be to install Pyzo in an existing Python environment. If you have a conda environment: - conda install pyqt (pyqt=4, or