Re: Jupyter notebooks to A4 (again)
Martin Schöön writes: > Hello all, > > Some years ago I asked about exporting notebooks to pdf in > A4 rather than US Letter. I got help, rather detailed > instructions from you in general and Piet von Oostrum in Who now calls himself Pieter van Oostrum, just like his passport says :) -- Pieter van Oostrum www: http://pieter.vanoostrum.org/ PGP key: [8DAE142BE17999C4] -- https://mail.python.org/mailman/listinfo/python-list
Re: IDE tools to debug in Python?
> > > Python is an interactive language. You can develop a lot while working > > on a Python console. Then copy and paste into a program. > > Absolutely, the humble interactive prompt is often overlooked > as a development tool. It's not as good as the "evaluate > expression" tool in the Smalltalk workspace, say, but it's close. > In an earlier reply I failed to mention Jupyter. It's a pretty awesome environment. Sort of takes the whole concept of "just insert prints" to a new level. I started using it a bit at my last job for financial stuff, and still mostly use it for that, but it's another viable option. Skip > -- https://mail.python.org/mailman/listinfo/python-list
EuroPython 2021: Getting ready
We're happy to announce the pre-launch website for this year's EuroPython 2021: * EuroPython 2021 * https://ep2021.europython.eu/ The site comes with an FAQ page, which lists all the information we have for you at the moment. We're repeating the most important part here: EuroPython 2021 will be held online from July 26 - August 1, 2021, using the following structure: - two workshop/training days (July 26 - 27) - three conference days (July 28 - 30) - two sprint days (July 31 - August 1) The next steps are preparing the main conference website, adding content, organizing the call for papers (CFP), setting up the ticket system, the financial aid program, getting everything tested and deployed. Want to join the fun ? -- We'll have busy weeks ahead of us. If you want to help, please consider contacting us with details on where you would like to contribute. Please write to volunte...@europython.eu. Distributed conferencing We are also looking into setting up, what we call EuroPython Nodes, where attendees can join small groups around the world to attend EuroPython 2021 together. Please see our FAQ entry for details. The idea is still in flux and we'd like to get some feedback from user groups or companies interested in participating: https://ep2021.europython.eu/faq/#nodes PS: We have also moved our blog off of Tumblr and onto our own infrastructure. Hope you like the new design. Help spread the word Please help us spread this message by sharing it on your social networks as widely as possible. Thank you ! Link to the blog post: https://blog.europython.eu/europython-2021-getting-ready/ Tweet: https://twitter.com/cargodusoir/status/1354756310328356865 Enjoy, -- EuroPython 2021 Team https://www.europython-society.org/ -- https://mail.python.org/mailman/listinfo/python-list
idlelib re-use
I googled in vain for instances where parts of idlelib are re-used in a simplistic way. I would like to use the editor functionality in a tkinter window and also probably run code in a subprocess. Are there any examples around that do these sorts of things? -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list
_Py_FatalErrorFunc not found
I need some help. hplip as of late complains : File "/usr/bin/hp-scan", line 40, in import scanext ImportError: /usr/lib/python3.9/site-packages/scanext.so: undefined symbol: _Py_FatalErrorFunc Which module defines this _Py_FatalErrorFunc? Or has the name of this function changed in python-3.9.1? If yes what is its name now? hplip version is the latest, hplip-3.20.11, but they have not taken notice of the problem as far as i know. Any help is much appreciated -- Klaus -- https://mail.python.org/mailman/listinfo/python-list
Re: _Py_FatalErrorFunc not found
> On 28 Jan 2021, at 09:48, Klaus Dittrich wrote: > > > I need some help. > > hplip as of late complains : > > File "/usr/bin/hp-scan", line 40, in >import scanext > ImportError: /usr/lib/python3.9/site-packages/scanext.so: undefined symbol: > _Py_FatalErrorFunc > > Which module defines this _Py_FatalErrorFunc? Python itself defines this. Given this message you have installed scannext.so that was not built against python3.9. Get a python 3.9 version of the package. > > Or has the name of this function changed in python-3.9.1? > If yes what is its name now? Is this code you compiled? If so when you compile against pyton 3.9 dev files you will see errors. > > hplip version is the latest, hplip-3.20.11, but they have not taken notice of > the problem as far as i know. > > Any help is much appreciated Barry > -- > Klaus > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list
Re: Jupyter notebooks to A4 (again)
Den 2021-01-28 skrev Pieter van Oostrum : > Martin Schöön writes: > >> Hello all, >> >> Some years ago I asked about exporting notebooks to pdf in >> A4 rather than US Letter. I got help, rather detailed >> instructions from you in general and Piet von Oostrum in > > Who now calls himself Pieter van Oostrum, just like his passport says :) Sorry, my bad. Any ideas regarding my question? /Martin -- https://mail.python.org/mailman/listinfo/python-list
Re: Jupyter notebooks to A4 (again)
Den 2021-01-25 skrev tommy yama : > Hi Martin, > > I noticed that i did use the same , > formats are mentioned in git already. > > https://github.com/jupyter/nbconvert > Are you telling me there are instruction for how to get A4paper format there? I have looked around but... /Martin -- https://mail.python.org/mailman/listinfo/python-list
Re: idlelib re-use
On 1/28/2021 5:53 AM, Robin Becker wrote: I googled in vain for instances where parts of idlelib are re-used in a simplistic way. I would like to use the editor functionality in a tkinter window and also probably run code in a subprocess. Are there any examples around that do these sorts of things? turtledemo reuses IDLE's colorizer and read-only textviews. I have seen occasional hints on stackoverflow of other such uses. One barrier to reuse is that the parts are highly interconnected, with numerous import loops. (Changing the form of some imports from 'import x' to 'from x import y' can make IDLE startup fail.) Some objects, like EditorWindow, are too monolithic. You cannot put a toplevel inside another toplevel. Another, for those thinking long term, is that implementation modules in idlelib are defined as private since 3.6 (PEP-434, idlelib.__init__). I pushed for this in order to be able to refactor to reduce interconnections, and break some things apart, and also to switch to ttk widgets. For instance, breaking EditorFrame apart from EditorWindow would allow me to put multiple editors on multiple tabs of a notebook in an application window. It would also allow others to put an editor window in their tkinter window. -- Terry Jan Reedy -- https://mail.python.org/mailman/listinfo/python-list
Re: Jupyter notebooks to A4 (again)
Hi, A4article is not indicated in git as you had a look. :( Maybe that format (A4article) was depreciated already? On Fri, Jan 29, 2021 at 6:52 AM Martin Schöön wrote: > Den 2021-01-25 skrev tommy yama : > > Hi Martin, > > > > I noticed that i did use the same , > > formats are mentioned in git already. > > > > https://github.com/jupyter/nbconvert > > > Are you telling me there are instruction for how to get A4paper > format there? I have looked around but... > > /Martin > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list