question@mail.ru
·
0000-00-00 00:00:00
·
python, вопрос, python3, pip, работа
When starting in the console, everything works, everything disperses, & GT; python3
question@mail.ru
·
0000-00-00 00:00:00
·
python, ошибка, проект
I have such a project structure --- Package1/code.py --- paccage2/ext.py how to import me variable from Ext.PY to Code.Py? from ext import var - it does not work, say...
question@mail.ru
·
0000-00-00 00:00:00
·
python, помощь, ии
There is a task of transforming float in the values of the type int (one float value in one int value) without loss of information, i.e., then the reverse transformation...
question@mail.ru
·
0000-00-00 00:00:00
·
python
I am trying to record a Person class object like this: def postusertojson ( user ): filiname = str (user.fullname) + "" "" + +
question@mail.ru
·
0000-00-00 00:00:00
·
вопрос, ии
Several times I met the mention that the fulfillment of the code when importing module is poor practice. At the same time, I could not find explanations to this statement anywhere...
question@mail.ru
·
0000-00-00 00:00:00
·
пример, ии, новичок, проект
I am a beginner in programming on Python (my 1 programming language). He solved the problem No. 12 from the Euler project. I used a recursion in functions, but unfortunately, to s...
question@mail.ru
·
0000-00-00 00:00:00
·
python, вопрос, пример, ии, работа
I need to convert the line, for example "A" ", into a line of binary code, for example " "01100011" ", then process a slightly binary code, passing it according to the function" ...
question@mail.ru
·
0000-00-00 00:00:00
·
python, вопрос, ошибка, пример, ии
It is necessary to solve the problem of thermal conductivity on the segment The solution used an explicit schemeN = 10> # maximum number of steps in x# boundary coditionsux_0 = 1 #...
question@mail.ru
·
0000-00-00 00:00:00
·
список, python, вопрос
Hello, there are two lists anti = [ 'Red' , '"blue' , 'green' , 'White' ] word = [ '' red ', 'White' ] you need to compare two lists and the matching elements to bri...
question@mail.ru
·
0000-00-00 00:00:00
·
python, пример
There is an array in which a bunch of repeated elements. I need to derive the contents of a particular element of this array and how many of the same elements in it (derive the fi...
question@mail.ru
·
0000-00-00 00:00:00
·
python, пример, django, боты
I update the Django.po file in this way: $ python manage.py makemessage $ python manage.py CompileMessages -l ru After that, part of the lines in Django.po are marked as F...
question@mail.ru
·
0000-00-00 00:00:00
·
python, вопрос, numpy, ии
What are the most rapidly finding algorithms of all simple numbers less than all known: and what are the quick implementations on Python, Numpy, etc.)? de ...
question@mail.ru
·
0000-00-00 00:00:00
·
python, ошибка
The documentation says that only unchanged data types can be keys. Why in this case there is no error? class test : pass t = test () print ({t: 1 })
question@mail.ru
·
0000-00-00 00:00:00
·
ооп, метод, инкапсуляция, python, совет, ии, урок
I study/program on Python for a year, but I still can’t understand when to use the classes. Reading books and watching video lessons, I am aware of things such as encapsulation ...
question@mail.ru
·
0000-00-00 00:00:00
·
python, вопрос
The computer science teacher said that he is script. Is it so? He is kind of compiled. I'm 15, I'm not a Senior developer, so the question is stupid. I don’t even write on Python....
question@mail.ru
·
0000-00-00 00:00:00
·
python, вопрос, помощь, пример, боты, ии
Hello, the task of finding an object using a full -bearing neural network is worthwhile using Keras, Theano, in Python. At the moment, this is the following network configuration:...
question@mail.ru
·
0000-00-00 00:00:00
·
пример
You need to find in the line: whether this line includes in the line or not. For example, there is a string sdfssf sddff svvsef XBSDF SDFWWWWW you need to find out if it is incl...
question@mail.ru
·
0000-00-00 00:00:00
·
пример
You need to find in the line: whether this line includes in the line or not. For example, there is a string sdfssf sddff svvsef XBSDF SDFWWWWW you need to find out if it is incl...
question@mail.ru
·
0000-00-00 00:00:00
·
lambda, python, пример, ии
Studying the python , I came across lambda -functions. But nowhere I have not found an example of where they are really - only elementary examples of the species printa (lamb...
question@mail.ru
·
0000-00-00 00:00:00
·
python, вопрос
How can you encrypt a login with a password in the code itself? Well, or in any other way, to make it possible to get them to other people, since the code itself should be open an...
question@mail.ru
·
0000-00-00 00:00:00
·
python, вопрос
How can you encrypt a login with a password in the code itself? Well, or in any other way, to make it possible to get them to other people, since the code itself should be open an...
question@mail.ru
·
0000-00-00 00:00:00
·
python
It is required to pair vk according to the specified parameters and write the result to the file on the python 3.5. Search_Result = " API.USERS.SEARCH (sort = sort_index, se...
question@mail.ru
·
0000-00-00 00:00:00
·
python
There is a number of 1234567 .
question@mail.ru
·
0000-00-00 00:00:00
·
python
There is a number of 1234567 .
question@mail.ru
·
0000-00-00 00:00:00
·
python, django
I am the opportunity to switch between the Russian, English and Ukrainian version on the site. He wrapped the lines in the templates that must be translated into the { % Trans %}...
question@mail.ru
·
0000-00-00 00:00:00
·
python
I understand what must be divided into 2 and look at the remainder. Here's what I tried to do. IF ( not line% 2 2 ): print 'chek true'
question@mail.ru
·
0000-00-00 00:00:00
·
список
Tell me, please, can you somehow get a list of all participants in a certain chat in Telegram? Interested in precisely "useame" users.
question@mail.ru
·
0000-00-00 00:00:00
·
метод, python, пример, requests, ии
How to get all the comments of a particular user left on the wall under posts in a particular community in VK? I examined all the methods that exist in the VK API and have not ...
question@mail.ru
·
0000-00-00 00:00:00
·
python, новичок
Hello, I meet Python and after C ++ I categorically do not understand the principle of using Global variables. If you indicate Global in the variable in Def, whether it can be use...
question@mail.ru
·
0000-00-00 00:00:00
·
python, ии
Is it possible to somehow increase the symbol of the Latin alphabet? You need to go through the alphabet in Python, or by the number to receive any specific symbol, are there such...
question@mail.ru
·
0000-00-00 00:00:00
·
функция, пример
I wentogled the f`s strip () , but it removes only the first and last gap, but I need everything. For example, if a = 'sd dfsdf dfsfs' , then you need to get a = 'SDDFSDFDFSFS'...
question@mail.ru
·
0000-00-00 00:00:00
·
список
Hello! Tell me, please, how can you break the catch list ['1', '22', '333'] by symbols, i.e. To get a list of ['1', '2', '2', '3', '3', '3'] thanks in advance!
question@mail.ru
·
0000-00-00 00:00:00
·
python, ии
Is there an analogue of the function & nbsp; toofixed () in JS? I need something like this: & gt; & gt; a = 12.3456789 & gt; & gt; & gt; a.tofixed ( 2 ) '' 12.35 ' ...
question@mail.ru
·
0000-00-00 00:00:00
·
список, python
a - List of lines: ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0'] for el
question@mail.ru
·
0000-00-00 00:00:00
·
python, python3
I am writing on Python3 under Ubuntu, I want to create a DEB package, tell me how, or where is there available information?
question@mail.ru
·
0000-00-00 00:00:00
·
python
I saw the following design: class badtatus ( Exception ): ... What does it mean? Are there any differences from: class Badstatus ( Exception ): pass
question@mail.ru
·
0000-00-00 00:00:00
·
python, ии
when using File.Readlines () we get something like this: & gt; & gt; & gt; file.readlines () [ '12 \ n' , '10 \ n' , '' 9 \ n ', '' 15 \ n ', ' '10 \ n' , '120' ] ...
question@mail.ru
·
0000-00-00 00:00:00
·
python, вопрос
There is a Python script: import syssys.studout = open ( 'my_log.log' , 'w' ) print 'test' he writes the entire standard output to the file. Question: How can I...
question@mail.ru
·
0000-00-00 00:00:00
·
python, ошибка, пример
I somehow suddenly ran into such a problem. During the & nbsp; for I need to remove the records from it, but how can I tu out the error: Runtimeroror: Dictionary CHANGED SIZ...
question@mail.ru
·
0000-00-00 00:00:00
·
помощь, python3, django, ии, проект
I create a new project on Django using Pycharm. I do not change anything. When starting the project, the error knocks out: "" C: \ Program Files (x86) \ Jetbrains \ Pycharm 5...