Hot answers tagged

3

There are several such tools, one of the most commonly used being the combination of Doxygen with Graphviz. Doxygen will analyse your code to create documentation for code written in any of: C++, C, Objective-C, C#, PHP, Java, Python, IDL (Corba, Microsoft, and UNO/OpenOffice flavors), Fortran, VHDL, etc Additionally, you can annotate your source code to ...


3

You should checkout Veyon. It's open source, available for both Windows and Linux, it does more than you need but those extra features are handy and won't cost you anything. You can simple monitor what the students are doing, but also broadcast your own screen.


2

There isn't one, just like there isn't a 'best' programming language in general. What matters is learning something that will work well for what you want to do. If you're dead set on just learning something to learn programming in general though, good options include: Python. Part of the original design purpose for Python was to be a teaching language you ...


2

I found a workable method. Teams can add a tab for websites so long as they are iframed. That is simple. Just create a html page with this code: <body> <iframe src='http://localhost:8888/?token=yourtokenhere' /> </body> Thanks to Saurs Saurav for the instructions. (source: https://medium.com/@saurssaurav33/embed-jupyterhub-into-a-...


2

if you write python script to translate each file one by one (or divide large file into smaller files). If you can't do it in one go, do it in multiple smaller, and the bulk request....... Just translate small file then close connection then open a new one, as you have said earlier, you don't mind the speed..... Let's say you set a limit of 750 lines if ...


2

I would also suggest taking a look at Pandas which is a Python library for Data Analysis that includes the ability to read and write Excel files (as well as a lot more). pandas is well suited for many different kinds of data: Tabular data with heterogeneously-typed columns, as in an SQL table or Excel spreadsheet Ordered and unordered (not necessarily ...


2

Assuming that you are looking for a GUI front end I personally would recommend wxPython. Free, Gratis & Open Source Simple Licence including commercial use Native Look & Feel Cross Platform Great Demo with reusable sample code Simply pip install wxpython then once the installation is finished run wxdemo to download, install and run the demo for the ...


2

On Github, there is a tool called PickleViewer. With this tool you can simply Edit Load Save Pickle files. It's free. In the program is a text editor, with which you can easily edit the files. There is also a treeview to view the structure of the file. To the Repo Download version 0.7.5 To the latest release


2

I am not exactly sure what you want, but it sounds a lot like Jupyter Notebooks. Such a notebook is essentially a series of cells, each of which can contain: Text, formatted in markdown (with MathJax support). Code in one of many languages including Python. Output produced by this code (including plots) is part of the notebook. As for diagrams, I am not ...


2

wxPython is an open source cross-platform GUI toolkit for the Python language. With wxPython software developers can create truly native user interfaces for their Python applications, that run with little or no modifications on Windows, Mac and Linux or other Unix-like systems. More wx software wxWidgets – cross-platform C++ GUI toolkit ...


2

If you have provided a command line interface with argparse usually a good idea then you can have a wxPython GUI with 2 pip installs and 2 lines in your main python file. This is thanks to Gooey! On the command line run: pip install wxPython Gooey Then in your main file add an import and a decorator: from gooey import Gooey @Gooey # <--- all it ...


2

Finally I went for OCRmyPDF (https://github.com/jbarlow83/OCRmyPDF), which uses tesseract for the actual OCR part (https://github.com/tesseract-ocr/tesseract) - as I understand tesseract is a OCR tool that has been open-sourced by Google. OCRmyPDF has great documentation, also works from the command line and has many language packs: ocrmypdf -l eng ...


2

Found it: Augeas - a configuration API Augeas is a configuration editing tool. It parses configuration files in their native formats and transforms them into a tree. Configuration changes are made by manipulating this tree and saving it back into native config files. It is a C library but provides Python bindings.


2

Pandas can do a lot of the work for you and is well worth looking at. Reading .csv files, (also .xlsx & others) Format conversions for date & value columns Filtering Are all available.


1

ecapture Installation pip install ecapture Code from ecapture import ecapture as ec ec.capture(0,"test","img.jpg")


1

I would suggest keeping an eye out for pandas official documentation on IO. One's option keeps changing based on the development cycle and new formats get added all time. They also publish the benchmark.


1

Stick with Python, since you know it and it is simpler than C# (it also has many more useful libraries). You can also run it on Mac/Linux - although the machine will need to have Python installed, unless you have it on the USB stick. Think about how you want to display those tables - on the GUI of your app? In HTML, constantly updating? Is this a chance ...


1

Open Python file and install suggested extension. Or open extension menu, search Python and install one of available extensions.


1

My go-to solution for this is this amazing article: in short, it uses some permission management to allow you/the computer to use the Python interpreter as a command, which can then be executed by nohup, which is the command which executes what you are looking for. If you would like a solution based in Python (meaning no OS dependancy), use the subprocess ...


1

In Python 2 there was virtualenv (which you had to pip install) but from V3.3 Python 3 comes with venv in the standard libraries. There are also numerous pip installable alternatives to the above notably pipvenv. The built in venv (and the older virtualenv) work by you creating your virtual environment once to a specified directory such as: python -mvenv ....


1

Maybe this one: https://github.com/bsmurphy/PyKrige From the website: The code supports 2D and 3D ordinary and universal kriging. Standard variogram models (linear, power, spherical, gaussian, exponential) are built in, but custom variogram models can also be used. The 2D universal kriging code currently supports regional-linear, point-logarithmic, and ...


1

Of course it is. You actually have multiple methods to choose from but one of the easiest is to use the following libraries, (all pip installable): To get the data from the web site: requests, (pip install requests to install). To read the json: json, (built-in but there are some possible alternatives). To output to an Excel compatible format - use any of: ...


1

A simple pip search pyhook gives: pyHook (1.5.1) - pyHook: Python wrapper for out-of-context input hooks in Windows pyHook-3k-compiled (1.5.1) - pyHook: Python wrapper for out-of-context input hooks in Windows mypyHook (1.5.2) - A pyHook module from parlente for my personal use pyWinhook (1.6.1) - A pyHook module fork from ...


1

Yes, the famous Cairo library in Python (PyCairo) is able to do exactly that! https://pycairo.readthedocs.io/en/latest/


1

In general the best way to develop any code is to use a Version Control System. As long as the version control system is hosted in a shared resource, such as online, then any computers with access to that shared resource will have access to the latest changes that have been committed (and in some cases pushed) to that resource and can make changes, commit (...


1

Does anyone know of such a library or will I have to build one on my own? I think you might have to build your own. That said, I could possibly offer some advice, having had similar ideas earlier: What you are thinking about is what most code completion tools do -- analyze the structure of the code to offer completion. So perhaps study how some of the ...


1

You should use ctypes for this. It is part of the standard python library. In an answer to a question on SO I've given an example of how to create ctypes structs. Here's another example for writing to a binary log file: https://gist.github.com/lonetwin/2bfdd41da41dae326afb Your structure would look something like: class LogElement(Structure): ...


1

Celery is arguably one of most popular frameworks of the many python based task queues available. Search for others on pypi. As with regards to your worker resource terminology, that's a bit confusing by it seems like you are speaking something along the lines of limiting the max tasks per worker or autoscaling. Could you possibly clarify that part of your ...


1

If you want a python clicker library I would suggest pyautogui. I personally used it and it's a great library for clicking on coordinates and has image recognition. If you're able to deal with the website with only HTTP I would suggest using Requests + BeautifulSoup (bs4) for programatically interacting with the webpages. If you want to programatically ...


1

You should not expect any Python runtime in Wbassembly production-grade stable yet. Webassembly came out 2 years ago. Pyodide (supported by Mozilla) is the most well supported Python AFAIK. BTW, have you actually tried Pyodide? It runs quite well in my computer.


Only top voted, non community-wiki answers of a minimum length are eligible