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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,980
» Latest member: Joliekeva
» Forum threads: 38,732
» Forum posts: 175,564

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 41 Guest(s)
Google, Bing, AOL, Mojeek, Twitter

Latest Threads
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
45 minutes ago
» Replies: 4
» Views: 1,948
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Yesterday, 07:43 AM
» Replies: 2
» Views: 380
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:21 AM
» Replies: 2
» Views: 1,012
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,067
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 743
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,049
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,492
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,069
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,524
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,409

 
  How to write test cases by Unit test for database configuration file?
Posted by: binhduonggttn - Feb-18-2020, 08:03 AM - Forum: General Coding Help - No Replies

I have a yaml file containing database configuration information and a python file to check connect to database via that configuration file. Then I wr..... More

Print this item

  Multiple cameras
Posted by: gawron103 - Feb-18-2020, 07:36 AM - Forum: Networking - No Replies

Hello all,

I am trying to create flask based app in which, every logged in user would have live stream view. For now everything works fine, however..... More

Print this item

  Brute force for CTF (easy one)
Posted by: JokerTux - Feb-18-2020, 06:57 AM - Forum: Homework - Replies (1)

Hi Guys !

So I m learing python and I found this website "hackthissite.org" and I decided to make some exercises. One of them was to write a python s..... More

Print this item

  capture print statement written in Stored Procedure in SQL Server
Posted by: brijeshkumar_77 - Feb-18-2020, 03:22 AM - Forum: General Coding Help - No Replies

Hi All,
I have stored procedure which i will call from python using pyodbc. This SP has several print statement which results as output of that SP.
..... More

Print this item

  Execute SQL Server Stored Procedure
Posted by: brijeshkumar_77 - Feb-18-2020, 02:59 AM - Forum: General Coding Help - No Replies

I need to execute a Stored procedure in SQL Server and capture all Print statements inside the SP. In addition to this, for other SP's i want to acces..... More

Print this item

  For loop to make it easier
Posted by: Amirdst - Feb-18-2020, 02:24 AM - Forum: General Coding Help - Replies (2)

Hi Friends ,
i have some aggregation to provide in xlsx files and i need to use a for loop to make it easier
i have columns in dataframe [inline]d..... More

Print this item

  delete a Python object that matches an atribute
Posted by: portafreak - Feb-18-2020, 12:26 AM - Forum: General Coding Help - Replies (2)

Hi,

How do I delete a Python object that matches an atribute?
I have the following code and I would like to delete created object with the attribu..... More

Print this item

  Number range?
Posted by: rusty11 - Feb-18-2020, 12:23 AM - Forum: General Coding Help - Replies (5)

Hello everyone, i am learning python and want to know if there is a way to display an error if someone goes past a specific value,
For example here i ..... More

Print this item

  counting in a label
Posted by: mcmxl22 - Feb-17-2020, 10:48 PM - Forum: GUI - Replies (1)

How do I get this to count in the label? It just shows an empty window and gives me an error when I close it.
[python]
import time
import tkinter a..... More

Print this item

  Install Mistake
Posted by: jlerette5 - Feb-17-2020, 09:23 PM - Forum: General Coding Help - Replies (1)

Forgive my ignorance, I am new to all this. When I installed the latest version Python 3.8.1 there was a link to change the default character limit, I..... More

Print this item

  list of strings to list of float
Posted by: undoredo - Feb-17-2020, 09:00 PM - Forum: Homework - Replies (3)

Hello,

i am trying to read a text file to get a list of point coordinates from a texte file :

this is the text :

-48.9701217110874,5.67558617..... More

Print this item

  Cannot import list from another module?
Posted by: t4keheart - Feb-17-2020, 08:52 PM - Forum: General Coding Help - Replies (1)

Hi guys,
I'm hoping this is something simple I'm missing... but for some reason I'm unable to import a list from another module, the contents always..... More

Print this item

  Open an Excel file
Posted by: Friend - Feb-17-2020, 08:42 PM - Forum: General Coding Help - Replies (9)

Hi all,
I am trying to open an excel file (LibreOffice) with the following code:
[python]
import openpyxl
wb = openpyxl.load_workbook(r'C:\Users\u..... More

Print this item

  Entry Widget issue
Posted by: PA3040 - Feb-17-2020, 07:15 PM - Forum: GUI - Replies (16)

Hi Team
My requirement is read data from arduino through serial port
and put it to the Entry widget

Every this is successful but only issue is T..... More

Print this item

  Flask, Posgresql - Multiple requests are not working
Posted by: bmaganti - Feb-17-2020, 07:01 PM - Forum: Web Scraping & Web Development - Replies (5)

All,

First of thank you for supporting this firm.

I am building an enterprise REST web application using Flask. application connections going cr..... More

Print this item

  New to python, having trouble with an exercise
Posted by: Salkay - Feb-17-2020, 06:58 PM - Forum: General Coding Help - Replies (3)

So the exercise gives me two numbers m and n, I need to make a function that iterates through these numbers to find which one has divisors that, when ..... More

Print this item

  How to move the player upwards and downwards?
Posted by: Piethon - Feb-17-2020, 04:29 PM - Forum: Game Development - Replies (5)

Hello everybody.

I am making a little game and somehow I can't figure out how to move my player sprite upwards or downwards without needing to rota..... More

Print this item

  Trying to install Pyquil, says I need Microsoft Visual C++
Posted by: Groucho - Feb-17-2020, 03:37 PM - Forum: General Coding Help - Replies (10)

I have been attempting to install pyquil using pip on PyCharm and I get an error message saying I need Microsoft Visual C++, which doesn't go away eve..... More

Print this item

  Need explanation of one line of code
Posted by: Fliberty - Feb-17-2020, 03:34 PM - Forum: General Coding Help - Replies (6)

I am working through a tutorial trying to learn Python. I have come across a line of code I cannot decipher.

I have asked the developer of the cod..... More

Print this item

  Need help for code
Posted by: Frank12347 - Feb-17-2020, 03:30 PM - Forum: General Coding Help - Replies (2)

This is my code. I tried to open a file and count keywords, which I setup before, as "{keyword}: {occurrence}",. But I get wrong result, the ouput is ..... More

Print this item

  tkinter how to unselect text in textbox
Posted by: Battant - Feb-17-2020, 02:00 PM - Forum: GUI - No Replies

Hello,

In my program, I use tkinter and a textbox contenent a text. The text should be select, unselect and select a next word

My code select wo..... More

Print this item

  append dataframes in loop
Posted by: ghena - Feb-17-2020, 11:20 AM - Forum: Data Science - Replies (1)

Hi,
I have a code with two dataframes types which are collected by simulation. I want to append these dataframes and store them into separated csv. W..... More

Print this item

  Safely running a web scraping script
Posted by: londonhdi - Feb-17-2020, 07:55 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi,
I've had a web scraping script built using Python and selenium by a developer from a gig website.
I'm not a developer myself so can't code revie..... More

Print this item

  simplekml change shape&color
Posted by: issac_n - Feb-17-2020, 07:18 AM - Forum: General Coding Help - Replies (2)

I am trying to change the newpoint default shape , the code below return no errors but the result still using default Yellow shape in Googlmap.
.I wan..... More

Print this item

  Preparing for OS upgrade
Posted by: jehoshua - Feb-17-2020, 02:35 AM - Forum: Bar - Replies (2)

I need to upgrade the current Kubuntu version 16.04.6 LTS to the latest version because there are some issues with the Python version at present. I fe..... More

Print this item

  loop only prints last character.
Posted by: mcmxl22 - Feb-17-2020, 02:04 AM - Forum: General Coding Help - Replies (1)

I want this to reprint and replace the time on the same line but its only printing the last character.
If I take out the end="\r" it..... More

Print this item

  Got another one
Posted by: DansterTx - Feb-17-2020, 12:53 AM - Forum: Homework - Replies (7)

This one seems to have the entire class stumped. I'll be damned if I can't figure out how to do it. I'll post the homework question, and anyone who m..... More

Print this item

  Speed issue with sprite update
Posted by: michael1789 - Feb-17-2020, 12:30 AM - Forum: Game Development - Replies (13)

This is my first attempt at the update for a sprite:
[python]def update(self, event, dt):

self.rect.y += 5
temp_gr..... More

Print this item

  is this string shell quote safe?
Posted by: Skaperen - Feb-17-2020, 12:00 AM - Forum: News and Discussions - Replies (2)

i need to find or write a function that can tell me if a given string is safe or needs to be quoted when being used to pass as an argument for a comma..... More

Print this item

  ValueError: invalid literal for int() with base 10: '0.5'
Posted by: emmapaw24 - Feb-16-2020, 07:15 PM - Forum: General Coding Help - Replies (2)

Hi, I'm having a problem with the code that I'm writing, this may be obvious as I'm new to Python, when I try to input a decimal whil writing my code ..... More

Print this item

  Problem with append list in loop
Posted by: michaelko03 - Feb-16-2020, 07:03 PM - Forum: General Coding Help - No Replies

Here is my code

[python]import math
import numpy as np

z = 0
y= []
x = []

while z < 5:
z = z + 1
t = 0
x.append([y])
w..... More

Print this item

  opencv on mac: Assertion Failed
Posted by: RandomCoder - Feb-16-2020, 06:17 PM - Forum: General Coding Help - No Replies

I've been following tutorials on youtube for opencv in python, but i have nothing for output, the code is the same as in the tutorial, and python quit..... More

Print this item

  12 mini games python tutorial series
Posted by: ninedeadeyes - Feb-16-2020, 05:47 PM - Forum: Tutorial Requests and Submissions - Replies (2)

12 mini games written with Python 3 standard library, each game scales in complexity. Good for beginners looking for examples of games to learn from. ..... More

Print this item

  Action rpg written in standard library.
Posted by: ninedeadeyes - Feb-16-2020, 05:36 PM - Forum: Game Development - Replies (1)

Just in case if anyone is interested I'll leave my code and video here..

https://github.com/Ninedeadeyes/7-Dungeons-Deep


https://www.youtube.c..... More

Print this item

  problem with the slider widget
Posted by: accoumar - Feb-16-2020, 05:12 PM - Forum: General Coding Help - Replies (3)

Hello,
I've tried to run the following program:
https://matplotlib.org/gallery/widgets/s...lider-demo

Unfortunately, Spyder just g..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Error: cannot mix str wit... 45 minutes ago ngregistrations Joliekeva General Codin...
  Integer Factorization Too... Yesterday, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Yesterday, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
Most views
  The best Prog... 577421
  Tutorial Requ... 500876
  Web Scraping ... 441067
  Newbie with P... 385126
  New Users Int... 369664
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Joliekeva Today
silversimon2 Yesterday
alissapena8 Yesterday
hoki1881 Yesterday
stephaniehendrix Yesterday

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020