Posts by Ícaro • 158 points
4 posts
-
0
votes1
answer121
viewsA: Online software hosting using python and Django
A very simple hosting system is the Pythonanywhere. It is very cool because it already facilitates all Python environment. But there are several sites that host systems in Python and Django and have…
-
1
votes2
answers997
viewsA: How to open a screen with a pre-filled HTML form?
To manually populate the value of tags input in his form you need to reference the Django form fields, pick up the .value of them and fill in value of input, as in the example below: <input…
-
0
votes1
answer139
viewsA: How to make a function that picks up data and drops in bot chat
You have two ways to remove the text /sms of your message. One of them is using the function .replace, that replaces one string with another. In your case, you can replace it with an empty string:…
-
0
votes1
answer46
viewsA: Transforming this readable code to Python 3
Here’s an example of how to use urllib in Python 3 with the requirements you have: from urllib.request import URLopener proxy = {'http': 'http://myproxy:port'} urlopener = URLopener(proxy) content =…