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,934
» Latest member: alexguemez
» Forum threads: 38,721
» Forum posts: 175,508

Full Statistics

Online Users
There are currently 41 online users.
» 1 Member(s) | 35 Guest(s)
Applebot, Bing, Google, AOL, snippsat

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
3 hours ago
» Replies: 9
» Views: 2,717
Too much space between gr...
Forum: GUI
Last Post: RonR
10 hours ago
» Replies: 4
» Views: 1,133
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
11 hours ago
» Replies: 3
» Views: 149
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Yesterday, 07:07 AM
» Replies: 1
» Views: 505
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,665
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 598
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 188
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,123
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,349
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 1,017

 
  Pympler installation issue
Posted by: Katsuke - Aug-17-2017, 02:11 PM - Forum: General Coding Help - Replies (8)

Hello everyone!

I'm completely new with Python and Python 2.7, but I'm using it cause I need to run a conde on it. On this code, there's this call ..... More

Print this item

  OpenCV installation issue
Posted by: NOOBscripts - Aug-17-2017, 11:58 AM - Forum: Data Science - Replies (8)

Hi guys I have downloaded python 3.6 install it:works fine Cool . After I have install Numpy, Matplotlib. Also I have downloaded opencv.whl.
I am..... More

Print this item

  Send array of doubles to Python from C and back
Posted by: baptiste - Aug-17-2017, 09:58 AM - Forum: Data Science - Replies (8)

I would like to send an array of double to C to perform an optimization problem in python. The code is as follows:

**mathHelper.py**
[python] i..... More

Print this item

  Multiprocessing in wx Frame
Posted by: ian - Aug-16-2017, 08:41 PM - Forum: GUI - Replies (3)

I create a GUI window by using wx Frame/Panel and make a sample with some dummy code below.
when click on Run button, it will call function_1 with 0 ..... More

Print this item

  converting json into ?
Posted by: cmietzner - Aug-16-2017, 07:40 PM - Forum: Web Scraping & Web Development - Replies (1)

I am not a developer, just the guy that is blocked on a project because of this.
I was given an app that is supposed to create a json list. It is the..... More

Print this item

  Intermittent errors using Queue()
Posted by: Fredrik - Aug-16-2017, 06:42 PM - Forum: General Coding Help - Replies (2)

Hello

I don't know if this is the correct forum for this but General Coding Help sounded right.
I'm writing a multiprocess program and I communica..... More

Print this item

  card 21 trick
Posted by: SummoningZ - Aug-16-2017, 05:50 PM - Forum: Homework - Replies (21)

Hi, I have a coding project for school which involves me making a program to do the 21 card trick in python.
I have started to make the program but a..... More

Print this item

  Rotary Encoder Jitter
Posted by: cygnus_X1 - Aug-16-2017, 05:35 PM - Forum: General Coding Help - Replies (3)

I've made an Internet Radio using a Raspbbery Pi, Rotary encoder,
and 20x4 LCD. Stations are selected with a rotary encoder, and the
switch is pressed..... More

Print this item

  Can anyone explain the code?
Posted by: MPython - Aug-16-2017, 05:15 PM - Forum: General Coding Help - Replies (3)

How it works?

[python]
def externa(x):
def interna(y):
return y**x
return interna
f1=externa(2)
print(f1(3)) #----> 9
print(..... More

Print this item

  YANQ: Yet Another Newbie Question !
Posted by: webdef - Aug-16-2017, 03:51 PM - Forum: General Coding Help - Replies (3)

Here is the code I try to improve:

[python] def getEventFromId(self, service, eventid):
event = None
if self.epgcache is not None and eventid..... More

Print this item

  Need help with getting this voting eligiblity code to work
Posted by: Beastly - Aug-16-2017, 03:42 PM - Forum: Homework - Replies (1)

Struggling with how I can get the voting eligibility part at the end to work

import re

while True:
spefic_date = input('Enter todays date (..... More

Print this item

  Finding largest value in a for loop
Posted by: mingchew - Aug-16-2017, 11:28 AM - Forum: General Coding Help - Replies (1)

The Receiver PC receive multiple TOS value.
I just want to capture the largest value.
why the code below doesn't work.

list
largest=0

for Tru..... More

Print this item

  Promise
Posted by: nilamo - Aug-16-2017, 04:09 AM - Forum: Code sharing - Replies (2)

Earlier today, I had the opportunity (lol) to write a javascript fallback function for Promises for browsers which don't support Promises.  Which... i..... More

Print this item

  How to Use Gtk.Textview
Posted by: navinandrewprince - Aug-16-2017, 03:45 AM - Forum: GUI - No Replies

Hi I have developed a Python automation tool for Test Cases Automation purpose.
Right now I am in process of developing a GUI for it and have complet..... More

Print this item

  PySFTP ChDir Error490
Posted by: whoknows - Aug-16-2017, 01:34 AM - Forum: General Coding Help - Replies (2)

Hello. I am trying to figure out why I keep getting this error where I try to change the directory (see code below)
OverflowError: mode out of range..... More

Print this item

  Password Saver Program
Posted by: suitec - Aug-16-2017, 01:02 AM - Forum: Homework - Replies (3)

I have an assignment to write code for Choice 2, to 1. create a loop that goes through each item in the password list; 2. Check if the name is found; ..... More

Print this item

  how to convert string soup to raw string ?
Posted by: Fran_3 - Aug-15-2017, 10:30 PM - Forum: Web Scraping & Web Development - Replies (8)

I have a webpage in the variable soup

I try to search it with a regx but get an error
TypeError: expected string or bytes-like object

If I set ..... More

Print this item

  Help installing QtOpenGL via pyenv
Posted by: Yoshimaster96 - Aug-15-2017, 10:20 PM - Forum: News and Discussions - Replies (2)

Upon entering the command:
python configure-ng.py

It states that the following modules will be installed:
[output]These PyQt4 mo..... More

Print this item

  Error while writing a code for feature scaling
Posted by: prateek - Aug-15-2017, 08:50 PM - Forum: General Coding Help - Replies (1)

Hi, I am trying to write a code for doing feature scaling but getting an error. Please help me out with this.

def featureScaling(arr):
ndata =..... More

Print this item

  how to copy all files to my tmp folder?
Posted by: terry_arman2 - Aug-15-2017, 07:40 PM - Forum: General Coding Help - Replies (1)

Hi, how can i copy all files with extension ".txt " and ".pdf"?
theres a problem in my code at the time i want to copy certain files, only copy just ..... More

Print this item

  Game not letting player 1 win straight away
Posted by: mzmingle - Aug-15-2017, 04:28 PM - Forum: General Coding Help - Replies (6)

I'm making a two player noughts and crosses game, and when player one wins, it asks player two to make a move before ending the game. I don't know how..... More

Print this item

  Storing float as integer in a database
Posted by: Ageir - Aug-15-2017, 04:25 PM - Forum: General Coding Help - Replies (6)

Hi! I'm rather new to programming in Python and trying to figure out how to store my sensor data from my RPi in a database. For example I have tempera..... More

Print this item

  unable to replcae a pattern using method re.sub()
Posted by: Jeevananda - Aug-15-2017, 03:06 PM - Forum: Web Scraping & Web Development - Replies (4)

my question here
I am unable to replace a pattern using the method re.sub()
[python]
import re

#initialize string

x='<?xml version="1.0" enco..... More

Print this item

  I need help
Posted by: 777CAIN - Aug-15-2017, 02:39 PM - Forum: General Coding Help - Replies (14)

Is it possible to get a user to type in something like Apples and it comes back with a number eg

I type apple it comes back as 6?

If so could so..... More

Print this item

  Search by keyword
Posted by: Stokes4 - Aug-15-2017, 01:51 PM - Forum: General Coding Help - Replies (2)

I'm making an ai in python 2.7.13 and I looked around but can't figure out how to get it to search google by keyword. Ex: instead of typing "google" t..... More

Print this item

  OpenCV contrib Python
Posted by: peta - Aug-15-2017, 01:33 PM - Forum: General Coding Help - Replies (4)

Hello,

I want to learn programming (python) by realising different structured light 3D scanning methods. For this I wanted to try the structured_li..... More

Print this item

  PythonWin.exe
Posted by: cartogal - Aug-15-2017, 12:39 PM - Forum: General Coding Help - Replies (5)

I just had Python 2.7 and pythonWin 2.7 downloaded on my companies server, we use Citrix. I can't find the PythonWin.exe file. My coworker has a sta..... More

Print this item

  Unsolved import App .Unable to import Kivy
Posted by: bharath1991 - Aug-15-2017, 11:40 AM - Forum: GUI - Replies (2)

How do i use the module which is installed using Pip. I am not able to add as egg whereas there is no option to add an wheel. I have installed kivi us..... More

Print this item

  User input numpy array with color mapping & mouse click events
Posted by: imakeathepi - Aug-15-2017, 10:33 AM - Forum: Homework - No Replies

Hello Members!

I am new to the forum and looking for some help with a project related coding question.

I am tasked with making a 2d numpy array..... More

Print this item

  PyInstaller subprocess.checkout error
Posted by: aftab_s81 - Aug-15-2017, 07:57 AM - Forum: GUI - Replies (1)

I am developing a GUI app in Python, the code works fine in PyCharm IDE. Now I want to convert into an exe for distribution.

My code works fine until..... More

Print this item

  Order of Operation for creating organizational database software
Posted by: Mike_Marino - Aug-15-2017, 12:28 AM - Forum: General Coding Help - Replies (5)

Hello! I’m a music composer and am looking to try to build an organizational database to keep better (and more in-depth) track of the music I create...... More

Print this item

  Multiprocessing
Posted by: ian - Aug-14-2017, 10:02 PM - Forum: General Coding Help - Replies (1)

I have a function self.load_dataframe(0). when it is called from in its Frame parent, it will freeze the Frame until it returns value to self.df. I tr..... More

Print this item

  Anti Vowel
Posted by: OmarBrikaa - Aug-14-2017, 07:05 PM - Forum: General Coding Help - Replies (2)

What is wrong with this code? It should return the text without vowels.

[python]def anti_vowel(text):
new = list(text)
for letter in new:
..... More

Print this item

  stepper motor with raspberry pi
Posted by: bowen73 - Aug-14-2017, 06:56 PM - Forum: General Coding Help - Replies (3)

I’ve had my 1st stepper hat delivered and all is working fine and have it turning a bipolar stepper motor, but need help getting more from the demo sc..... More

Print this item

  Copy info of 2 files with share information
Posted by: AngelRuizM - Aug-14-2017, 06:11 PM - Forum: General Coding Help - Replies (1)

Hi,

I´m really new using Python. But I have to solve a problem to make the analysis of my scientific data.

I have two excel files with differen..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error 3 hours ago CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... 10 hours ago RonR RonR GUI
  datetime in SQL query. 11 hours ago Dibbley Dibbley General Codin...
  Another app idea - intera... Yesterday, 07:07 decuser Lenowell News and Disc...
  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...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575938
  Tutorial Requ... 497318
  Web Scraping ... 439911
  Newbie with P... 383644
  New Users Int... 365985
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+ 12088
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
alexguemez Today
Shadab Today
Dibbley Today
XenonBlack Yesterday
Lenowell Yesterday

User Panel Messages

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