Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Is it possible to make 2D games using python? If it is got any links to any 2D game that used Python to create it? I was thinking of learning Python but thought i should ask you guys if it can create 2D games before I do start.
Yes, check out http://pygame.org
It's a pretty popular 2D library for Python.
I use pygame myself and it is very good. It has good documentation and tutorials, and is quite well designed. I've also heard wonderful reviews of pyglet.
Relevant
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'm very new to learning manim and well python. However, I'm trying to learn it to make nice videos for my students. I'm attempting to create some tree diagrams in manim, but I can't seem to find much help. I tried getting manim to use tikz, but I'm having trouble with that as well. Is there a nice way to make tree diagrams straight in manim?
The best way is that you create a class yourself to generate the trees, it is not complicated if you know how to order elements with VGroup and program the unions between each Node, since it is a personal project you will have to develop it on your own, you can also check Manim's Discord to request help from the community, the link is in the official Manim repository.
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 am trying to find a good 3D geometry library for Python that has similar operations and functionality to Shapely.
http://toblerity.org/shapely/manual.html
Shapely is great, and has exactly what I need, especially around the creation and manipulation of Linestring objects. Unfortunately, it only supports operations on 2D objects, even though 3D points can be created.
Does anybody know of any a similar module that operates in full 3D? It would be greatly appreciated. Thanks.
Have a look at Pymesh:
http://pymesh.readthedocs.io/en/latest/
Its a new CSG wrapper for basic 3d geometry applications.
Is that the type of thing you're looking for?
Have a look at d3g package in PyPI.
Visit https://pypi.org/project/d3g
pip install d3g
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I've recently been making many types of maps and graphs using Python.
All of the maps were made inside of matplotlib with Basemap, which has the dependencies of GEOS and Proj4. I'm making these for a professor that I'm working for at my university.
I am not entirely sure of the proper way to give credit to the software that was used to generate these in case any of the graphics I've been making get put into a publication.
What is the appropriate way to cite software?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Is there any way to find the solutions of a set of non-linear complex equations in python?
I need to solve the Bethe equations of the heisenberg model (eg. equation 15 of http://arxiv.org/pdf/1201.5627v1.pdf)
SciPy includes nonlinear numerical solvers, but you may want to consider dedicated software, such as Wolfram Mathematica especially for computation speed considerations.
If the maths is the problem at some point, consider posting to the Math Stack Exchange website
You can use Sage. Sage notebook is the browser-based interface of Sage.
Most of the scientific/ Mathematical (SciPy,NumPy,Sympy...) python libraries are integrated with Sage so you do not have to call these libraries explicitly.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I am intermediate in R and a beginner in Python. However my core abilities lie less in data analysis and more in programming and developing large software systems in teams, and I don't have time to become an expert in both.
Given the advances in the Python world in numpy, scipy, pandas, and its prevalence in data science and in general programming, I think I need to concentrate on Python (even though I enjoy R a lot), and accept that for some tasks I might be 75% as efficient, say, as I would be in R. I'd find this efficiency loss acceptable in order to be a master of one language rather than intermediate at both.
However I don't know enough about either language to really be sure of my facts. I would be very interested in hearing from anyone who is experienced in both R and Python and can say what would be the significant disadvantages, if any, of dropping R in favour of Python?
Edit 5: this question on stats.stackexchange is similar and has some great answers.
(Edits 3-4: reverted content/title to original question, which was closed. The original question attracted a lot of expert comment, my attempt to narrow the question to reopen it failed, and I'd prefer to have these comments below the original text they were commenting on.)