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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,312
» Latest member: elizabethlittle6258
» Forum threads: 38,801
» Forum posts: 175,924

Full Statistics

Online Users
There are currently 34 online users.
» 0 Member(s) | 27 Guest(s)
Bing, Google, AOL, Facebook

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: Pedroski55
7 hours ago
» Replies: 12
» Views: 340
Python compiler
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 09:50 AM
» Replies: 1
» Views: 83
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
Nov-29-2025, 07:34 PM
» Replies: 5
» Views: 96
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
Nov-29-2025, 05:51 PM
» Replies: 0
» Views: 58
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Nov-29-2025, 07:39 AM
» Replies: 3
» Views: 11,145
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 222
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 752
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,850
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 224
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 177

 
  Still confused about how passing arguments works
Posted by: RedSkeleton007 - Apr-25-2018, 09:46 AM - Forum: General Coding Help - Replies (3)

I have a simple user input program:

[python]
#!/usr/bin/python
#QuickTest.py

def getLocation(x,y,z):
x = input("Specify horizontal positi..... More

Print this item

  Idea of timelapse with automatic settings
Posted by: hhanswurster - Apr-25-2018, 09:24 AM - Forum: General Coding Help - Replies (2)

Hey Guys,

i new to programing and have my first project in mind :)

Rasberry pi with light sensor, that automaticly changes my camera settings to a o..... More

Print this item

  The following modules appear to be missing ['_pybsddb']
Posted by: py2exe - Apr-25-2018, 09:01 AM - Forum: General Coding Help - Replies (2)

WHEN I run a python file(using p2exe to get .exe file)

it says:

The following modules appear to be missing
['_pybsddb']


I can not fin..... More

Print this item

  How to install a library in Python?
Posted by: DuoZhou - Apr-25-2018, 06:39 AM - Forum: General Coding Help - Replies (2)

Hello everyone, i'm really very new to Python. I have a maybe simple question:
How could i install a library in Python 3.x? My OS is Windows 7.

Th..... More

Print this item

  Convert .bmp images to .gif inside script
Posted by: Arontbt - Apr-25-2018, 03:19 AM - Forum: General Coding Help - Replies (5)

I am writing a python program that applies filters to images. I am running an image through two different functions. One of them only takes .bmp files..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 7 hours ago Lou Pedroski55 General Codin...
  Python compiler Yesterday, 09:50 NeoQuant noisefloor General Codin...
  Trading Risk management s... 11-29, 19:34 NeoQuant NeoQuant Code sharing
  Standard template Data En... 11-29, 17:51 Hosthubac Hosthubac Code Review
  Python Online Compiler 11-29, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... 11-28, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... 11-28, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
Most views
  The best Prog... 579520
  Tutorial Requ... 513061
  Web Scraping ... 442383
  Newbie with P... 386415
  New Users Int... 381825
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12113
buran 8196
snippsat 7394
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
elizabethlittle6258 Yesterday
StepanVoronin Yesterday
QABOB Yesterday
adityaN Yesterday
NeoQuant 11-29

User Panel Messages

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