Posts by Renzo Rodrigues • 387 points
12 posts
-
-1
votes1
answer53
viewsQ: How to create a list or dictionary from a datatable?
I have 3 lines in a datatable: DataTable dt = new DataTable(); dt.Clear(); dt.Columns.Add("PESO"); dt.Columns.Add("ALTURA"); DataRow row1 = dt.NewRow(); row1["PESO"] = "MAGRO"; row1["ALTURA"] =…
c#asked Renzo Rodrigues 387 -
0
votes1
answer94
viewsQ: How to return a valid result from a PHP operation?
Hello. I want to return the result of an operation using two numbers and the operator as parameter. It turns out that my result is a string. <?php $n1 = $_POST['n1']; //primeiro número $n2 =…
-
2
votes1
answer470
viewsQ: Blueprints - what is the concept? for what?
As I voted for Flask(python), I now see so many examples using Blueprints. What are they? What are they for?
-
3
votes2
answers300
viewsQ: How to insert checkbox dynamically from Python/Flask code?
I am trying to create a script in Flask and came across the following situation: I have in my code a for that sweeps the subdirectories of a root directory: for root, dirs, files in…
-
1
votes0
answers366
viewsQ: How to place a Progress Bar for a process in Flask?
Hello, By clicking the 'Send' button, the selected file (.jpg) is copied to several directories. I want to show this process to the user via a simple progress bar. Any hints? this is part of my…
-
0
votes2
answers247
viewsQ: Image upload using CGI Python - Doesn’t work!
Hello, I created an html file with one and I intend to select an image from a directory and after clicking on Ubmit this image should be saved in another directory. Some help? That’s what I’ve tried…
-
3
votes2
answers1004
viewsQ: What is the difference between Forms. Form and Forms.Modelform?
Hello, dear people. With the help of a tutorial, I was able to create a template with form and use Forms.Modelform to save in the database, but I saw in the Django documentation that there is also…
-
4
votes1
answer273
viewsQ: Django: What’s the difference between importing/using include() and not using when configuring a URL?
from django.conf.urls import include, url from django.contrib import admin urlpatterns = [ url(r'^polls/', include('polls.urls')), url(r'^admin/', admin.site.urls), ] In this example I saw that…
-
1
votes2
answers1570
viewsQ: Which PIP version should I use?
My current question is: must I use pip3 for Python3.x or can I use Pip without any problem? What are the differences between Pip versions?
-
7
votes2
answers1186
viewsQ: Problem connecting Mysql in Python 3.4
I just installed my virtual environment, installed Pymysql and created a project, however, when trying to start an APP python manage.py startapp nome, the following problem arose: Error loading…
-
2
votes1
answer669
viewsQ: What can happen to my project if I remove the virtual environment set up for it?
Let’s say I created a virtual environment through virtualenvwrapper $ mkvirtualenv venv. I create my project, make the necessary settings, start working on the project and one fine day I do the…
-
3
votes3
answers1652
viewsQ: How to start a Django project using virtualenv?
I have searched and found several different ways and conventions to create a project in Django using virtual environment (virtualenv). Is there a pattern to this? Someone helps me with a correct…