Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 10,653
» Latest member: DogOfTheCrows
» Forum threads: 20,180
» Forum posts: 95,920

Full Statistics

Online Users
There are currently 210 online users.
» 4 Member(s) | 206 Guest(s)
snippsat, pedros, adt, akanowhere

Latest Threads
Removing items from list
Forum: Homework
Last Post: ichabod801
13 minutes ago
» Replies: 4
» Views: 61
List Help
Forum: Homework
Last Post: ichabod801
17 minutes ago
» Replies: 3
» Views: 105
weird number output
Forum: Data Science
Last Post: perfringo
36 minutes ago
» Replies: 8
» Views: 116
Chat bot
Forum: General Coding Help
Last Post: buran
38 minutes ago
» Replies: 15
» Views: 267
Python, youtube scraping.
Forum: Web Scraping & Web Development
Last Post: Jardz04
48 minutes ago
» Replies: 2
» Views: 92
Web Text Scraper with GUI...
Forum: Completed Scripts/Snippets
Last Post: pBr_oska
1 hour ago
» Replies: 0
» Views: 10
clear screen with pycharm
Forum: General Coding Help
Last Post: boris602
2 hours ago
» Replies: 0
» Views: 36
Please help: problem inst...
Forum: General Coding Help
Last Post: ledgreve
2 hours ago
» Replies: 0
» Views: 26
How can I Open and close ...
Forum: General Coding Help
Last Post: Malt
2 hours ago
» Replies: 7
» Views: 167
my new adt, what should i...
Forum: News and Discussions
Last Post: DanaHansen
3 hours ago
» Replies: 3
» Views: 144

 
  mapping-camera-coordinates-to-a-2d-floor-plan
Posted by: fauveboyxuuki - Dec-10-2019, 10:34 PM - Forum: General Coding Help - No Replies

After following this blog: https://zbigatron.com/mapping-camera-coo...loor-plan/ there are a couple of things I could do with more supp..... More

Print this item

  Django & Python app
Posted by: A1988 - Dec-10-2019, 09:09 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi,

I'm working on a project Django + python.
Set-up:
- Front-end: web templates (html/bootstrap)
- Web-framework: Django
- Back-end: calcu..... More

Print this item

  rect object not loading
Posted by: BlueClaw - Dec-10-2019, 09:09 PM - Forum: Game Development - Replies (2)

Nothing is loading, and all I get is a blank surface. Please help.
[python]#touhou rectangle
import os
import pygame
pygame.init()


win = pyga..... More

Print this item

  Python Parameter inside Json file treated as String
Posted by: dhiliptcs - Dec-10-2019, 07:28 PM - Forum: General Coding Help - No Replies

I have a Python Script which extracts the data from XL sheet(using Pandas) and finally renames the Output file name into other name.
My config file i..... More

Print this item

  Cleanest Way to Cancel a ThreadPool
Posted by: SvetlanaofVodianova - Dec-10-2019, 06:25 PM - Forum: General Coding Help - No Replies

I have a backup script that I run weekly. Each folder that gets copied is independent of the others, one folder doesn't have to wait on the previous f..... More

Print this item

  Convert .py to .exe
Posted by: arthur_cti - Dec-10-2019, 06:02 PM - Forum: General Coding Help - No Replies

Hello, I have a problem, I would like to convert my simple (.py) file to an .exe file, but I follow pyinstaller's instructions and I can't execute the..... More

Print this item

  Armour is not working?
Posted by: Piethon - Dec-10-2019, 05:53 PM - Forum: Game Development - Replies (4)

Hello everybody,

since a couple of weeks, I am trying to add armour into my game. But it not seems to be working.
The damage that the mob does, sh..... More

Print this item

  How to access class variable? instances vs class
Posted by: drSlump - Dec-10-2019, 03:36 PM - Forum: General Coding Help - Replies (5)

Hello everyone, I am learning OOP in python, specifically class variables. It is clear to me what they are, but I do not get why they should be access..... More

Print this item

  How can I measure progress and display it in the progress bar in the interface?
Posted by: Matgaret - Dec-10-2019, 03:26 PM - Forum: GUI - Replies (2)

Hello. I created a graphic interface using QtDesigner, which, when you press the OK button, runs a script that sequentially runs many programs.
The s..... More

Print this item

  Select single letters from string based on separate string
Posted by: Jpen10 - Dec-10-2019, 03:10 PM - Forum: General Coding Help - Replies (2)

I've done this in Excel using the =Lookup({}) function, but have no clue how to in Python. String 1 (12 digits): 085236752048. String 2 (10 letters): ..... More

Print this item

  Kivy pip installation problem (windows 10)
Posted by: sebastian - Dec-10-2019, 03:09 PM - Forum: General Coding Help - Replies (1)

I've been learning Python for about a month now, I've managed to successfully install a pip module before. I'd like to practice a bit of Kivy, but the..... More

Print this item

  Reverse the string word
Posted by: sneha - Dec-10-2019, 03:00 PM - Forum: General Coding Help - Replies (2)

Hello friends,
I am trying to reverse the words present in the string(for eg. I am a student output:student a am I) . I have reference code but i did..... More

Print this item

  Label, align imported text from pandas
Posted by: kundrius - Dec-10-2019, 02:01 PM - Forum: GUI - Replies (2)

Hello,

this is my first Python code ever and I'm stuck with imported text alignment. The idea is to load material list from excel sheet into "label..... More

Print this item

  Can't seem to figure out how to delete several lines from a text file
Posted by: Cosmosso - Dec-10-2019, 02:00 PM - Forum: General Coding Help - Replies (9)

I want to delete a block of text from a text file that looks like this:

[quote]1
Date stored: 2019-02-01;
Author name: l;
Book..... More

Print this item

  Randomly assign values in List 1 to a value in List 2
Posted by: Seneca260 - Dec-10-2019, 11:53 AM - Forum: General Coding Help - Replies (6)

Hi all,

I am learning Python and also teaching a class and I want to build a program that random assigns students a day to do their presentation.

[p..... More

Print this item

  how to open program file .exe from list
Posted by: SayHiii - Dec-10-2019, 08:24 AM - Forum: General Coding Help - Replies (2)

here is my code
[python] if mybuffer == "b'Open'":
print("Program is Opening")
your_Po = (r'C:\Qt\5.13.1\mingw73_32\bin\designe..... More

Print this item

  i can't load model
Posted by: davitneparidze - Dec-10-2019, 07:29 AM - Forum: Data Science - No Replies

i trained model on google-colab, then i saved it with pickle, then downloaded.at last i loaded model with pickle, but it is not working, i mean i shou..... More

Print this item

  Help with Maths (inverse squares)
Posted by: michael1789 - Dec-10-2019, 04:38 AM - Forum: Data Science - Replies (5)

Hello, hope this is the right forum for this question.

I'm generating star systems for a game and I could use some suggestions on the math.

I'..... More

Print this item

  Tkinter Tic Tac Toe With Enhanced Features - Completed
Posted by: adt - Dec-10-2019, 03:18 AM - Forum: Completed Scripts/Snippets - Replies (2)

My first python project, an advanced version of Tic Tac Toe on Tkinter, incorporating enhanced features, can be downloaded at the following link:
[ur..... More

Print this item

  HttpRequest vs HttpResponse in Django
Posted by: ift38375 - Dec-10-2019, 01:24 AM - Forum: Web Scraping & Web Development - Replies (2)

Httprequest.method attribute exists in Django but i do not know about HttpResponse.method attribute is exists or not ?

Print this item

  write an integer to file using a function
Posted by: xvkxvo - Dec-10-2019, 12:21 AM - Forum: General Coding Help - Replies (4)

Hello All - Python newbie here. I develop using pycharm aided by w3schools. I am playing with writing functions atm. Question is, i can't seem to writ..... More

Print this item

  Installing cx_Oracle 64-bit on AIX
Posted by: Nash - Dec-10-2019, 12:20 AM - Forum: General Coding Help - No Replies

We are getting the below error while installing cx_Oracle using Python pip.

Note: Python, cx_Oracle, Oracle client and AIX ($OBJECT_MODE) are all 6..... More

Print this item

  Preferred way to slice a list
Posted by: SvetlanaofVodianova - Dec-09-2019, 10:01 PM - Forum: General Coding Help - Replies (3)

In the Zen of Python, it states:

[quote]There should be one-- and preferably only one --obvious ..... More

Print this item

  Where can I find the ledpixels module?
Posted by: epl - Dec-09-2019, 07:45 PM - Forum: Homework - Replies (1)

Hello

In an online course from school my Python programms start with:

from ledpixels import *
from time import sleep
Wh..... More

Print this item

  Is there any way to compact this code?
Posted by: Vantage - Dec-09-2019, 06:36 PM - Forum: General Coding Help - Replies (2)

I have created a super basic text based snakes and ladders game. I felt presetting the positions of the snakes and ladders was the best way to go abou..... More

Print this item

  CSV file escaping characters
Posted by: lokhtar - Dec-09-2019, 05:59 PM - Forum: General Coding Help - Replies (2)

Hello,

I am trying to do something relatively simple - load a csv file and create a list (or a dataframe). The separator for my file is "|", but the..... More

Print this item

  Early data import question
Posted by: VorpalPirate - Dec-09-2019, 05:22 PM - Forum: General Coding Help - Replies (2)

Just started with Python with a view to building a GUI based programme to replace something I currently have in Excel. Right now Excel uses a data lin..... More

Print this item

  Installing PIP packages issue
Posted by: Renym - Dec-09-2019, 04:26 PM - Forum: General Coding Help - Replies (2)

Hi everyone,

I am using Python 3.8 version and PyScripter and I could not install PIP openpyxl package following their website instructions. I am b..... More

Print this item

  update txt file but keep a specific line
Posted by: 3Pinter - Dec-09-2019, 02:43 PM - Forum: General Coding Help - Replies (1)

Hi,

I'd like run "an update a file from a template file" routine.

Setup:
target file (target.txt)
template file (template.txt)

Info:
targe..... More

Print this item

  Conditionally lazy load modules
Posted by: amb85 - Dec-09-2019, 12:59 PM - Forum: General Coding Help - Replies (1)

I want to use a decorator to append a function to a list of commands to be run. I'd like to be able to use the decorator in arbitrary modules and not ..... More

Print this item

  Stuck on Music Quiz
Posted by: Kartana_Cam - Dec-09-2019, 12:38 PM - Forum: Homework - Replies (3)

Stuck on Music Quiz Game

Hello, I am doing an assignment which is a Music Quiz Game, I have completed The Login, Menu, Rules and now ..... More

Print this item

  3D graph
Posted by: erealvic - Dec-09-2019, 11:08 AM - Forum: Homework - Replies (1)

Hello everyone ,
Well I'm new in Python , I have to submit an homework at university ,I'm in finance field ,it's about creating a volatility surface..... More

Print this item

  Banking system - transferring money
Posted by: 3DEN - Dec-09-2019, 10:35 AM - Forum: Homework - Replies (1)

hello, Im having trouble trying to transfer money from sender to sender so I would appreciate some help thanks! from the line 94

[python]
from cu..... More

Print this item

  Attribute error in code
Posted by: 3DEN - Dec-09-2019, 09:46 AM - Forum: Homework - Replies (1)

I need help with this code, it says Attribute Error "CustomerAccount' object has no attribute 'get_cu



[python]from customer_account import Cust..... More

Print this item

  How to clean session mqtt
Posted by: SayHiii - Dec-09-2019, 07:56 AM - Forum: General Coding Help - No Replies

[python]import paho.mqtt.client as mqtt
import subprocess
import os
import time

def on_connect(client, userdata, flags, rc):
print ("Connec..... More

Print this item