Search
Display results as :
Advanced Search
Top posting users this week
[DJANGO - .PY] Trouble when trying to run manage.py
Mon Oct 09, 2017 9:42 amJoao
I was trying to run manage.py runserver, but with no success, anyone has any solution ???
[DJANGO - .PY] HOW TO FIX THE "STARTPROJECT" SYNTAX ERROR
Fri Oct 06, 2017 1:13 pmRenan Araújo
Its very common to run the command
Code:
django-admin.py startproject xxx
*xxx stands for the name of your project

But when you get an error and you dont know how to fix, an error saying that "startproject" is an invalid syntax.
So, its simple to solve, you just need to copy the code below, AND SAVE IT AS anything.BAT, MUST PUT .BAT in the end.
Code:
@echo off
@echo Made by TCE Forum ! ! !
@echo  …
[.PY - TKINTER] Mini guessing game using an interface
Thu Oct 05, 2017 3:05 pmRenan Araújo
Code:
from tkinter import *
class MyApp(Frame):
    def __init__(self, master=None):
        Frame.__init__(self, master)
        self.pergunta = Label(self, text='Brazil was discovered in:', fg='red')
        self.pergunta.pack()
        self.botao1 = Button(self, text='A:\n1490', background='green',
                 …
[PYTHON] - Simple loadin using for
Thu Oct 05, 2017 9:57 amJoao
As i am newbie in coding, i would like to share something, isnt much thing, simply a loading, very simple.

Code:
Loading = ['L','O','A','D','I','N','G']
    for L in Loading:
        time.sleep(1)
        print(L)
    print('DONE !')
Registration and Login System with PHP and MySQL
Thu Oct 05, 2017 9:51 amJoao
*CREDITS: codexworld <3

Database Table Creation

A table is needed to store the user details in the database. The following SQL creates a users table with some required columns.

Code:
CREATE TABLE `users` (
 `id` int(11) NOT NULL AUTO_INCREMENT,
 `first_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
 `last_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
 …
Django - Python
Tue Oct 03, 2017 3:10 pmRenan Araújo
As many people think, web development is not that hard, by learning with the right guides ( just talking about learning by yourself on the internet ), you won't have troubles.
A good way to learn is by reading this PDF ( <- click here )
[PYTHON] Change the ID with a new user
Wed Oct 04, 2017 2:08 pmJoao
A simple code ( very simple Mad ) to change the actual ID, to the next, when a new user enter, here's the code:

Code:
 """
CHANGING ACTUAL ID """
ID_Actual = 0
while 1:
    User_Actual = input('Type the username:  ')
    User_ID_Actual = ID_Actual
    print('USER: {}'.format(User_Actual))
    print('ID: …

Current date/time is Wed Jan 17, 2018 7:54 am

Forum Terms of service

The moderators of this forum will try hard to edit or remove reprehensible messages as soon as possible. However, it is impossible for them to review all the messages. You thus admit that all the messages posted on this forum express the sight and opinion of their respective authors and not those of the moderators or the Webmaster (except messages posted by them) and consequently, they cannot be held responsible of the discussions.

This forum uses cookies to store information on your computer. These cookies will not contain any personal information; they are only used to improve comfort while browsing. The address e-mail is only used in order to confirm the details of your registration as your password (and also to send you back your password if you forget it).

- Aggressive or slanderous messages, as well as personal insults and critics, the coarseness and vulgarities, and more generally any message contravening the French laws are prohibited.
- Messages who promote - or evoke - illegal practices are prohibited.
- If you post informations which come from another site
, look first if the site in question doesn't forbid it. Show the address of the site in question in order to respect the work of their administrators!
- Please post your messages only once. The repetitions are unpleasant and useless!
- Please make an effort on grammar and spelling. SMS-style language (ex: r u sk8ing?) is not advised!

Any message contravening the listing above will be edited or removed without additional notice or justification within deadlines which will depend on the availability of the moderators. Any abuse will involve the cancellation of the registration. Internet is neither an anonymous space, nor a space of no-right! We reserve ourselves the possibility of informing your access provider and/or the legal authorities of any malevolent behavior. An IP address of each poster is recorded in order to help us to make you respect these conditions.

By clicking on " I agree to these terms " below:
- You acknowledge to have fully read these current rules;
- You commit yourself to respect unreservedly these current rules;
- You grant the moderators of this forum the right to delete, move or edit any discussion subject at any moment.