Questions tagged [Python] (11616)

2
answers

A Python library for working with PDF

Advise Python library for creating PDF. Support for Russian. What are the pros/cons. Found a couple, but would like to hear your suggestions. Also an interesting library for parsing PDF. (able to create or not — without a difference, as for another project)
amelie.Howell asked October 10th 19 at 14:25
1
answer

PyGTK — notifications within the window. How?

Hello, Can anyone suggest how to make "toast notifications" in the window? Tried using PyCairo.show_text + rectangle but this option is not able to finish, as he could not clear narisovannyi region, and it is not very convenient. Have an idea to make a special box and call it for example "InformationWindow" and place it i...
Odessa.Rippin asked October 10th 19 at 14:16
2
answers

What Python framework do you use under Google App Engine?

Please share experience using Python frameworks on Google App Engine. More prone to micro-frameworks, but I'm open to all opinions, all the "pros" and "cons". So it would be interesting to know the choice of the templating engine that you are using the framework. I propose to give answers in the format: 1) Framework 2) the...
Hassie_Reichert63 asked October 10th 19 at 14:14
0
answer

CMake linker...?

Greetings, linkou boost.python using the build system cmake.set(Boost_USE_STATIC_LIBS OFF)<br> set(Boost_USE_MULTITHREADED ON)<br> set(Boost_USE_STATIC_RUNTIME OFF)<br> <br / > find_package(Boost COMPONENTS filesystem system date_time python REQUIRED)<br> <br / > add_definitions(-Wall -g-...
Toy.Ziema asked October 10th 19 at 14:14
4
answers

Python — efficient capture of a line with a specific number?

With a large number of similar html pages need to pick up only one line with the same number of, say, the eleventh. How this can be done most efficiently, faster than:<font color="black"><a href="http://s-c.me/15443/s">Copy Source</a> | <a href="http://s-c.me/15443/h">Copy HTML</a><br> &l...
sherwood.Johns84 asked October 10th 19 at 13:55
3
answers

What better implement webinars in your project?

I would like to implement a system of webinars in a new project with the minimum of effort. The project is written in Python + Django. Came to mind while following ideas: 1. Use third-party services like webinar.ru etc But the question of integration, so that users do not have twice to log in, at first we, and then another...
Kaya_Ledn asked October 10th 19 at 13:52
1
answer

Python 3 and flows?

started learning Python 3 and currently trying to implement threads (involucre concurrent.futures) comes out very buggy and I even know why — lack of understanding of their device at the moment, managed to learn two ways of working with streams: — the use of threading.Event to the main thread to set the flags that can get ...
lillie asked October 10th 19 at 13:41
1
answer

MacOS: How to make TextMate and Python 3.2 ?

People? tell me who writes on the Mac in Python under TextMate how to make Command+R to run the script under 2.6.1, and under 3.2 ?? Python 3.2 was separately downloaded and installed, but as I understand it in your textmate Bundles in the way prescribed and he takes some kind of interpreter from the system defaultly. Help...
Rusty.Runolfsson asked October 10th 19 at 13:37
3
answers

Django: ManyToManyField change in method save()?

When sozdannyi models you need to analyze the contents of the fields and to make changes to the ManyToManyField. If save is invoked directly (in the view or from another model) — no problems. But when called from the admin — the result of the save will be replaced by the result of processing a form. I suspect that editing i...
Darion.Daniel asked October 10th 19 at 13:29
10
answers

Generating primes of a given size?

The first step of the RSA algorithm — generation of two primes p and q of a given size (e.g., 1024 bits each — the same size increases the encryption strength). As I understand it, to solve the problem of enumeration of the Prime numbers up to a specified limit are: — Sieve Artosphere — The Sieve Of Sundman — Atkin's sie...
Ellie9 asked October 10th 19 at 13:10