Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. menator01

    Tkinter

    Tkinter docs
  2. menator01

    captcha

    Anyone else have to do the captcha thing if the browser set to long? I usually bounce back and forth between several forums and if I take to long or don't refresh the browser in time, I have to redo captcha again.
  3. menator01

    Movies

    A PyQt6 version (Still needs tweaks) from PyQt6.QtWidgets import (QApplication, QMainWindow, QWidget, QGridLayout, QLabel, QHBoxLayout, QVBoxLayout, QComboBox, QLineEdit, QPushButton, QListWidget, QFrame, QScrollArea) from PyQt6.QtCore...
  4. menator01

    Python/Django or Headless WP/JS

    I've always been partial to python and flask myself. django comes from flask. django has a lot of pre-built method. Flask is build from the ground up.
  5. menator01

    PHP PHP events not showing when date is today.

    What up with all the opening and closing php tags?
  6. menator01

    Simple html/css code to show graphics from a sheet not working.

    Don't know about the css part but this <link/><link rel="stylesheet" type="text/css" href="flags.css"> is not correct. Remove the <link/> part. You will probably need to use divs inside the list to show images. Quick example. not using images though. .flags { list-style: none; } .flags li...
  7. menator01

    Movies

    Helping someone in another forum that is using idbm database calls and thought I would post the solution I came up with here, in case someone wants to take the project further or perhaps use as a learning experience. Note: It takes a minute to get the results back as there are multiple queries...
  8. menator01

    validation error, help please

    Just shows a 404 not found when going to the site
  9. menator01

    Python Why isnt python seeing my variable as a global var?

    Here is a simple way to do it. The code can be optimized but, I wrote it to be easy to understand. # Do the imports from random import choice import os # Set some global variables player_score = 0 computer_score = 0 ties = 0 def clear(): ''' Function to clear the screen clutter '''...
  10. menator01

    Python Why isnt python seeing my variable as a global var?

    It means that you are trying to use the variable before it is created Couple of things, You don't need global in this script. Any variable assigned will be available in the function unless changes within the function. Also match is a python builtin, It's not recommended to use the built -ins...
  11. menator01

    Python Issue with A-Level code (3 pages of small code), as self. doesn't want to work for if statements and the registration doesn't work for the database.

    I posted the finished version in the community share https://codeforum.org/threads/simple-tkinter-login-system.6750/#post-24979
  12. menator01

    Simple tkinter login system

    Doesn't really do anything. Register a user, login a user, logout a user. displays a message for logged in users. import tkinter as tk import sqlite3 as sq import os import webbrowser from urllib.request import urlopen # Executed from bash shell or vscode - vscode is default path =...
  13. menator01

    Python Issue with A-Level code (3 pages of small code), as self. doesn't want to work for if statements and the registration doesn't work for the database.

    I took an interest in your project although, not complete, I wanted to post it and see what you think. Kept all the classes in the same file to keep from having to do so many imports. The links will pull up pages except for the logout link. The pages have no form yet. # Do the imports import...
  14. menator01

    Using CSS classes in table

    Are you trying to get something like this? <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> .main { width: 80%; position...
  15. menator01

    Using CSS classes in table

    Post the full table layout please.
  16. menator01

    I am having trouble with <style>

    Please use bb tags to keep formatting. correct usage <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> h1 { text-align:center; }...
  17. menator01

    JavaScript Retrieve and display address in address bar

    This would probably be easier if you have access to apache or use .htacces in the root folder. As for JavaScript I think there is a back function you may be able to get the page from.
  18. menator01

    changing the colors of links

    Here is a working example of a way: .group-a a:any-link { color: green; } .group-a a:hover { color: red; } .group-b a:any-link { color: #ffa500; } .group-b a:hover { color: rgb(20,108,205); } <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta...
  19. menator01

    load file from index.html

    Order matters in the settings You may also want to have a look at the Index settings in the apache.conf file
  20. menator01

    load file from index.html

    Have you listed index.shtml in the. DirectoryIndex settings in apache?
Back
Top Bottom