Q_Id int64 337 49.3M | CreationDate stringlengths 23 23 | Users Score int64 -42 1.15k | Other int64 0 1 | Python Basics and Environment int64 0 1 | System Administration and DevOps int64 0 1 | Tags stringlengths 6 105 | A_Id int64 518 72.5M | AnswerCount int64 1 64 | is_accepted bool 2
classes | Web Development int64 0 1 | GUI and Desktop Applications int64 0 1 | Answer stringlengths 6 11.6k | Available Count int64 1 31 | Q_Score int64 0 6.79k | Data Science and Machine Learning int64 0 1 | Question stringlengths 15 29k | Title stringlengths 11 150 | Score float64 -1 1.2 | Database and SQL int64 0 1 | Networking and APIs int64 0 1 | ViewCount int64 8 6.81M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
37,379,793 | 2016-05-22T21:21:00.000 | 2 | 0 | 0 | 1 | python,sockets,tcp,packet,datagram | 37,380,443 | 1 | true | 0 | 0 | Since TCP is only an octet stream this is not possible without glue, either around your data (i.e. framing) or inside your data (structure with clear end).
The way this is typically done is either by having a delimiter (like \r\n\r\n between HTTP header and body) or just prefix your message with the size. In the latter... | 1 | 0 | 0 | I need to transmit full byte packets in my custom format via TCP. But if I understand correctly TCP is streaming protocol, so when I will call send method on sender side, there is not guaranty that it will be received with same size on receiver side when call recv (It can be merged together with Nagle's algorithm and t... | Correct architectual way to send "datagrams" via TCP | 1.2 | 0 | 1 | 54 |
37,381,061 | 2016-05-23T00:28:00.000 | 0 | 0 | 0 | 0 | python-3.x,pygame | 37,381,094 | 1 | true | 0 | 1 | In my experience, most uses for sprites can work with rectangular collision boxes. Only if you had an instance where a ball needed to be collided with then you would have to use an actual sprite. In the long run, I would recommend learning sprites, but if you need help with sprites, the pygame documentation has loads o... | 1 | 2 | 0 | Ok so I am very bad at sprites and I just don't get how to use sprites with blitted images. So I was wondering, if I make the image and just make a rectangle around that object that follows that image around, would that be a good replacement for sprites, the rectangle would be the one that's colliding for instances... ... | Replacing sprites idea | 1.2 | 0 | 0 | 25 |
37,383,059 | 2016-05-23T05:16:00.000 | 5 | 0 | 1 | 0 | python,python-3.x | 37,383,171 | 4 | false | 0 | 0 | One simple option is to add the items starting with the position with highest value, and then continue with the 2nd highest value, etc.
This way you can using the original method, without any problem of "old/new position" | 1 | 9 | 0 | I was wondering if there was a way to insert multiple variables into a list at one time using the same index. So for example, let's say we have a list of
[a, b, c]
and
[0,1,2,3,4]
and I wanted to insert the first list such that the end result is,
[a, 0, 1, b, 2, 3, c, 4]
But if I was going to do it individually using l... | How to insert multiple values by index into list at one time | 0.244919 | 0 | 0 | 9,505 |
37,383,545 | 2016-05-23T06:01:00.000 | 1 | 0 | 0 | 0 | python,mongodb,database-connection,pymongo,mongoengine | 37,915,282 | 1 | false | 0 | 0 | So after a lot of struggle and a lot of load testing, we solved the problem by upgrading PyMongo to 2.8.1. PyMongo 2.7.2 is the first version to support MongoDB 2.6 and it sure does have some problems handling connections. Upgrading to PyMongo 2.8.1 helped us resolve the issue. With the same load, the connections do no... | 1 | 0 | 0 | I was running Mongo 2.4 with a replicaset which contains 1 primary, 1 secondary and an arbiter. We were using pymongo 2.6 and mongoengine 0.8.2.
Recently, we performed an upgrade to Mongo 2.6, and also upgraded pymongo to 2.7.2 and mongoengine to 0.8.7.
This setup worked fine for almost 12 hours, after which we started... | Too many open connections with mongo 2.6 + pymongo 2.7.2 | 0.197375 | 1 | 0 | 586 |
37,386,595 | 2016-05-23T08:52:00.000 | 4 | 0 | 0 | 0 | python,r,text-mining,lda,mallet | 37,416,493 | 1 | true | 0 | 0 | Thank you for this thorough summary!
As an alternative to topicmodels try the package mallet in R. It runs Mallet in a JVM directly from R and allows you to pull out results as R tables. I expect to release a new version soon, and compatibility with tm constructs is something others have requested.
To clarify, it's a g... | 1 | 4 | 1 | Introduction
I'd like to know what other topic modellers consider to be an optimal topic-modelling workflow all the way from pre-processing to maintenance. While this question consists of a number of sub-questions (which I will specify below), I believe this thread would be useful for myself and others who are interest... | What is the optimal topic-modelling workflow with MALLET? | 1.2 | 0 | 0 | 1,478 |
37,394,199 | 2016-05-23T14:51:00.000 | 2 | 0 | 0 | 0 | python-3.x,tkinter,optionmenu | 37,395,425 | 1 | true | 0 | 1 | It's not designed for that. If you want that sort of behavior you can create your own widget. An optionmenu is just a menubtton and a menu, and a tiny bit of code. | 1 | 2 | 0 | OptionMenu is working perfectly in my application to select one option among several possible. However, I need to allow the user to select more than one option. Is it possible? | How to allow more than one selection in tkinter OptionMenu? | 1.2 | 0 | 0 | 230 |
37,394,794 | 2016-05-23T15:21:00.000 | 1 | 0 | 1 | 0 | python-3.x,pycharm,jupyter-notebook | 37,395,677 | 1 | false | 0 | 0 | I think your state may refer to a stack frame (more or less).
PyCharm and probably other IDEs have a similar tool. If you are debugging your code and reach a breakpoint you have the possibility to open an interactive ipython console in which you can inspect all current variables in the stack frame, though you cant alte... | 1 | 2 | 0 | Context:
Jupyter notebook has this nice ability to store variable values even when a block of code executed and exited. It is a more powerful version of "break point" in other IDEs. So far, I have noticed some benefits from this jupyter notebook ability:
You can run the lengthy part of your code only once and use its ... | Jupyter notebook's ability to retain variables on script exit, Any other IDE can do it? | 0.197375 | 0 | 0 | 1,139 |
37,402,110 | 2016-05-23T23:29:00.000 | 0 | 0 | 1 | 0 | windows,python-3.x,polyglot | 61,607,500 | 4 | false | 0 | 0 | This will work by typing it on Anaconda Prompt:
pip install polyglot==14.11 | 1 | 0 | 0 | HI i want to install the polyglot on python version 3.5. it requires to have numpy installed which i already have and also libicu-dev. My OS is windows X86. I went through cmd, pip and wrote "pip install libicu-dev" but it gives me an error that could not find a version to satisfy the requirements.
how can i install li... | Getting error on installing polyglot for python 3.5? | 0 | 0 | 0 | 2,805 |
37,402,998 | 2016-05-24T01:25:00.000 | 1 | 0 | 0 | 0 | python,openerp | 37,405,131 | 1 | true | 1 | 0 | If you are going to create odoo normal module then you must create models.Model.
If you are going to create odoo module which will handle post or get request from web service then you must use controller.
If you are going to create odoo module for other module, and this module is wizard then you must use transient mode... | 1 | 1 | 0 | I'm using odoo9 for my project.
In my project, there is a common excel handling class fill in the excel template and output result, and here is my question: which base class should it inherit? models.Model or http.Controller, or nothing? | Which base class to inherit if it's a common class in odoo9 | 1.2 | 0 | 0 | 57 |
37,406,227 | 2016-05-24T06:46:00.000 | 0 | 1 | 1 | 0 | python,unit-testing,mocking | 37,407,120 | 2 | false | 0 | 0 | The problem of "mockism" is that tests bind your code to a particular implementation. Once you have decided to test for a particular function call you have to call (or not as in your example) that function in your production code.
As you have already noticed, there is plenty of ways to remove the directory (even by run... | 1 | 0 | 0 | I practice TDD but I have not used mocking before.
Suppose I want to build a function that should create a folder, but only if that folder does not already exist. As part of my TDD cycle I first want to create a test to see that my function won’t delete an already existing folder.
As my function will probably use os.... | Python mocking delete | 0 | 0 | 0 | 695 |
37,407,054 | 2016-05-24T07:29:00.000 | 1 | 0 | 1 | 0 | python,machine-learning,nlp,nltk,crf | 37,445,707 | 1 | true | 0 | 0 | The way this problem has traditionally been addressed is to use an "intent" classifier to determine the intent of a query. This classifier is trained to route queries to the appropriate sequence model. Then what you can do is send the query to the top 3 models as predicted by the intent classifier and see which of thos... | 1 | 2 | 0 | i'm creating a sequence labeling program using pycrfsuite(BIO taging) and nltk. The program should be able to process queries with different context.
I've trained different models for each context and saved em separately,one model to process flight booking queries, one model to process queries to send sms etc.
I've an ... | How to use Sequence labeling for queries with different context? | 1.2 | 0 | 0 | 119 |
37,413,302 | 2016-05-24T12:15:00.000 | -1 | 0 | 0 | 0 | python,scikit-learn,cross-validation | 53,760,310 | 4 | false | 0 | 0 | For individual scores of each class, use this :
f1 = f1_score(y_test, y_pred, average= None)
print("f1 list non intent: ", f1) | 1 | 5 | 1 | I'm using cross_val_score from scikit-learn (package sklearn.cross_validation) to evaluate my classifiers.
If I use f1 for the scoring parameter, the function will return the f1-score for one class. To get the average I can use f1_weighted but I can't find out how to get the f1-score of the other class. (precision and ... | f1 score of all classes from scikits cross_val_score | -0.049958 | 0 | 0 | 13,883 |
37,413,919 | 2016-05-24T12:41:00.000 | 0 | 0 | 0 | 0 | python,sqlite | 37,414,407 | 1 | false | 0 | 0 | you need to switch databases..
I would use the following:
postgresql as my database
psycopg2 as the driver
the syntax is fairly similar to SQLite and the migration shouldn't be too hard for you | 1 | 0 | 0 | I have three programs running, one of which iterates over a table in my database non-stop (over and over again in a loop), just reading from it, using a SELECT statement.
The other programs have a line where they insert a row into the table and a line where they delete it. The problem is, that I often get an error sqli... | Lock and unlock database access - database is locked | 0 | 1 | 0 | 369 |
37,414,515 | 2016-05-24T13:04:00.000 | 0 | 0 | 1 | 0 | python,list,operators | 37,414,636 | 3 | true | 0 | 0 | Why not create one list for the ints and one for the operators and them append from each list step by step?
edit: you can first convert your ints to strings then, create a string by using string=''.joint(list) after that you can just eval(string)
edit2: you can also take a look at the Sympy module that allows you to us... | 2 | 0 | 0 | EDIT: When I say function in the title, I mean mathematical function not programming function. Sorry for any confusion caused.
I'm trying to create a function from randomly generated integers and operators. The approach I am currently taking is as follows:
STEP 1: Generate random list of operators and integers as a... | creating a simple function using lists of operators and integers | 1.2 | 0 | 0 | 60 |
37,414,515 | 2016-05-24T13:04:00.000 | 0 | 0 | 1 | 0 | python,list,operators | 37,438,697 | 3 | false | 0 | 0 | So, for those that are interested. I achieved what I was after by using the eval() function. Although not the most robust, within the particular loop I have written the inputs are closely controlled so I am happy with this approach for now. | 2 | 0 | 0 | EDIT: When I say function in the title, I mean mathematical function not programming function. Sorry for any confusion caused.
I'm trying to create a function from randomly generated integers and operators. The approach I am currently taking is as follows:
STEP 1: Generate random list of operators and integers as a... | creating a simple function using lists of operators and integers | 0 | 0 | 0 | 60 |
37,415,823 | 2016-05-24T13:58:00.000 | 1 | 0 | 1 | 0 | python,python-2.7 | 37,415,947 | 2 | false | 0 | 0 | You might have to install the module geographiclib by running
pip install geographiclib
or
easy_install geographiclib | 2 | 2 | 0 | When I am trying to run .py script file ,I am getting this error. In the script file after import the packages, I am written "from geographiclib.geodesic import Geodesic" | ImportError: No module named geographiclib.geodesic | 0.099668 | 0 | 0 | 2,275 |
37,415,823 | 2016-05-24T13:58:00.000 | 1 | 0 | 1 | 0 | python,python-2.7 | 37,832,763 | 2 | false | 0 | 0 | I resolve the issue below are the step which i follow to reslove.
1. Install PIP using command "python get-pip.py". you can download the get-pip.py file from internet.
2. Then run "pip install geographiclib".
3.finish | 2 | 2 | 0 | When I am trying to run .py script file ,I am getting this error. In the script file after import the packages, I am written "from geographiclib.geodesic import Geodesic" | ImportError: No module named geographiclib.geodesic | 0.099668 | 0 | 0 | 2,275 |
37,419,778 | 2016-05-24T17:03:00.000 | 1 | 0 | 0 | 0 | python,screen,freeze,display | 37,421,436 | 1 | true | 0 | 1 | If by "the screen" you're talking about the terminal then I highly recommend checking out the curses library. It comes with the standard version of Python. It gives control of many different aspects of the terminal window including the functionality you described. | 1 | 0 | 0 | I searched the web and SO but did not find an aswer.
Using Python, I would like to know how (if possible) can I stop the screen from updating its changes to the user.
In other words, I would like to buid a function in Python that, when called, would freeze the whole screen, preventing the user from viewing its changes.... | Using Python, how to stop the screen from updating its content? | 1.2 | 0 | 0 | 1,178 |
37,420,756 | 2016-05-24T18:01:00.000 | 0 | 0 | 0 | 0 | python | 37,421,286 | 3 | false | 1 | 0 | You can use selenium with PhantomJS to do this without the browser opening. You have to use the Keys portion of selenium to send data to the form to be submitted. It is also worth noting that this method will not work if there are captcha's on the form. | 1 | 0 | 0 | I want to build a python script to submit some form on internet website. Such as a form to publish automaticaly some item on site like ebay.
Is it possible to do it with BeautifulSoup or this is only to parse some website?
Is it possible to do it with selenium but quickly without open really the browser?
Are there a... | Submit form on internet website | 0 | 0 | 1 | 55 |
37,421,035 | 2016-05-24T18:17:00.000 | 1 | 0 | 0 | 0 | python,file,vectorization,hdf5,h5py | 37,845,330 | 1 | false | 0 | 0 | An elegant way for sampling without replacement is computing a random permutation of the numbers 1..N (numpy.random.permutation) and then using chunks of size M from it.
Storing data in an h5py file is kind of arbitrary. You could use a single higher dimensional data set or a group containing the N two dimensional data... | 1 | 1 | 1 | I have familiarized myself with the basics of H5 in python. What I would like to do now is two things:
Write images (numpy arrays) into an H5 file.
Once that is done, be able to pick out $M$ randomly.
What is meant here is the following: I would like to write a total of $N=100000$ numpy arrays (images), into one H5 ... | H5 file with images in Python: Want to randomly select without replacement | 0.197375 | 0 | 0 | 274 |
37,423,208 | 2016-05-24T20:25:00.000 | 1 | 0 | 0 | 0 | python,python-3.x,pandas,series,ordereddictionary | 37,522,101 | 2 | false | 0 | 0 | Ordered dict is implemented as part of the python collections lib. These collection are very fast containers for specific use cases. If you would be looking for only dictionary related functionality (like order in this case) i would go for that. While you say you are going to do more deep analysis in an area where pand... | 1 | 5 | 1 | Still new to this, sorry if I ask something really stupid. What are the differences between a Python ordered dictionary and a pandas series?
The only difference I could think of is that an orderedDict can have nested dictionaries within the data. Is that all? Is that even true?
Would there be a performance differenc... | orderedDict vs pandas series | 0.099668 | 0 | 0 | 1,177 |
37,425,230 | 2016-05-24T22:57:00.000 | 1 | 0 | 0 | 0 | python,sql | 37,892,058 | 1 | true | 0 | 0 | Do a binary search. Break the files (or the scripts, or whatever) in half, and process both files. One will (should) fail, and the other shouldn't. If they both have errors, doesn't matter, just pick one.
Continue splitting the broken files until you've narrowed it down to the something more manageable that you can pro... | 1 | 0 | 0 | I am getting a UnicodeDecodeError in my Python script and I know that the unique character is not in Latin (or English), and I know what row it is in (there are thousands of columns). How do I go through my SQL code to find this unique character/these unique characters? | How do I find unique, non-English characters in a SQL script that has a lot of tables, scripts, etc. related to it? | 1.2 | 1 | 0 | 30 |
37,426,196 | 2016-05-25T00:55:00.000 | 0 | 0 | 1 | 0 | python-2.7,importerror,quandl | 38,984,971 | 15 | false | 0 | 0 | I am following a Youtube tutorial where they use 'Quandl'. It should be quandl. Change it and it won't throw error. | 7 | 20 | 1 | I am am trying to run the Quandl module on a virtualenv which I have uninstalled packages only pandas and then Quandl,
I am running Python 2.7.10 - I have uninstalled all other python versions, but its still giving me the issue of 'ImportError: No module named Quandl'. Do you know what might be wrong? Thanks | import error; no module named Quandl | 0 | 0 | 0 | 49,345 |
37,426,196 | 2016-05-25T00:55:00.000 | 12 | 0 | 1 | 0 | python-2.7,importerror,quandl | 38,992,511 | 15 | false | 0 | 0 | Use below syntax all in lower case
import quandl | 7 | 20 | 1 | I am am trying to run the Quandl module on a virtualenv which I have uninstalled packages only pandas and then Quandl,
I am running Python 2.7.10 - I have uninstalled all other python versions, but its still giving me the issue of 'ImportError: No module named Quandl'. Do you know what might be wrong? Thanks | import error; no module named Quandl | 1 | 0 | 0 | 49,345 |
37,426,196 | 2016-05-25T00:55:00.000 | 1 | 0 | 1 | 0 | python-2.7,importerror,quandl | 60,087,731 | 15 | false | 0 | 0 | check whether it exists with the installed modules by typing
pip list
in the command prompt and if there is no module with the name quandl then type
pip install quandl
in the command prompt . Worked for me in the jupyter | 7 | 20 | 1 | I am am trying to run the Quandl module on a virtualenv which I have uninstalled packages only pandas and then Quandl,
I am running Python 2.7.10 - I have uninstalled all other python versions, but its still giving me the issue of 'ImportError: No module named Quandl'. Do you know what might be wrong? Thanks | import error; no module named Quandl | 0.013333 | 0 | 0 | 49,345 |
37,426,196 | 2016-05-25T00:55:00.000 | 0 | 0 | 1 | 0 | python-2.7,importerror,quandl | 59,360,553 | 15 | false | 0 | 0 | quandl has now changed, you require an api key, go the site and register your email.
import quandl
quandl.ApiConfig.api_key = 'your_api_key_here'
df = quandl.get('WIKI/GOOGL') | 7 | 20 | 1 | I am am trying to run the Quandl module on a virtualenv which I have uninstalled packages only pandas and then Quandl,
I am running Python 2.7.10 - I have uninstalled all other python versions, but its still giving me the issue of 'ImportError: No module named Quandl'. Do you know what might be wrong? Thanks | import error; no module named Quandl | 0 | 0 | 0 | 49,345 |
37,426,196 | 2016-05-25T00:55:00.000 | 0 | 0 | 1 | 0 | python-2.7,importerror,quandl | 52,893,601 | 15 | false | 0 | 0 | With Anaconda\Jupyter notebook go to the install directory (C:\Users\<USER_NAME>\AppData\Local\Continuum\anaconda3) where <USER_NAME> is your logged in Username. Then execute in command prompt:
python -m pip install Quandl
import quandl | 7 | 20 | 1 | I am am trying to run the Quandl module on a virtualenv which I have uninstalled packages only pandas and then Quandl,
I am running Python 2.7.10 - I have uninstalled all other python versions, but its still giving me the issue of 'ImportError: No module named Quandl'. Do you know what might be wrong? Thanks | import error; no module named Quandl | 0 | 0 | 0 | 49,345 |
37,426,196 | 2016-05-25T00:55:00.000 | 0 | 0 | 1 | 0 | python-2.7,importerror,quandl | 43,598,162 | 15 | false | 0 | 0 | install quandl for version 3.1.0
Check package path where you installed, make sure it's name is quandl not Quandl (my previous name is Quandl, so when I use import quandl, it always said "no module named quandl")
If your package's name is Quandl, delete it and reinstall it. (I use anaconda to install my package, it's c... | 7 | 20 | 1 | I am am trying to run the Quandl module on a virtualenv which I have uninstalled packages only pandas and then Quandl,
I am running Python 2.7.10 - I have uninstalled all other python versions, but its still giving me the issue of 'ImportError: No module named Quandl'. Do you know what might be wrong? Thanks | import error; no module named Quandl | 0 | 0 | 0 | 49,345 |
37,426,196 | 2016-05-25T00:55:00.000 | -1 | 0 | 1 | 0 | python-2.7,importerror,quandl | 45,563,219 | 15 | false | 0 | 0 | Sometimes the quandl module is present with "Quandl" in following location
C:\Program Files (x86)\Anaconda\lib\site-packages\Quandl.
But the scripts from Quandl refer to quandl in import statements.
So, renaming folder Quandl to quandl worked for me.
New path:
"C:\Program Files (x86)\Anaconda\lib\site-packages**quandl... | 7 | 20 | 1 | I am am trying to run the Quandl module on a virtualenv which I have uninstalled packages only pandas and then Quandl,
I am running Python 2.7.10 - I have uninstalled all other python versions, but its still giving me the issue of 'ImportError: No module named Quandl'. Do you know what might be wrong? Thanks | import error; no module named Quandl | -0.013333 | 0 | 0 | 49,345 |
37,434,949 | 2016-05-25T10:52:00.000 | 3 | 0 | 0 | 0 | python,database,sqlite,multiprocessing | 39,020,351 | 1 | false | 0 | 0 | On Linux you can just use /dev/shm as the file location of your sqlite.
This is a memory mounted drive suitable exactly for that. | 1 | 3 | 0 | It is possible [in any way, even poorly hacked solution] to share in-memory database between many processes? My application has one process that opens the in-memory database and the other are running only SELECT queries on the database.
NOTE: I need solution only for python 2.7, and btw if it matters the module I use f... | Share in-memory database between processes sqlite | 0.53705 | 1 | 0 | 850 |
37,438,867 | 2016-05-25T13:34:00.000 | 1 | 0 | 0 | 1 | python,django,celery | 37,637,827 | 1 | false | 1 | 0 | periodic tasks scheduler in celery is not designed to handle thousands of scheduled tasks, so from performance perspective, much better solution is to have one task that is running at the smallest interval (e.g. if you allow user to sechedule dayly, weekly, monthly - running task daily is enough)
such approach is as we... | 1 | 2 | 0 | I'm working on project which main future will be running periodically one type of async task for each user. Every user will be able to configure task (running daily, weekly etc. at specified time). Also task will use some data stored by user. Now I'm wondering which approach should be better: allow users to create own ... | Celery PeriodicTask per user | 0.197375 | 0 | 0 | 341 |
37,442,494 | 2016-05-25T16:08:00.000 | 5 | 0 | 1 | 0 | python,python-3.x,python-2.7,anaconda,virtualenv | 46,508,952 | 6 | false | 0 | 0 | I have python 2.7.13 and 3.6.2 both installed. Install Anaconda for python 3 first and then you can use conda syntax to get 2.7. My install used:
conda create -n py27 python=2.7.13 anaconda | 3 | 105 | 0 | I am using currently Anaconda with Python 2.7, but I will need to use Python 3.5. Is it ok to have them installed both in the same time? Should I expect some problems?
I am on a 64-bit Win8. | Is it ok having both Anacondas 2.7 and 3.5 installed in the same time? | 0.16514 | 0 | 0 | 139,690 |
37,442,494 | 2016-05-25T16:08:00.000 | 4 | 0 | 1 | 0 | python,python-3.x,python-2.7,anaconda,virtualenv | 37,442,783 | 6 | false | 0 | 0 | Yes, It should be alright to have both versions installed. It's actually pretty much expected nowadays. A lot of stuff is written in 2.7, but 3.5 is becoming the norm. I would recommend updating all your python to 3.5 ASAP, though. | 3 | 105 | 0 | I am using currently Anaconda with Python 2.7, but I will need to use Python 3.5. Is it ok to have them installed both in the same time? Should I expect some problems?
I am on a 64-bit Win8. | Is it ok having both Anacondas 2.7 and 3.5 installed in the same time? | 0.132549 | 0 | 0 | 139,690 |
37,442,494 | 2016-05-25T16:08:00.000 | 0 | 0 | 1 | 0 | python,python-3.x,python-2.7,anaconda,virtualenv | 58,625,610 | 6 | false | 0 | 0 | Anaconda is made for the purpose you are asking. It is also an environment manager. It separates out environments. It was made because stable and legacy packages were not supported with newer/unstable versions of host languages; therefore a software was required that could separate and manage these versions on the same... | 3 | 105 | 0 | I am using currently Anaconda with Python 2.7, but I will need to use Python 3.5. Is it ok to have them installed both in the same time? Should I expect some problems?
I am on a 64-bit Win8. | Is it ok having both Anacondas 2.7 and 3.5 installed in the same time? | 0 | 0 | 0 | 139,690 |
37,442,986 | 2016-05-25T16:32:00.000 | 0 | 0 | 0 | 1 | python,linux | 37,557,915 | 1 | false | 0 | 0 | The second command will not hang because the issue is not with a large amount of data on standard output, but a large amount of data on standard error.
In the former case, standard error is being redirected to standard output, which is being piped to your program. Hence, a large amount of data being produced on standar... | 1 | 0 | 0 | From the documentation of Popen.wait(), I see
Warning This will deadlock when using stdout=PIPE and/or stderr=PIPE
and the child process generates enough output to a pipe such that it
blocks waiting for the OS pipe buffer to accept more data. Use
communicate() to avoid that.
I am having a bit of trouble underst... | Subprocess Hanging on Wait | 0 | 0 | 0 | 678 |
37,444,362 | 2016-05-25T17:49:00.000 | 0 | 0 | 1 | 1 | python,linux,command-line | 37,445,004 | 2 | false | 0 | 0 | Let's say you run pwd and it returns /home/myName. If you then run /home/myName/code/myProgram.py, the working directory of your program is not /home/myName/code; it's /home/myName. The working directory of a process in inherited from the parent process, not set based on where the script is located. | 1 | 1 | 0 | I'm using with open('myFile', 'rb') as file: to read a file. When running the program with python myProgram.py everything works fine. But as soon I try to run it without cd-ing into the directory of myProgram.py and use an absolute path instead (like python /home/myName/myCode/myProgram.py I always get this error messa... | Python FileNotFoundError when using open() | 0 | 0 | 0 | 1,226 |
37,446,282 | 2016-05-25T19:43:00.000 | 0 | 0 | 0 | 0 | python,django,eclipse | 37,478,375 | 1 | false | 1 | 0 | I usually use the context menu (right click on project in project explorer) and choose django/start new app. | 1 | 0 | 0 | I have created a new app inside a django project using the command line: python manage.py startapp name and I'm using PyDev as my IDE for the first time.
My problem is that I can't add this app to the project so I can begin to code. I have been reading some questions and answers but so far I couldn't find a answer. Can... | PyDev - how to include new apps in the project | 0 | 0 | 0 | 220 |
37,449,333 | 2016-05-25T23:41:00.000 | 0 | 0 | 0 | 0 | python,windows,drag-and-drop,xlsxwriter | 37,449,798 | 1 | false | 0 | 0 | Thanks to erkysun this issue was solved! eryksun's solution worked perfectly and I found another reason it wasn't working. This was because when I dragged and dropped the file into the python script then ran os.getcwd() no matter where the file was it returned C:\WINDOWS\system32. To counteract this wherever I had os.g... | 1 | 0 | 0 | I have a Python script which user's drag and drop KML files into for easy use. It takes the dropped file as sys.arg[1]. When entered into the command line as myScript.py Location.kml everything works fine. But when I drag and drop the file in an error is thrown saying no module named xlsxwriter. xlsxwriter is in the sa... | Module not found when drag and drop Python file | 0 | 1 | 0 | 290 |
37,450,288 | 2016-05-26T01:50:00.000 | 4 | 0 | 0 | 1 | python,linux | 37,451,543 | 1 | true | 0 | 0 | Trap sigint, sigterm and make sure to clean up anything like sockets, files, locks, etc.
Trap other signals based on what you are doing. For instance if you have open pipes you might trap sigpipe.
Just remember signal handling opens you to race conditions. You probably want to use sigprocmask to disable signals while ... | 1 | 2 | 0 | I'm creating a program in python that auto-runs for an embedded system and want to handle program interruptions gracefully. That is if possible close resources and signal child processes to also exit gracefully before actually exiting. At which point my watchdog should notice this and respawn everything.
What signals ... | What linux signals should I trap to make a good application | 1.2 | 0 | 0 | 102 |
37,451,236 | 2016-05-26T03:49:00.000 | 10 | 0 | 1 | 0 | python,jar,ide,settings,pycharm | 50,773,143 | 4 | false | 0 | 0 | The given link is outdated. However I solved my problem by clicking "Run" at the Pycharm's toolbar and then "Edit Configurations..." and I change my Interpreter to another actual one. Just changing it in the settings does not help, but this opperation already does ;) | 2 | 10 | 0 | When I go to run scripts in the terminal, I get an error in a red box that says
Pycharm cannot run program C:\Anaconda\python.exe (in directory E:\etc... CreateProcessError=2 The System cannot find the file specified.
I have uninstalled Anaconda and reinstalled it. I have also reinstalled PyCharm. Thing is though, I ... | PyCharm Cannot Run Program C:\\Anaconda\\python.exe | 1 | 0 | 0 | 25,842 |
37,451,236 | 2016-05-26T03:49:00.000 | 4 | 0 | 1 | 0 | python,jar,ide,settings,pycharm | 54,026,802 | 4 | false | 0 | 0 | Deleting the .idea folder solved the problem for me. Pycharm will create a new .idea folder with the correct path. | 2 | 10 | 0 | When I go to run scripts in the terminal, I get an error in a red box that says
Pycharm cannot run program C:\Anaconda\python.exe (in directory E:\etc... CreateProcessError=2 The System cannot find the file specified.
I have uninstalled Anaconda and reinstalled it. I have also reinstalled PyCharm. Thing is though, I ... | PyCharm Cannot Run Program C:\\Anaconda\\python.exe | 0.197375 | 0 | 0 | 25,842 |
37,455,466 | 2016-05-26T08:28:00.000 | 0 | 0 | 0 | 0 | python,excel,formatting,xlwt,xlutils | 50,905,858 | 2 | false | 0 | 0 | While Destrif is correct, xlutils uses xlwt which doesn't support the .xlsx file format.
However, you will also find that xlsxwritter is unable to write xlrd formatted objects.
Similarly, the python-excel-cookbook he recommends only works if you are running Windows and have excel installed. A better alternative for thi... | 1 | 2 | 0 | I have a results analysing spreadsheet where i need to enter my raw data into a 8x6 cell 'plate' which has formatted cells to produce the output based on a graph created. This .xlsx file is heavily formatted with formulas for the analysis, and it is a commercial spreadsheet so I cannot replicate these formulas.
I am u... | How to enter values to an .xlsx file and keep formatting of cells | 0 | 1 | 0 | 2,214 |
37,463,782 | 2016-05-26T14:29:00.000 | 0 | 0 | 0 | 0 | python,virtual-machine,virtualization,proxmox | 37,565,566 | 2 | false | 0 | 0 | The description parameter is only a message to show in proxmox UI, and it's not related to any function | 1 | 1 | 0 | I am using proxmoxer to manipulate machines on ProxMox (create, delete etc).
Every time I am creating a machine, I provide a description which is being written in ProxMox UI in section "Notes".
I am wondering how can I retrieve that information?
Best would be if it can be done with ProxMox, but if there is not a way to... | How can I retrieve Proxmox node notes? | 0 | 0 | 1 | 256 |
37,464,886 | 2016-05-26T15:16:00.000 | 2 | 0 | 0 | 0 | python,django,apache,mod-wsgi,django-filer | 37,495,881 | 1 | false | 1 | 0 | That would indicate that you have LimitRequestBody directive set to a very small value in the Apache configuration. This directive wouldn't normally be set at all if using standard Apache. Even if you happen to be using mod_wsgi-express the default there is 10MB. So it must have been overridden to a smaller value. | 1 | 1 | 0 | I after much gnashing of teeth found out my uploads were working just that I was getting a request entity to large 413 error I wasn't seeing. The django app is running under apache mod_wsgi, and I am no apache guru so i am not sure what I need to set to handle larger files. I tried to google online but it was unclear... | Fixing request entity too large error under django/apache/mod_wsgi for file uploads | 0.379949 | 0 | 0 | 1,167 |
37,471,681 | 2016-05-26T21:56:00.000 | 1 | 0 | 0 | 0 | python,oauth2 | 44,904,547 | 2 | false | 0 | 0 | Do you want to store it on the service side or locally?
Since your tool interfaces RESTful API, which is stateless, meaning that no information is stored between different requests to API, you actually need to provide access token every time your client accesses any of the REST endpoints. I am maybe missing some of the... | 1 | 3 | 0 | I am building a command line tool using python that interfaces with an RESTful api. The API uses oauth2 for authentication. Rather than asking for access_token every time user runs the python tool. Can I store the access_token in some way so that I can use it till its lifespan? If it is then how safe it is. | Is it possible to store authentication token in a separate file? | 0.099668 | 0 | 1 | 4,615 |
37,472,688 | 2016-05-26T23:39:00.000 | 1 | 1 | 0 | 1 | java,python,c++,pipelining | 37,495,749 | 2 | false | 0 | 0 | We had same issue where we had to share sensor data between one Java app to other multiple apps including Java,Python and R.
First we tried Socket connections but socket communication were not fault tolerant. Restarting or failure in one app affected other.
Then we tried RMI calls between them but again we were unhappy... | 1 | 3 | 0 | I'm working on a project, which I am not at liberty to discuss the core, but I have reached a stumbling block. I need data to be transferred from C++ to some other language, preferably Java or Python, in realtime (~10ms latency).
We have a sensor that HAS to be parsed in C++. We are planning on doing a data read/outp... | Pipelining or Otherwise Transferring Data Between Languages in Realtime | 0.099668 | 0 | 0 | 150 |
37,475,338 | 2016-05-27T05:15:00.000 | 0 | 0 | 0 | 0 | mysql,linux,mysql-python,pymysql | 37,517,765 | 1 | false | 0 | 0 | It works contingency.
MySQL is request-rensponse protocol.
When two process sends query, it isn't mixed unless the query is large.
MySQL server (1) receive one query, (2) send response of (1), (3) receive next query, (4) send response of (3).
When first response was send from MySQL server, one of two processes receives... | 1 | 0 | 0 | abort MySQLdb.
I know many process not use same connect, Because this will be a problem .
BUT, run the under code , mysql request is block , then many process start to query sql at the same time , the sql is "select sleep(10)" , They are one by one.
I not found code abort lock/mutux in MySQLdb/mysql.c , Why there i... | use multiprocessing to query in same mysqldb connect , block? | 0 | 1 | 0 | 571 |
37,476,505 | 2016-05-27T06:41:00.000 | 3 | 0 | 0 | 0 | python,kivy | 37,493,470 | 1 | true | 0 | 1 | The problem was caused because Kivy was using Pygame. I had to brew install the SDL2 dependencies and reinstall Kivy. This fixed the problem. | 1 | 1 | 0 | I'm still relatively new to Python and Kivy (much more so for Kivy). I'm running Python 3.5 and Kivy 1.9.1 on OS X. I installed Kivy using pip install, and I was never really able to get Kivy to work using the download and putting in my Applications folder like the instructions were asking. Everything seems to work fin... | Kivy window goes blank after being resized | 1.2 | 0 | 0 | 556 |
37,477,938 | 2016-05-27T07:57:00.000 | 0 | 0 | 1 | 0 | python,python-2.7,python-idle | 37,478,143 | 1 | true | 0 | 0 | I recommend you use sublime text, and use package control.Then, you can use a lots of plugins and of course, auto-indention. | 1 | 0 | 0 | Idle is just a bare-bones text editor with no support for auto-indention.
Is there any plugin for that ? | Are there any plugins available for python's IDLE? | 1.2 | 0 | 0 | 754 |
37,480,048 | 2016-05-27T09:38:00.000 | 4 | 0 | 0 | 0 | django,pythonanywhere | 37,480,695 | 1 | true | 1 | 0 | I Figured it out, thanks for the hint Mr. Raja Simon.
In my PythonAnywhere Dashboard on Web Tab. I set something like this..
URL /media/
Directory /home//media_cdn
*media_cdn is where my images located. | 1 | 2 | 0 | I am using Django and PythonAnywhere, and I want to make the DEBUG to False. But when I set it to False and make ALLOWED_HOSTS = ['*'], it works fine. But the problem is the media (or the images) is not displaying. Anyone encounter this and know how to resolve it? | Django + Pythonanywhere: How to disable Debug Mode | 1.2 | 0 | 0 | 1,288 |
37,480,728 | 2016-05-27T10:10:00.000 | 0 | 0 | 0 | 0 | python,r,csv | 37,480,887 | 1 | false | 0 | 0 | you can use list.data[[1]]$name1 | 1 | 0 | 1 | Suppose that i have multiple .csv files with columns of same kind . If i wanted to access data of a particular column from a specified .csv file , how is it possible?
All .csv files have been stored in list.data
for ex:
Suppose that here , list.data[1] gives me the first .csv file.
How will i access a column of this fi... | how to access a particular column of a particular csv file from many imported csv files | 0 | 0 | 0 | 51 |
37,484,932 | 2016-05-27T13:36:00.000 | 1 | 0 | 0 | 0 | python-2.7,pandas,matplotlib,anaconda,importerror | 37,485,073 | 1 | false | 0 | 0 | The csv_test.py file you have "added by hand" tries to import scipy; as the error message says, don't do that.
You can probably place your test code in a private location, without messing with the scipy installation directory.
I suggest uninstalling and reinstalling at least pandas and scipy, possibly everything, to e... | 1 | 0 | 1 | import pandas
Traceback (most recent call last):
File "", line 1, in
File "/Users/.../anaconda/lib/python2.7/site-packages/pandas/init.py", line 37
, in
import pandas.core.config_init
File "/Users/.../anaconda/lib/python2.7/site-packages/pandas/core/config_init.py",
line 18, in
from ... | Import error: Error importing scipy | 0.197375 | 0 | 0 | 466 |
37,486,551 | 2016-05-27T14:53:00.000 | 0 | 0 | 1 | 0 | python,windows,python-3.x | 37,487,571 | 2 | false | 0 | 0 | @ Pierre-Louis Sauvage, @ geo: anaconda is useful, yet it is also a fairly heavy application, with about 300MB memory needed. You may therefore want to consider miniconda first. Since you're learning Python, that will most likely be sufficient.
So, I write this in 'answer' format instead of comment, since I have not en... | 1 | 0 | 0 | it's my first post here, however i have used this site as a guest through google searches. to the point now. i am learning python and i want to install scipy and pybrain. i have python 3.5.1 installed in the following path
C:\Program Files\Python35-32
When i use pip install (in cmd), I get an error with red letters, ... | problems installing scipy and pybrain in python 3.5.1 | 0 | 0 | 0 | 157 |
37,487,072 | 2016-05-27T15:19:00.000 | 0 | 0 | 0 | 1 | python,postgresql,plpython | 42,190,637 | 1 | true | 0 | 0 | Yes, it will, the package is independent from standard python installation. | 1 | 0 | 0 | I was writing a PL/Python function for PostgreSQl, with Python 2.7 and Python 3.5 already installed on Linux.
When I was trying to create extension plpythonu, I got an error, then I fixed executing in terminal the command $ sudo apt-get install postgresql-contrib-9.3 postgresql-plpython-9.3. I understand that this is s... | PL/Python in PostgreSQL | 1.2 | 1 | 0 | 278 |
37,488,036 | 2016-05-27T16:09:00.000 | 1 | 0 | 1 | 0 | python,keyboard-shortcuts,pycharm | 37,488,161 | 2 | false | 0 | 0 | Possibly you have to set the path to python environment, so it knows where your packages are and can look through them to tell you tips. Check this in PyCharm interpreter options | 2 | 0 | 0 | In pycharm ide of python, ctrl+space shortcut is bringing available properties,methods etc.(auto completion also) but the list has no explanations. In other words, I see available options in the list but when i hower the mouse on them there is no explanation is coming so I have no idea what do these options stand for.
... | Python/Pycharm Ctrl+Space Suggestion List Does not show explanations | 0.099668 | 0 | 0 | 464 |
37,488,036 | 2016-05-27T16:09:00.000 | 2 | 0 | 1 | 0 | python,keyboard-shortcuts,pycharm | 37,488,336 | 2 | true | 0 | 0 | After pressing Control+Space try Control+Shift+I to see definitions, and Ctrl+Q to see documentations. | 2 | 0 | 0 | In pycharm ide of python, ctrl+space shortcut is bringing available properties,methods etc.(auto completion also) but the list has no explanations. In other words, I see available options in the list but when i hower the mouse on them there is no explanation is coming so I have no idea what do these options stand for.
... | Python/Pycharm Ctrl+Space Suggestion List Does not show explanations | 1.2 | 0 | 0 | 464 |
37,492,173 | 2016-05-27T20:59:00.000 | 0 | 0 | 0 | 0 | python,excel,pandas,dataframe,precision | 37,596,921 | 3 | false | 0 | 0 | Excel might be truncating your values, not pandas. If you export to .csv from Excel and are careful about how you do it, you should then be able to read with pandas.read_csv and maintain all of your data. pandas.read_csv also has an undocumented float_precision kwarg, that might be useful, or not useful. | 1 | 4 | 1 | I tried to use pandas to read an excel sheet into a dataframe but for floating point columns, the data is read incorrectly. I use the function read_excel() to do the task
In excel, the value is 225789.479905466 while in the dataframe, the value is 225789.47990546614 which creates discrepancy for me to import data from ... | loss of precision when using pandas to read excel | 0 | 1 | 0 | 4,533 |
37,493,341 | 2016-05-27T22:49:00.000 | 4 | 0 | 1 | 1 | python,linux,raspberry-pi | 37,494,585 | 2 | false | 0 | 0 | I finally figured it out, but wanted to post the solution so others can find it in the future.
Subprogram = Popen(['lxterminal', '-e', 'python ./Foo.py'], stdout=PIPE)
The lxterminal is the Raspberry Pi's terminal name, -e is required, python ./Foo.py launches the python file, and stdout=PIPE displays the output on the... | 1 | 3 | 0 | I am writing a bootstrap program that runs several individual programs simultaneously. Thus, I require each sub-program to have its own terminal window, in a manner that gives me the ability to start/stop each sub-program individually within the bootstrap.
I was able to do this on Windows using Popen and CREATE_NEW_CON... | Python: Opening a program in a new terminal [Linux] | 0.379949 | 0 | 0 | 4,772 |
37,497,795 | 2016-05-28T10:19:00.000 | 0 | 0 | 0 | 0 | python,r,classification,data-mining,text-classification | 37,499,607 | 1 | true | 0 | 0 | There is nothing wrong with using this coding strategy for text and support vector machines.
For your actual objective:
support vector regression (SVR) may be more appropriate
beware of the journal impact factor. It is very crude. You need to take temporal aspects into account; and many very good work is not published... | 1 | 0 | 1 | I am struggling with the best choice for a classification/prediction problem. Let me explain the task - I have a database of keywords from abstracts for different research papers, also I have a list of journals with specified impact factors. I want to build a model for article classification based on their keywords, th... | Classification of sparse data | 1.2 | 0 | 0 | 539 |
37,499,130 | 2016-05-28T12:42:00.000 | 1 | 0 | 0 | 1 | python,geany | 37,499,554 | 1 | false | 0 | 0 | Execute: C:\Python35\python ¨%f¨
This string contains the diaeresis character (¨) (U+00A8) instead of the double quote (") (U+0022). | 1 | 1 | 0 | I'm a new user of Python
I installed Python35 for Windows. Hello.py runs fine in a terminal.
When trying to run the same in Geany the path is not found.
These are the settings in Geany:
Compile: C:\Python35\python -m py_compile "%f"
Execute: C:\Python35\python ¨%f¨
What I'm doing wrong? | Geany not running Python | 0.197375 | 0 | 0 | 863 |
37,500,810 | 2016-05-28T15:27:00.000 | 1 | 0 | 0 | 1 | python,file-io,go,attributes,metadata | 37,501,333 | 2 | false | 0 | 0 | If you are dealing with binary files like docx and pdf, you're best off storing the metadata in seperate files or in a sqlite file.
Metadata is usually stored seperate from files, in data structures called inodes (at least in Unix systems, Windows probably has something similar). But you probably don't want to get that... | 1 | 0 | 0 | I am in the process of writing a program and need some guidance. Essentially, I am trying to determine if a file has some marker or flag attached to it. Sort of like the attributes for a HTTP Header.
If such a marker exists, that file will be manipulated in some way (moved to another directory).
My question is:
Where e... | Attribute system similar to HTTP Headers for local files | 0.099668 | 0 | 0 | 62 |
37,502,578 | 2016-05-28T18:37:00.000 | 0 | 0 | 1 | 0 | python,multithreading,sockets,asynchronous,unity3d | 37,503,738 | 1 | false | 0 | 0 | Use TCP. UDP are mostly used for things like video/audio streaming. That's not the case here.
As for async vs thread in Unity, I would suggest you go for with Thread. It is easier and you are guaranteed that your network code will not be slowing Unity down in any way.
Unity3D game and plot out these data in a GUI usin... | 1 | 0 | 0 | I'm new to Python, socket, multithreading and asynchronous programming. I'm wondering what is the best approach to implement a server that receives and sends data between a client such as a Unity3D game and plot out these data in a GUI using Python GTK while writing these data to a text file in real time. To make thing... | Multithreading or Asynchronous for Python GTK/Socket Server/Data Writing | 0 | 0 | 0 | 316 |
37,502,942 | 2016-05-28T19:17:00.000 | 3 | 0 | 0 | 0 | python,python-2.7,user-interface,tkinter | 37,503,535 | 1 | true | 0 | 1 | Every tkinter program needs exactly one instance of Tk. Tkinter is a wrapper around an embedded tcl interpreter. Each instance of Tk gets its own copy of the interpreter, so two Tk instances have two different namespaces.
If you need multiple windows, create one instance of Tk and then additional windows should be ins... | 1 | 0 | 0 | I am starting to learn Tkinter and have been creating new windows with new instances of Tk every time. I just read that that wasn't a good practice. If so, why? And how could this be done better? I have seen others create windows with Toplevel and Frame instances. What are the benefits/drawbacks of using these instead?... | Tkinter Creating Multiple Windows - Use new Tk instance or Toplevel or Frame? | 1.2 | 0 | 0 | 1,757 |
37,504,035 | 2016-05-28T21:51:00.000 | 0 | 1 | 0 | 0 | python,optimization,scipy | 37,506,002 | 2 | false | 0 | 0 | Depends on your function, but it might be possible to solve symbolically using SymPy. That would give all roots. It can find eigenvalues symbolically if necessary.
Finding all extrema is the same as finding all roots of the derivative of your function, so it won't be any easier than finding all roots (as WarrenWeckesse... | 1 | 0 | 1 | I'm looking for an efficient method to find all the roots of a function f on an interval [a,b].
The problem I have is that all the nice methods from scipy.optimize require either that f(a) and f(b) have different signs, or that I provide an initial guess x0, but I know nothing about my roots before running the code.
N... | Finding multiple roots on an interval with Python | 0 | 0 | 0 | 1,874 |
37,504,566 | 2016-05-28T23:09:00.000 | 3 | 1 | 0 | 1 | python,python-3.x,tornado,pytest | 37,504,714 | 1 | true | 1 | 0 | No, it is not currently possible to test this in Tornado via any public interface (as of Tornado version 4.3).
It's straightforward to avoid spinning up a server, although it requires a nontrivial amount of code: the interface between HTTPServer and Application is well-defined and documented. The trickier part is the ... | 1 | 1 | 0 | I'm new to Tornado, and working on a project that involves some rather complex routing. In most of the other frameworks I've used I've been able to isolate routing for testing, without spinning up a server or doing anything terribly complex. I'd prefer to use pytest as my testing framework, but I'm not sure it matters.... | Route testing with Tornado | 1.2 | 0 | 0 | 129 |
37,505,970 | 2016-05-29T03:49:00.000 | 0 | 0 | 1 | 0 | python,python-2.7,ipython,graphlab | 37,531,473 | 2 | false | 0 | 0 | Please remember that console applications and GUI application do not share the same environment on OS X.
This also means that if you install a Python package from the console, this would probably not be visible to PyCharm.
Usually you need to install packages using PyCharm in order to be able to use them. | 1 | 0 | 1 | I have got a strange issue.
I am now using graphlab/numpy to develop a project via Pycharm 5. OS is Mac OS 10.11.5. I created a p2.7 virtual environment for the project. Programme runs well. But after I install ipython, I can no longer import graphlab and numpy correctly.
Error message:
AttributeError: 'module' object... | Error importing numpy & graphlab after installing ipython | 0 | 0 | 0 | 398 |
37,507,458 | 2016-05-29T07:46:00.000 | 0 | 0 | 0 | 0 | python,django,pytest | 37,513,426 | 3 | false | 1 | 0 | yeah you can override the settings on the setUp
set the real database for the tests and load your databases fixtures.. but I think, it`s not a good pratice, since you want to run yours tests without modify your "real" app env.
you should try the pytest-django.
with this lib you can reuse, create drop your databases t... | 1 | 1 | 0 | py.test sets up a test database.
I'd like to use the real database set in settings.py file.
(Since I'm on test machine with test data already)
Would it be possible? | Django py.test run on real database? | 0 | 1 | 0 | 1,804 |
37,507,758 | 2016-05-29T08:26:00.000 | 1 | 0 | 0 | 0 | python,gpu,gpgpu,theano | 37,516,498 | 1 | true | 0 | 0 | libgpuarray have been made to support OpenCL, but we don't have time to finish it. Many thinks work, but we don't have the time to make sure it work everywhere.
In any cases, you must find an OpenCL version that support that GPU, install it and reinstall libgpuarray to have it use it.
Also, I'm not sure that GPU will g... | 1 | 1 | 1 | I'm looking for a way to use Intel GPU as a GPGPU with Theano.
I've already installed Intel OpenCL and libgpuarray, but a test code 'python -c "import pygpu;pygpu.test()"' crashed the process. And I found out devname method caused it. It seems there would be a lot more errors.
Is it easy to fixed them to work well? I u... | Is there any way to use libgpuarray with Intel GPU? | 1.2 | 0 | 0 | 920 |
37,511,165 | 2016-05-29T14:37:00.000 | 2 | 0 | 1 | 0 | python,executable,anaconda,pyinstaller | 37,513,422 | 2 | true | 0 | 1 | Search for mkl_avx2.dll & mkl_def.dll files and paste them in your .exe
folder. | 1 | 1 | 0 | I have made a GUI application using wxpython and some other packages (matplotlib, pandas, numpy). I tried to compile this into a standalone executable. However, when I run the 'my_script.exe' I get the following error in my command prompt:
Intel MKL FATAL ERROR: Cannot load mkl_avx2.dll or mkl_def.dll.
The versions... | Pyinstaller Intel MKL fatal error when running .exe file Python 2.7 | 1.2 | 0 | 0 | 2,841 |
37,512,182 | 2016-05-29T16:17:00.000 | 0 | 0 | 1 | 0 | python,python-3.x,tornado,python-3.5,python-asyncio | 71,522,460 | 9 | false | 0 | 0 | For multiple types of scheduling I'd recommend APSScheduler which has asyncio support.
I use it for a simple python process I can fire up using docker and just runs like a cron executing something weekly, until I kill the docker/process. | 1 | 87 | 0 | I'm migrating from tornado to asyncio, and I can't find the asyncio equivalent of tornado's PeriodicCallback. (A PeriodicCallback takes two arguments: the function to run and the number of milliseconds between calls.)
Is there such an equivalent in asyncio?
If not, what would be the cleanest way to implement this with... | How can I periodically execute a function with asyncio? | 0 | 0 | 0 | 87,956 |
37,513,279 | 2016-05-29T18:12:00.000 | 1 | 0 | 1 | 0 | python,pip,setuptools | 37,531,324 | 3 | false | 0 | 0 | Python package installation states that it should never execute Python code in order to install Python packages. This means that you may not be able to download stuff during the installation process.
If you want to download some additional data, do it after you install the package , for example when you import your pac... | 1 | 8 | 0 | I'd like to create some ridiculously-easy-to-use pip packages for loading common machine-learning datasets in Python. (Yes, some stuff already exists, but I want it to be even simpler.)
What I'd like to achieve is this:
User runs pip install dataset
pip downloads the dataset, say via wget http://mydata.com/data.tar.gz... | Using setuptools, how can I download external data upon installation? | 0.066568 | 0 | 0 | 2,343 |
37,514,795 | 2016-05-29T20:44:00.000 | -1 | 0 | 0 | 0 | python,tkinter | 37,514,847 | 1 | true | 0 | 1 | This is because when you bind a function to a button you are not calling the function, only binding it so that tkinter knows what to do when the button is pressed. You only need to use func() when you are calling the function as you are doing in the the event. | 1 | 1 | 0 | I have a Python function that takes no parameters. In my code, I call this function twice. Once as a command behind a Tkinter Button and once as a function to an event that I bind to a window. For the command, I call the function as func and that works fine. For the event, it will only work if I call it as func() and c... | What is the difference between "func" and "func()" in TkInter? | 1.2 | 0 | 0 | 116 |
37,516,730 | 2016-05-30T02:03:00.000 | 0 | 0 | 0 | 0 | python,pandas,back-testing | 43,774,149 | 1 | false | 0 | 0 | The problem in optimising the loop is that say you have 3 years and you have only 3 events that you are interested. Then you can use an event based backtesting with 3 iteration only.
The problem here is that you have to precompute the event which will need to the data anyway and most of the time you will need statisti... | 1 | 0 | 1 | In a hypothetical scenario where I have a large amount of data that is received, and is generally in chronological order upon receipt, is there any way to "play" the data forward or backward, thereby recreating the flow of new information on demand? I know that in a simplistic sense, I can always have a script (with wh... | Backtesting with Data | 0 | 0 | 0 | 392 |
37,522,943 | 2016-05-30T10:06:00.000 | 2 | 0 | 1 | 0 | python,64-bit,32-bit | 61,237,002 | 2 | false | 0 | 0 | make a backup of you "Lib" folder present in your python installation folder. Now when you install your python 64 bit paste this "Lib" folder there. After this, you don't need to install many modules again. | 2 | 15 | 0 | I've been working on a single program for a few months now, which now requires some additional functionality. Originally, a 32 bit install was just fine, but since I'm now working with massive matrices in scipy, I simply do not have the required RAM in 32bit.
The other problem I have is that my little project has to b... | Is it possible to upgrade a portable Python 32 bit install to a 64 bit install? | 0.197375 | 0 | 0 | 43,480 |
37,522,943 | 2016-05-30T10:06:00.000 | 42 | 0 | 1 | 0 | python,64-bit,32-bit | 37,530,517 | 2 | true | 0 | 0 | No, it is not possible to upgrade a 32bit Python installation to a 64bit one.
Still, there is something that you can do in order to speedup installation of a new 64bit version.
Run pip freeze > packages.txt on the old installation in order to generate a list of all installed packages and their versions.
After you inst... | 2 | 15 | 0 | I've been working on a single program for a few months now, which now requires some additional functionality. Originally, a 32 bit install was just fine, but since I'm now working with massive matrices in scipy, I simply do not have the required RAM in 32bit.
The other problem I have is that my little project has to b... | Is it possible to upgrade a portable Python 32 bit install to a 64 bit install? | 1.2 | 0 | 0 | 43,480 |
37,527,124 | 2016-05-30T13:38:00.000 | 1 | 0 | 0 | 0 | python,html,qt,groupbox | 37,535,825 | 3 | true | 1 | 1 | QGroupBox's title property does not support HTML. The only customization you can do through the title string (besides the text itself) is the addition of an ampersand (&) for keyboard accelerators.
In short, unlike QLabel, you can't use HTML with QGroupBox. | 1 | 1 | 0 | I want to set my QGroupBox's title with HTML expressions in python program,
e.g. :
ABC. (subscript)
Does anybody have an idea how to do this? | How can I set QGroupBox's title with HTML expressions? (Python) | 1.2 | 0 | 0 | 372 |
37,527,706 | 2016-05-30T14:07:00.000 | 0 | 0 | 0 | 0 | python,html,flask | 49,279,779 | 3 | false | 1 | 0 | Rushy already provided a correct answer, but when you want to use flask and bokeh (I am in the same position right now) responsive design does not help in all cases (I am using a bokeh-gridplot and don't want that if accessed from a mobile device).
I will append "/mobile" to the links from my home page to the plot pag... | 1 | 4 | 0 | a short question: Is there a way to get my browsers viewport size by Flask?
I'm designing a page for many devices, for example: normal PC, iphone etc...
Thank you, FFodWindow | Flask get viewport size | 0 | 0 | 0 | 4,664 |
37,529,837 | 2016-05-30T16:04:00.000 | 1 | 0 | 1 | 0 | python,regex | 37,529,955 | 3 | false | 0 | 0 | This happens because inside your first parentheses you have put a +, which means minimum of one or more occurrences. And since your second parentheses has a ?, the second group is optional. Hence, it is omitted as your first parentheses can match your whole string and the second one doesn't need to match anything.
You ... | 1 | 1 | 0 | I'm trying to write a python regex matching two patterns:
the first one is scratch_alpha
and the second one is scratch_alpha1*12 (where 12 can be any decimal number)
and I'd like to put the value after * inside a variable and if scratch_alpha is detected with * after, just write 1 in a variable
I wrote this regex:
([a-... | Python regex to match variable pattern | 0.066568 | 0 | 0 | 253 |
37,533,613 | 2016-05-30T20:59:00.000 | 2 | 0 | 1 | 1 | python,pip,python-3.5 | 37,534,734 | 1 | true | 0 | 0 | The space in the name of your disk ("HD 2") is tripping things up. The path to the Python interpreter (which is going to be /Volumes/HD 2/Projects/PythonProjects/BV/bin/python) is getting split on the space, and the system is trying to execute /Volumes/HD.
You'd think that in 2016 your operating system ought to be abl... | 1 | 2 | 0 | After I activated my Virtualenv i received this message:
Francos-MBP:BV francoe$source bin/activate
(BV) Francos-MBP:BV francoe$ pip freeze
-bash: /Volumes/HD 2/Projects/PythonProjects/BV/bin/pip: "/Volumes/HD: bad interpreter: No such file or directory
(BV) Francos-MBP:BV francoe$ pip install --upgrade pip -bash:
/... | pip: "/Volumes/HD: bad interpreter: No such file or directory | 1.2 | 0 | 0 | 444 |
37,534,440 | 2016-05-30T22:39:00.000 | 1 | 0 | 1 | 0 | python,jupyter-notebook,command-line-arguments,papermill | 60,984,594 | 11 | false | 0 | 0 | A workaround is to make the jupyter notebook read the arguments from a file.
From the command line, modify the file and run the notebook. | 1 | 67 | 0 | I'm wondering if it's possible to populate sys.argv (or some other structure) with command line arguments in a jupyter/ipython notebook, similar to how it's done through a python script.
For instance, if I were to run a python script as follows:
python test.py False
Then sys.argv would contain the argument False. But ... | Passing command line arguments to argv in jupyter/ipython notebook | 0.01818 | 0 | 0 | 117,203 |
37,535,998 | 2016-05-31T02:38:00.000 | 1 | 0 | 1 | 0 | python,python-2.7,pygame | 42,210,427 | 1 | false | 0 | 1 | Are you using images to show your walls? Because if you are, you can use a program called paint.net to create a transparent sprite. Just create a file with the desired dimensions and use the eraser tool to make the whole thing transparent (click on the little squiggly arrow up at the top to make it easier). Save it as ... | 1 | 0 | 0 | to elaborate, I'm currently creating a maze layout using wall sprites. however, I want the maze to be invisible when I am actually playing the game, while still able to be able to have collision detection. Is this possible in any way? Thanks. | How to make an invisible sprite in pygame? (python) | 0.197375 | 0 | 0 | 318 |
37,538,068 | 2016-05-31T06:11:00.000 | 0 | 0 | 0 | 0 | python,svm | 37,538,260 | 1 | false | 0 | 0 | You can create one more feature vector in your training data, if the name of the book contains your predefined words then make it one otherwise zero. | 1 | 1 | 1 | I 'm using svm to predict the label from the title of a book. However I want to give more weight to some features pre defined. For example, if the title of the book contains words like fairy, Alice I want to label them as children's books. I'm using word n-gram svm. Please suggest how to achieve this using sklearn. | giving more weight to a feature using sklearn svm | 0 | 0 | 0 | 156 |
37,540,755 | 2016-05-31T08:36:00.000 | 1 | 0 | 1 | 0 | python,powershell | 37,540,899 | 1 | false | 0 | 0 | Launching the "Python" application for the terminal interface seems to use the system's default command prompt, which, for Windows, is cmd.exe. If you run it this way, using quit() or exit() will exit the interpreter and then close the window entirely. If you start Python from an actual cmd window by running cmd and th... | 1 | 1 | 0 | I am new to python, and I would like to ask what is the difference if I run python on Windows power-shell compared to when I run it directly and lunch the app's command-line?
Is there an impact if i use the latter method? | python in powershell vs python CLI | 0.197375 | 0 | 0 | 751 |
37,543,581 | 2016-05-31T10:48:00.000 | 5 | 0 | 1 | 0 | python,ide,spyder | 71,112,331 | 2 | true | 0 | 0 | Nowadays (or at least in Spyder v5), Spyder includes autopep8 directly in the GUI and has an option of automatic formatting (as requested in the original question).
Simply go to Tools > Preferences then choose Completion and linting > Code style and formatting. There, toggle on Enable code style linting and Autoformat ... | 1 | 8 | 0 | How can I select a piece of code and apply auto-format, aka beautification to it?
I especially mean correctly indenting lists broken into several lines, parentheses and square brackets.
Auto-indent does nothing. | How do I beautify (auto-format) a piece of code in Spyder IDE | 1.2 | 0 | 0 | 25,989 |
37,543,647 | 2016-05-31T10:50:00.000 | 0 | 0 | 0 | 0 | python,pandas,dataframe | 37,543,931 | 10 | false | 0 | 0 | Use: df.fillna(0)
to fill NaN with 0. | 2 | 32 | 1 | I have a dataframe with 71 columns and 30597 rows. I want to replace all non-nan entries with 1 and the nan values with 0.
Initially I tried for-loop on each value of the dataframe which was taking too much time.
Then I used data_new=data.subtract(data) which was meant to subtract all the values of the dataframe to its... | How to replace all non-NaN entries of a dataframe with 1 and all NaN with 0 | 0 | 0 | 0 | 42,508 |
37,543,647 | 2016-05-31T10:50:00.000 | 0 | 0 | 0 | 0 | python,pandas,dataframe | 65,940,835 | 10 | false | 0 | 0 | Generally there are two steps - substitute all not NAN values and then substitute all NAN values.
dataframe.where(~dataframe.notna(), 1) - this line will replace all not nan values to 1.
dataframe.fillna(0) - this line will replace all NANs to 0
Side note: if you take a look at pandas documentation, .where replaces a... | 2 | 32 | 1 | I have a dataframe with 71 columns and 30597 rows. I want to replace all non-nan entries with 1 and the nan values with 0.
Initially I tried for-loop on each value of the dataframe which was taking too much time.
Then I used data_new=data.subtract(data) which was meant to subtract all the values of the dataframe to its... | How to replace all non-NaN entries of a dataframe with 1 and all NaN with 0 | 0 | 0 | 0 | 42,508 |
37,546,726 | 2016-05-31T13:11:00.000 | 0 | 0 | 1 | 1 | python,import,python-import,dawg | 37,661,187 | 2 | true | 0 | 0 | Since dawg was installed with pip, the best way to learn what version I have is with pip list installed. (Credit to larsks' comment.) | 1 | 0 | 0 | How can I find what version of dwag I have installed in python? Usually packagename.version does the trick, but dawg seems to lack the relevant methods. | How to find what version of dawg I have? | 1.2 | 0 | 0 | 49 |
37,546,770 | 2016-05-31T13:13:00.000 | 9 | 0 | 1 | 1 | python,logging | 37,547,070 | 4 | true | 0 | 0 | Simple give a different filename like filename=r"C:\User\Matias\Desktop\myLogFile.log | 1 | 15 | 0 | I am using the Python logging library and want to choose the folder where the log files will be written.
For the moment, I made an instance of TimedRotatingFileHandler with the entry parameter filename="myLogFile.log" . This way myLogFile.log is created on the same folder than my python script. I want to create it into... | Python, choose logging files' directory | 1.2 | 0 | 0 | 34,734 |
37,551,217 | 2016-05-31T16:37:00.000 | 0 | 0 | 1 | 0 | python-2.7,dependencies,openerp | 37,555,901 | 1 | false | 1 | 0 | Maybe this help you:
The auto_install flag means that the module will be automatically installed as soon as all its dependencies are satisfied. It can be set in the __openerp__.py file. Its default value is False.
Add this flag to both modules.
So you can create a dummy module C. Add it as a dependency of A and B. All ... | 1 | 0 | 0 | I'd like to know if their is any way to make a module A depend of module B if module B depend of module A? Like having them installed at the same time? When I try, both are not selectionnable in module list.
If not, is it possible to merge both module easily?
I have to add something which imply to do this inter-depende... | Odoo module A depends of module B which depends of module A | 0 | 0 | 0 | 806 |
37,552,035 | 2016-05-31T17:24:00.000 | 0 | 0 | 0 | 0 | python,numpy,scipy,bspline | 37,553,823 | 1 | false | 0 | 0 | Short answer: No.
Spline construction is a global process, so if you add a data point, you really need to recompute the whole spline. Which involves solving an N-by-N linear system etc.
If you're adding many knots sequentially, you probably can construct a process where you're using a factorization of the colocation m... | 1 | 0 | 1 | I have a bspline created with scipy.interpolate.splrep with points (x_0,y_0) to (x_n,y_n). Usual story. But I would like to add a data point (x_n+1,y_n+1) and appropriate knot without recomputing the entire spline. Can anyone think of a way of doing this elegantly?
I could always take the knot list returned by splrep,... | B-splines with Scipy : can I add a datapoint without full recompute? | 0 | 0 | 0 | 56 |
37,553,343 | 2016-05-31T18:43:00.000 | 2 | 0 | 1 | 0 | python,exception | 37,578,023 | 2 | false | 0 | 0 | If the file it wants to delete is not in the directory, I want that to be okay and the program to continue processing the next command instead of aborting the process. In short I want to check to see if the file is there and if it isn't skip the rm code and process the rest of the script. | 2 | 2 | 0 | I am a relative newbie to Python, and I have searched and while there are many posts regarding the error, none appear to address my requirement.
Briefly, I am writing code to hourly reports. I intend to have 4 days of reports archived in the folder. At the beginning of my code I have one line that deletes all 24 files ... | No such File or Directory Exception | 0.197375 | 0 | 0 | 1,100 |
37,553,343 | 2016-05-31T18:43:00.000 | 1 | 0 | 1 | 0 | python,exception | 37,554,002 | 2 | false | 0 | 0 | Figures that I would wrestle with this for a couple of days and then figure it out 30 min after I post the question. Here's the solution:
if not listdir("insert the work path here"):
--the command I want to execute if the dir is not empty--
Else:
--whatever code you want to execute when dir is empty--
--Code you... | 2 | 2 | 0 | I am a relative newbie to Python, and I have searched and while there are many posts regarding the error, none appear to address my requirement.
Briefly, I am writing code to hourly reports. I intend to have 4 days of reports archived in the folder. At the beginning of my code I have one line that deletes all 24 files ... | No such File or Directory Exception | 0.099668 | 0 | 0 | 1,100 |
37,554,692 | 2016-05-31T20:03:00.000 | 0 | 0 | 0 | 0 | python,heroku,amazon-s3,timeout,thumbor | 37,598,908 | 1 | true | 1 | 0 | This issue on the tc_aws library we are using. It wasn't executing callback functions when 404 is returned from S3. We were at version 2.0.10. After upgrade the library, the problem is fixed. | 1 | 0 | 0 | We are hosting our thumbor image resizing service on Heroku, with image store in aws s3. The Thumbor service access s3 via the aws plugin.
Recently we observe a behavior on our thumbor service which I don't understand.
Use case: our client application was sending a resize request to resize an image that does not exist ... | Thumbor On Heroku causes heroku time out when fetching URL returns 404 | 1.2 | 0 | 0 | 178 |
37,555,890 | 2016-05-31T21:24:00.000 | 6 | 0 | 0 | 0 | python,opencv | 43,214,847 | 3 | false | 0 | 0 | No need to change the python version, you can just use the pip command
open cmd ( admin mode) and type
pip install opencv-python | 1 | 4 | 1 | I am having some difficulties installing opencv with python 3.5.
I have linked the cv files, but upon import cv2 I get an error saying ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/cv2.so, 2): Symbol not found: _PyCObject_Type or more specifically:
/Library/Framework... | Python OpenCV import error with python 3.5 | 1 | 0 | 0 | 12,712 |
37,556,334 | 2016-05-31T22:00:00.000 | 0 | 0 | 0 | 0 | python,csv,pandas,dataframe,yelp | 37,556,551 | 2 | false | 0 | 0 | Typically yes, load everything, then filter your dataset.
But if you really want to pre-filter, and you're on a unix like system, you can prefilter using grep before even starting Python.
A compromise between them is to write the prefilter using Python and Pandas, this way you download the data, prefilter them (write p... | 1 | 0 | 1 | I'm working with the yelp dataset and of course it is millions of entries long so I was wondering if there was any way where you can just download what you need or do you have to pick away at it manually? For example, yelp has reviews on everything from auto repair to beauty salons but I only want the reviews on the re... | Is there a way to prefilter data before using read_csv to download data into pandas dataframe? | 0 | 0 | 0 | 412 |
37,556,808 | 2016-05-31T22:40:00.000 | 0 | 0 | 0 | 0 | user-interface,python-3.x,tkinter,textbox,messagebox | 37,559,356 | 1 | true | 0 | 1 | simpledialog.askstring() was exactly what I needed. | 1 | 1 | 0 | I know how to make message boxes, and I know how to create textboxes. However, I don't know how to make a message box WITH a textbox in it. I've looked through the tkinter documentation and it seems message boxes are kind of limited.
Is there a way to make a message box that contains a text entry field, or would I have... | Python: Create a message box with a text entry field using tkinter | 1.2 | 0 | 0 | 392 |
37,557,174 | 2016-05-31T23:24:00.000 | -1 | 0 | 1 | 0 | python,python-3.x,pandas,packages | 37,557,227 | 2 | false | 0 | 0 | Anaconda has included one version of Python with it. You have to change your system environment path with Anaconda's instead of the former one to avoid conflict. Also, if you want to make the whole process easy, it is recommended to use PyCharm, and it will ask you to choose the Python interpreter you want. | 1 | 0 | 1 | I installed Python 3.5.1 from www.python.org. Everything works great. Except that you can't install pandas using pip (it needs visualstudio to compile, which I don't have). So I installed Anaconda (www.continuum.io/downloads). Now I can see pandas as part of the list of installed modules, but when I run python programs... | How do I get python to import pandas? | -0.099668 | 0 | 0 | 1,823 |
37,557,376 | 2016-05-31T23:51:00.000 | 3 | 0 | 1 | 0 | python-3.x | 37,557,395 | 1 | false | 0 | 0 | You can't tell the difference in any reasonable way; you could do terrible things with the gc module to count references, but that's not a reasonable way to do things. There is no difference between an anonymous object and a named variable (aside from the reference count), because it will be named no matter what when r... | 1 | 2 | 0 | How can you test whether your function is getting [1,2,4,3] or l?
That might be useful to decide whether you want to return, for example, an ordered list or replace it in place.
For example, if it gets [1,2,4,3] it should return [1,2,3,4]. If it gets l, it should link the ordered list to l and do not return anything. | In Python, how to know if a function is getting a variable or an object? | 0.53705 | 0 | 0 | 25 |
37,559,502 | 2016-06-01T04:34:00.000 | 0 | 0 | 0 | 0 | python | 37,658,540 | 1 | false | 0 | 1 | I found an alternative solution to this problem. In a python while loop push a single file into SD Card and use "adb mv" to rename the file in the SD Card after pushing the file, continue this until the device memory is full. | 1 | 1 | 0 | I know "adb push" command could be used to push files to android device. But in Python how do i push single file for example file.txt(size of about 50 KB) into android sdcard with different names(for ex. file1.txt, file2.txt etc) until the device storage is full. Any idea much appreciated. | Python push single file into android device with different names until the device runs out of memory | 0 | 0 | 0 | 227 |
37,568,811 | 2016-06-01T12:36:00.000 | 1 | 0 | 0 | 0 | python,django,url,sharing | 37,651,587 | 2 | true | 1 | 0 | As Seluck suggested I decided to go with base64 encoding and decoding:
In the model my "link" property is now built from the standard url + base64.urlsafe_b64encode(str(media_id))
The url pattern I use to match the base64 pattern:
base64_pattern = r'(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$'
And f... | 1 | 0 | 0 | I'm having a bit of a problem figuring out how to generate user friendly links to products for sharing.
I'm currently using /product/{uuid4_of_said_product}
Which is working quite fine - but it's a bit user unfriendly - it's kind of long and ugly.
And I do not wish to use and id as it would allow users to "guess" produ... | Sharing URL generation from uuid4? | 1.2 | 0 | 1 | 491 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.