- 
								Pyinstaller packaging py error ImportError: No module named FileDialog.
								
 I use pyinstaller to package the environment is python2.7.11,pyinstaller 3.3.1.  there are only these two py files  
manage_utils.py
mainform.py.,pyinstaller -F mainform.py,
, 
 how did this happen? And the path of program execution seems to have chang... 
- 
								Failure to obtain data often occurs during sqlalchemy operation, but there is data in mysql.
								
 recently, it often appears when using sqlalchemy+python+gunicorn to develop a small project. Sqlalchemy reads the data and returns None, but it is possible to view the data in the database. As a novice, I suspect that there is something wrong with my wr... 
- 
								Syntax error defining def _ _ repr__ (self): in python2.7 class class
								
 I just started to learn python2.7, compared to the examples in the book, but when I write here, I always report grammatical errors.  looked at it, and searched the Internet, but didn  t find out where the mistake was. 
 this is the source code: 
class U... 
- 
								In python "." What's the difference between operation, ['attr'] operation, get (' attr')
								
 a = {  name  :   zzzz  } 
 a.name =   yuioi       error  a [   name  ] =   asdasd   
 Why  ". " Operation will report an error 
... 
- 
								Python Flask + React, is it possible not to learn back-end templates jinja and URL?
								 use react + Flask to build a small website, generally read  "in-depth understanding of Flask ".  after using react, the backend template jinja and routing no longer need to be learned? ... 
- 
								How do you combine "\ x0" with a number (for example, 5) in python to form "\ x05"?
								
 for example, I now have a variable:  num=5 
 then I need to fill in the value of this num to the position of the underscore in  "x0_ ". How can I do that? 
 try 1:  x codeshelper id=0 0% s% (5)  so the x is  "   x05 " instead of  "x05 "   
... 
- 
								How to view the source code of built-in functions in python
								
 for example, how to view the source code of python built-in functions 
 give an example: 
-sharp xrang
for i in xrange(10):
  print i
-sharp 
-sharp  pass
class xrange(object):
    """
    xrange(stop) -> xrange object
    xrange(star... 
- 
								Python has a large list, and now I want to remove the value from the list while taking the value from the list
								
 this big list data adds 100w pieces of data, take 1000 pieces of data from this big list at a time, and delete it from the list  at present, my solution is: 
a = range(1000000)
b=[]
for i in range(1000):
    b.append(a.pop())
 feels that this method is ... 
- 
								Python slqalchemy
								
 A model has data A1  B model has data b1 
 b1.key1 is a foreign key, associated with the primary key of a1.id 
 is there a problem for me to delete A1 data directly now?  db.session.delete (A1)  db.session.commit () 
... 
- 
								Python selenium how to transfer driver in unittest in two case of the same page
								
 Test a login and logout. I already instantiated a webdriver, when I logged in. I want to reference this driver. in the logout case. How can I refer to this driver? 
 Why should I refer to the driver, in the login case instead of instantiating another dr... 
- 
								How to realize the reuse of test cases under Python selenium POM automatic development mode
								
 develop an automated test case of the system in a page-oriented development mode;  the existing login login_case, will develop a logout_case.  because the prerequisite for logout_case is that the user has logged in, you must first call login_case in the... 
- 
								Py2 Classical Class, inheritance problem
								
 class A (): 
def __init__(self):
    print(  A  )
 class B (A): 
def __init__(self):
    super(B, self).__init__()
 b = B ()  * * an error occurred when executing under py2  super (B, self). _ init__ ()  TypeError: must be type, not classobj** 
 there... 
- 
								The tell method in the for loop returns an error when the Python file is read
								
The  code iterates one line at a time, expecting the tell method to return the position of the current pointer. But what is actually returned is the last location of the entire document;  Please help me to see what the problem is? 
 My Daily.txt 
Good mo... 
- 
								On the problem of extracting cookie from python simulated landing
								
 want to use python to open a web page, log in to the system, extract cookie and other operations, because that system is very painful, so the implementation of bag-grabbing simulation has been given up. 
 now we have realized the function of extracting ... 
- 
								Robot framework (python+selenium) how to get the text value of pseudo elements
								
 how to get the text value of the elements in the following figure-- Operation Plan Application 
  
... 
- 
								What is the use of Python queue Queue and thread Thread?
								 newly cute, I was confused when I first learned multithreading and queuing. I don  t know what  s the use in practice? ... 
- 
								ImportError: cannot import name InnerObjectWrapper
								
 Python 2.7.12,  elasticsearch 6.2.0  elasticsearch-dsl 6.1.0 
from elasticsearch_dsl import InnerObjectWrapper
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name InnerObjectWrap... 
- 
								How to modify ou? in python-ldap
								
 problem description 
 when using python-ldap, there is a problem that you need to modify ou. Looking at the official python-ldap documentation, you can find that the function of rename_s () can solve this problem, but the ldap version used on the server... 
- 
								Python executes commands in the specified directory
								
 novice to python,  enter the specified directory to execute a command 
 see a solution. What I understand is that the semicolon is preceded by entering the folder, followed by the execution of the command, but executed in windows 
import os
  os.system(... 
- 
								Python build finished. Build these modules were not found?
								
  OpenWRT joins the python2.7.9, result to report an error, lacks the module, but how to solve?  
Python build finished, but the necessary bits to build these modules were not found:
_bsddb             _sqlite3           _tkinter        
bsddb185        ...