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,941
» Latest member: pllrdvalery
» Forum threads: 38,723
» Forum posts: 175,517

Full Statistics

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

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 9
» Views: 463
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
Today, 08:55 AM
» Replies: 1
» Views: 320
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,667
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,021
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,374
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,923
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,695
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,785
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,929
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,485

 
  Qt for Python
Posted by: dvs1 - Apr-25-2018, 01:14 AM - Forum: News and Discussions - Replies (2)

[quote]Pretty soon, developers can enjoy all the goodies from Qt in their Python applications, including official technical support, around the globe...... More

Print this item

  Need Recommendation for Training - Python for WebDev and Dashboards
Posted by: Cory - Apr-24-2018, 06:54 PM - Forum: General Coding Help - Replies (3)

Greetings,

Greatly appreciated if I could have some counsel on what training reads or courses (reasonably priced) that would help as a beginner in ..... More

Print this item

  Python on Windows 2012RC2 (with VS Code 1.22.2). Scripts not generating output.
Posted by: JGFMK - Apr-24-2018, 06:39 PM - Forum: General Coding Help - Replies (2)

I'm a relative newbie to Python.
I'm running Python on a VM with Windows 2012 RC2 installed.
I have Python 3.6.5 -x64 (from installer called python-3...... More

Print this item

  Learning Python
Posted by: mgranger - Apr-24-2018, 06:03 PM - Forum: GUI - No Replies

So I am trying to learn/teach myself python and I decided to start with Rock, Paper, Scissors game. I was able to create the game using python but no..... More

Print this item

  Finding directory based on wildcard?
Posted by: jkimrey - Apr-24-2018, 01:07 PM - Forum: General Coding Help - Replies (4)

Hi.

I'm trying to create a function that will return a (windows) directory based on a wildcard.

For instance, my starting directory is C:\users\..... More

Print this item

  Bubble sort quiz: why the result is not the same?
Posted by: lupoalberto - Apr-24-2018, 12:45 PM - Forum: General Coding Help - Replies (11)

Here's a quiz of a Math professor on Twitter:

[Image: ewX81x]

He says the results are:
1) 1 / 930
2) 1 / 14880

I did this code (py..... More

Print this item

  Read write Lock concerns
Posted by: arvindh - Apr-24-2018, 11:31 AM - Forum: General Coding Help - Replies (1)

Guys, I am writing a config manager in python 2.7.14 spawning multi-threads and as a synchronization mechanism, I have to implement it via the second ..... More

Print this item

  How to use BeautifulSoup4 with pandas series type of html data?
Posted by: PrateekG - Apr-24-2018, 10:58 AM - Forum: Web Scraping & Web Development - Replies (4)

Hi All,

I have some html data in the form of pandas Series.
For example I am storing this data in a variable-html_series

Now when I try to apply Bea..... More

Print this item

  Distance between indicies of a list
Posted by: johnissa - Apr-24-2018, 09:50 AM - Forum: Homework - Replies (2)

how can i determine the distance between two indices in a list of values?

given a = [-1, 5, 4, 8, 3, 21, 18, 16, 3, 2, 3, 1, 4, 5, 17, 22, 36, 33, ..... More

Print this item

  hashing a function
Posted by: ltitley - Apr-24-2018, 08:31 AM - Forum: General Coding Help - Replies (1)

Hey,
So I'm working on a sort of distributed build system. The system allows execution of snippets of scripts as build steps. I need to be able to has..... More

Print this item

  Perfect Number formula in Python Question an Mersenne Numbers
Posted by: Pleiades - Apr-24-2018, 07:46 AM - Forum: General Coding Help - Replies (5)

Hi all,
Great thanks for this site it helps. Anyway I have found a direct relationship with perfect numbers to Mersenne Numbers. For Instance 6 is ..... More

Print this item

  Computationally efficient recording + searching?
Posted by: IAMK - Apr-24-2018, 03:18 AM - Forum: General Coding Help - Replies (1)

I have not yet programmed this, so it will be in pseudo code, but I would like to know if my idea is good or there is a better way to do it. I need th..... More

Print this item

  Alphabetic Telephone Number Translator
Posted by: MEH012 - Apr-24-2018, 01:11 AM - Forum: Homework - Replies (4)

[python]"""
This Program will ask the user to enter a 10-character telephone number in the format of
XXX-XXX-XXXX. The application should display th..... More

Print this item

  Trying to figure out Python IRC
Posted by: Tass - Apr-23-2018, 11:06 PM - Forum: General Coding Help - No Replies

Hey guys. I'm obviously quite new here. I'm currently making a games and trivia-like bot for a friend's irc channel and I'm kind of stuck on something..... More

Print this item

  Display Formating
Posted by: Jrvelandia - Apr-23-2018, 10:59 PM - Forum: Homework - Replies (2)

[python]def line_up(roster):
if len(roster)==0:
print("There is no player in the list. \n")
return
else:
i = 1
..... More

Print this item

  first time...help
Posted by: JJgo - Apr-23-2018, 10:43 PM - Forum: Homework - Replies (16)

I created my first algorithm, but I should put a loop on it ... can someone help me? ... please ..
thanks!!

Print this item

  tkinter button acts normal ONLY after clicking off the window
Posted by: justin_m - Apr-23-2018, 10:29 PM - Forum: GUI - Replies (8)

I have a mac 10.13.4, and am using python 3.4.4 .
Here is my code:

####################

[python]from tkinter import *

root = Tk()
canvas = ..... More

Print this item

  New Syntax Error
Posted by: DEdwards - Apr-23-2018, 10:20 PM - Forum: General Coding Help - Replies (1)

I'm new to python and have written the following binary search and it was running then suddenly I am getting a syntax error on line 58. I am running ..... More

Print this item

  Understanding the Relationship between the Object and Database Models
Posted by: pyclops - Apr-23-2018, 09:52 PM - Forum: News and Discussions - No Replies

I come from a background in database development (primarily SQL Server and MS Access) and while I have a basic grasp of Python and JavaScript, I've fo..... More

Print this item

  QC input value against dictionary in while loop
Posted by: dadgums - Apr-23-2018, 09:30 PM - Forum: General Coding Help - Replies (2)

Hi, all. I'm super new to python and to OOP and was hoping for some help. I built a simple RPS game and wanted to include a check for user entry again..... More

Print this item

  Print every multiplication of recursion
Posted by: Arontbt - Apr-23-2018, 08:15 PM - Forum: General Coding Help - Replies (4)

I need to print every multiplication step that happens in the following recursion code. I tried printing the return statement itself before returning ..... More

Print this item

Photo [split] Password Generator
Posted by: Fusion777 - Apr-23-2018, 08:00 PM - Forum: General Coding Help - Replies (2)

So, I've been trying to write this code that would tell me to stop once I entered the wrong password three times in a row and I don't know how to do i..... More

Print this item

  Communication between python and qt
Posted by: Akhou - Apr-23-2018, 02:20 PM - Forum: Homework - Replies (2)

hey,

I have to generate a .qml code automaticatty, so far I've been able to create a .qml template using Acceleo and a shape detection program usin..... More

Print this item

  How to update data on each iteration
Posted by: Raj - Apr-23-2018, 02:08 PM - Forum: General Coding Help - Replies (1)

[spoiler]Hi,
I am using random forest method to predict some response variable. My train test is 70% of input data and test data is 30%. But for pred..... More

Print this item

  touch events is not generating
Posted by: shridhara - Apr-23-2018, 11:39 AM - Forum: GUI - No Replies

hell all,
Hi, I tested simple code for detecting touch event on touch-screen, but i cant able to generate touch events and can't pinch at all. Anyon..... More

Print this item

  Help With Function to search a list
Posted by: johnissa - Apr-23-2018, 10:40 AM - Forum: Homework - Replies (2)

Hi i need help with writing a function which will return a list of values under the following conditions:



example:

[python]

def example(..... More

Print this item

  Complete Beginner Startup - Simply run github code for hpd20
Posted by: Image_Engine - Apr-23-2018, 10:28 AM - Forum: General Coding Help - Replies (8)

Hi All
Im a reasonably experienced programmer in vba/rexx/wscript and graphic languages like pure data/max/grasshopper etc.

I am using a midi inst..... More

Print this item

  Regular expression to print maching
Posted by: anna - Apr-23-2018, 09:58 AM - Forum: General Coding Help - Replies (17)

Hi All,


something is going wrong, I am not able to print matching pattern in line.

[python]import re
import atexit
import paramiko
import t..... More

Print this item

  connect to remote database via python script
Posted by: sunstar20 - Apr-23-2018, 09:20 AM - Forum: General Coding Help - Replies (5)

Hi,

I am able to connect to local database via python script.
For ex: MySQLdb.connect("localhost","testuser","test123","test" )

I want to conne..... More

Print this item

  Locate user input in a string.
Posted by: MjBaca - Apr-23-2018, 05:47 AM - Forum: General Coding Help - Replies (3)

New to Python, new to programming, sort of.. I love to play classic CRPG's, however instead of pulling out the graph paper to map out the dungeons as ..... More

Print this item

  Submit button not working when using form
Posted by: tuannv562 - Apr-23-2018, 03:49 AM - Forum: Web Scraping & Web Development - No Replies

Hi all. I'm studying Django and i want to create a forum.
This is the html code code:

{% extends 'base.html' %}

{% load static %}
{% load cris..... More

Print this item

  generators as filters
Posted by: Skaperen - Apr-23-2018, 03:30 AM - Forum: News and Discussions - No Replies

suppose you have a couple routines in separate contexts that send data objects back and forth to each other? how easy is it to insert a generator to ..... More

Print this item

  financial technical indicators
Posted by: ian - Apr-23-2018, 03:23 AM - Forum: General Coding Help - Replies (2)

I am looking for packages of financial technical indicators that can be used to analyze financial data.
And I found pyti 0.2.1. Can anyone recommend ..... More

Print this item

  Python openCV "img" is not defined error
Posted by: Arontbt - Apr-23-2018, 03:15 AM - Forum: General Coding Help - Replies (2)

I'm using openCV to write an image to a new file. I got the following method from an openCV textbook but I get an error that says "img" is not defined..... More

Print this item

  trouble importing and converting CSV
Posted by: Devilish - Apr-23-2018, 01:20 AM - Forum: Data Science - Replies (1)

I am banging my head against the wall!!! I'm very new to Python and thought I'd actually run through some tutorials using the kind of data I'll be wo..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 1 hour ago Anunderling deanhystad General Codin...
  A coding beginner needs h... Today, 08:55 Littlefish paul18fr General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576638
  Tutorial Requ... 498702
  Web Scraping ... 440479
  Newbie with P... 384405
  New Users Int... 367768
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+ 12087
buran 8175
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
pllrdvalery Today
Littlefish Today
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday

User Panel Messages

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