Is there an interactive Python-based environment similar to Mathematica? [closed] - python

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am teaching art students the basics of Python and it would be very convenient to add some graphics (drawings, pictures, etc.) in the comments within the code instead of "just" code and text comments.
I have seen some friends using Mathematica and exchanging beautiful files that include graphics, comments, pictures, etc.
Does such a thing exists for Python?

Have you looked at the iPython-Notebook? It allows you to write/run code and use html for notes. If you know html it will be easy to add graphics in too. Not sure if that exactly answers your problem, but it is definitely a nice tool
Link: http://ipython.org/notebook.html

Related

Clarification of Classes [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm learning python myself, but I just don't understand Classes. I've watched multiple Youtube videos, but everyone just starts typing code without really explaining every part of it. Do you know any good documentation, or tutorials on it?
You can finish this small but effective sololearn course of python 3
https://www.sololearn.com/Course/Python/?ref=app
Or you can follow this link to specifically know more about python class
Learn more about python class

File manipulation using Python [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I recently started working in a lab that generate a lot of data. I need to manipulate files very often for various needs. I have learnt awk programming but it seems not enough for my work. I know python but not to that extent where I can comfortably work on files. Could anyone please suggest to me any book or online tutorial where I can find exclusively the use of Python on files. most of the python books do not dwell intensively on this subject.
thanks
You can find these materials are helpful:
http://www.diveintopython.net/file_handling/file_objects.html
http://opentechschool.github.io/python-data-intro/core/text-files.html
For data manipulation, you may need to improve your skills in string processing, regular expression operations, data structures,....
You can attend this course:
https://www.edx.org/course/introduction-python-data-science-microsoft-dat208x-0
I would recommend familiarizing yourself with the os and sys standard libraries. Here is a comprehensive tutorial that covers both libraries and other necessary aspects of file management in Python.

wxPython Treebook Images [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
In this official treebook tutorial they use the images module. I can't find it. Can someone give me a link or example how how to actually add things to the listbook? I want to eventually display the filesystem folders there.
I can't find any information or examples, so a small one would help a lot.
Thanks
I'm assuming you're talking about the Treebook example found here: http://wiki.wxpython.org/Treebook
The zip for the entire source of those examples (including images.py) is on the author's blog: http://www.blog.pythonlibrary.org/2009/12/03/the-book-controls-of-wxpython-part-1-of-2/3/

Library for SVG path calculations [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm looking for a library with Python bindings that can do calculations on SVG paths, such as calculating the length, and finding the coordinates of a point on the paths (ie, say the coordinates of the point 24.4% the length of the path).
Is there something around already?
A C-library would be acceptable as well, as I can easily make my own Python bindings.
OK, so I wrote it, and released it as a library.
http://pypi.python.org/pypi/svg.path
Try 'Inkscape' (IMO the best SVG editor out there), looking at their source code, and see how they do it - and possibly you can reuse their libraries (they have a embedded Python scripting engine too) without much rework.

Python Wiki Style Doc Generator [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Looking for something like PyDoc that can generate a set of Wiki style pages vs the current HTML ones that export out of PyDoc. I would like to be able to export these in Google Code's Wiki as an extension to the current docs up there now.
Take a look at pydoc.TextDoc. If this contains too little markup, you can inherit from it and make it generate markup according to your wiki's syntax.
Have you taken a look at Sphinx?

Categories

Resources