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,637
» Latest member: racheldavis66
» Forum threads: 38,641
» Forum posts: 175,090

Full Statistics

Online Users
There are currently 483 online users.
» 0 Member(s) | 475 Guest(s)
Google, Bing, Baidu, AOL, Apple, Facebook

Latest Threads
replace or remove text fr...
Forum: General Coding Help
Last Post: Curbie
5 minutes ago
» Replies: 13
» Views: 378
locating a pushbutton py ...
Forum: GUI
Last Post: deanhystad
11 minutes ago
» Replies: 2
» Views: 79
Difference and meaning in...
Forum: General Coding Help
Last Post: Gribouillis
3 hours ago
» Replies: 4
» Views: 116
While loop is terminating...
Forum: Homework
Last Post: Gribouillis
Today, 06:19 AM
» Replies: 1
» Views: 84
How to put my game loop i...
Forum: Game Development
Last Post: Thatedge
Yesterday, 08:36 AM
» Replies: 10
» Views: 3,110
2D-Cube-Tic-Tac-Toe
Forum: Game Development
Last Post: Thatedge
Yesterday, 08:35 AM
» Replies: 2
» Views: 1,898
Unable to install pygame ...
Forum: Game Development
Last Post: Plyth
Yesterday, 03:54 AM
» Replies: 3
» Views: 2,128
List[] in Python needs so...
Forum: Game Development
Last Post: DeaD_EyE
Jun-27-2025, 01:32 PM
» Replies: 3
» Views: 388
Web scraping confusion
Forum: Web Scraping & Web Development
Last Post: AlluminumFoil
Jun-27-2025, 11:05 AM
» Replies: 4
» Views: 1,898
Problem Converting Tradin...
Forum: General Coding Help
Last Post: wallneradam
Jun-27-2025, 07:29 AM
» Replies: 2
» Views: 2,832

 
  Beautiful soup opens python command line and nothing happens
Posted by: Prince_Bhatia - Aug-01-2017, 09:29 AM - Forum: Web Scraping & Web Development - Replies (4)

i am new to programming , i have created a webscraper in python using beautiful soup but when i run this program it opens python command line and and ..... More

Print this item

  Recursive function need help
Posted by: Neural_oD - Aug-01-2017, 07:42 AM - Forum: Homework - Replies (4)

Hi All
New to coding/python, and still battling with a couple of concepts. Need some help with regards to a function that I'm meant to write.
So bas..... More

Print this item

  TypeError: 'int' object is not iterable
Posted by: santoshpalpunuri - Aug-01-2017, 05:27 AM - Forum: General Coding Help - Replies (1)

my question here

I was trying to execute the below code and it is throwing the error 'int object is not iterable'

Code:
[python]
def populatel..... More

Print this item

  Additional slashes being added to string
Posted by: burvil - Aug-01-2017, 05:21 AM - Forum: General Coding Help - Replies (8)

I have the following code, where I have the variable domain_with_escapes the way I want it. When I add it as part of a value in a dictionary, there a..... More

Print this item

  Get DataFrame from GoogleFinance Client
Posted by: ian - Aug-01-2017, 04:05 AM - Forum: Data Science - Replies (4)

How to use python 3.6 to get dataframes by using Google Finance Client (import googlefinance.client as gf) ?
I would like to get data from this URL: ..... More

Print this item

  tkinter button commands
Posted by: Lux - Aug-01-2017, 02:36 AM - Forum: GUI - Replies (1)

[font=Arial,Helvetica,sans-serif]I am writing code in tkinter (on a mac, in Python 3.6)
Right now, I am writing some code that basically waits until ..... More

Print this item

  Whats wrong with my thread?
Posted by: tony1812 - Aug-01-2017, 01:03 AM - Forum: General Coding Help - Replies (7)

Hello. I just started learning Python
I wrote this code. The idea is to let the main thread to hadle the UI tasks and leave the relay control to a ne..... More

Print this item

  Calculate the mean of an array across dimension with lists of different length
Posted by: rakhmadiev - Aug-01-2017, 12:49 AM - Forum: Data Science - Replies (2)

Hello, 

I have a list of lists and I need to calculate the mean across the dimension. The problem is that the sublists are all of different length...... More

Print this item

  3.6.2 is latest stable release right? And "path length"
Posted by: Fran_3 - Jul-31-2017, 09:50 PM - Forum: General Coding Help - Replies (3)

1 - Just confirming 3.6.2 is latest stable release... right? (for Windows 10 install)

2 - At end of install it asked me for OK to exceed normal 2xx..... More

Print this item

  ROLL function
Posted by: Zman350x - Jul-31-2017, 08:14 PM - Forum: Game Development - Replies (4)

I am making a dice game, here is my roll function.
What I want to happen is for the loop to repeat 9 times(or 10 I can't tell) and each time pick a d..... More

Print this item

  How to Run a Python Script
Posted by: umityayla - Jul-31-2017, 06:07 PM - Forum: General Coding Help - Replies (4)

Hello,

I'm new to Python programming, so don't bash me pls :D.

I got an Ubuntu server and a Windows 8.1 PC, I found a python script from github ..... More

Print this item

  Creating a Calculator with Python
Posted by: KatherineHov - Jul-31-2017, 05:33 PM - Forum: General Coding Help - Replies (8)

Hi, right now I'm working on a python dilution calculator. Using the dilution equation
C1V1 = C2V2 I've made this simple protocol that works:

[pyt..... More

Print this item

  PyPDF2: Find a PDF bookmark with a keyword
Posted by: Aviator83 - Jul-31-2017, 02:10 PM - Forum: General Coding Help - Replies (1)

Hey everybody, very new to Python and scripting in general except for some MATLAB stuff. I'm trying to use PyPDF2 to take a certain bookmarked portion..... More

Print this item

  pxssh timeout issue
Posted by: Prabakaran141 - Jul-31-2017, 10:54 AM - Forum: General Coding Help - Replies (4)

At some situation I'm facing this error, I have added the error details below. Can somebody help me in fixing this issue?

[python]
...
s ..... More

Print this item

  text = str(text.encode('utf-8')) AttributeError: 'float' object has no attribute 'enc
Posted by: ulrich48155 - Jul-31-2017, 05:15 AM - Forum: Homework - Replies (2)

Im trying to do a sentiment analysis of Twitter tweets on different topics. Thereby, some topics produce the following error message:

[b]AttributeE..... More

Print this item

  ErrorMsg using new wx.lib.agw.genericmessagedialog
Posted by: Larz60+ - Jul-31-2017, 01:04 AM - Forum: Code sharing - No Replies

Here's a snippet for an error class using the wx.lib.agw.genericmessagedialog
widget in the wxPython-4.0.0b1 release.

I really like the way this w..... More


Attached Files

Thumbnail(s)
   
Print this item

  Trying to setup Python application, odd error
Posted by: Yoshimaster96 - Jul-30-2017, 11:08 PM - Forum: General Coding Help - Replies (6)

Although python3 cannot find the Cython module:

[inline] python3 setup.py
Could not import cx_Freeze. Building executable not possible.
..... More

Print this item

  Referrencing before assignment problem
Posted by: martan45 - Jul-30-2017, 08:42 PM - Forum: General Coding Help - Replies (1)

As you can see from the code I am a beginner. When I run this code, the error is that g_heal is referenced before it is assigned a value. This is untr..... More

Print this item

  tkinter import problems on mac
Posted by: Lux - Jul-30-2017, 06:18 PM - Forum: GUI - Replies (2)

I am working with tkinter, on a mac, and I am having trouble with imports. 
Everything works fine in IDLE, but if I try to run my code in Python Laun..... More

Print this item

  Dim theme
Posted by: metulburr - Jul-30-2017, 04:53 PM - Forum: Board - Replies (9)

Most users use the default white theme. However we have a dark theme called Dim that is available. However that is usually put on the back burner for ..... More

Print this item

  Drawing graphs with matplotlib
Posted by: JRod - Jul-30-2017, 10:02 AM - Forum: General Coding Help - Replies (5)

Hi,
I am trying to write a short program to visualise population dynamics in lemming populations.
The code I have below works ok but only gives me a..... More

Print this item

  a suggestion for a feature change
Posted by: Skaperen - Jul-30-2017, 08:26 AM - Forum: News and Discussions - Replies (7)

mutable sequences have a method called pop that can be optionally given one argument to use as the index, else 0 is used.  the indexed element of the ..... More

Print this item

  Learn to use thread
Posted by: tony1812 - Jul-29-2017, 11:51 PM - Forum: General Coding Help - Replies (1)

Hello, I am experiment with thread on the Pi. I want to keep the main thread for the UI. Start a new threat to turn a relay on and off. The part for t..... More

Print this item

  HOWTO? Login DSL Modem with Python Requests: need Click "Apply" Button
Posted by: Webtest - Jul-29-2017, 10:29 PM - Forum: Web Scraping & Web Development - Replies (4)

Esteemed Forum Participants & Lurkers:
======================================
NOTE: Inexperienced with Web Development ...

I am trying to make a ..... More

Print this item

  'soup.findAll()' help - Want to retrieve multiple attribute values
Posted by: MattRHope - Jul-29-2017, 08:38 PM - Forum: General Coding Help - Replies (1)

Hello:

I am extremely new to python and am working on developing basic web crawlers. One data point I am interested in retrieving from a particular ..... More

Print this item

  Pygame: Help With JackRouter Error
Posted by: arrangereality - Jul-29-2017, 07:59 PM - Forum: Game Development - Replies (4)

Hi, I am trying to get started with pygame, but when I run 'python hello_python.py' from the terminal, my game starts however I get the following erro..... More

Print this item

  time travaller
Posted by: tony1812 - Jul-29-2017, 07:49 PM - Forum: General Coding Help - Replies (3)

Hello, I am python newbie.

I would like to write a little code to keep track of a loop's start tim end end end time in seconds
pseudo code
[pyth..... More

Print this item

  I need help finding a Stock Screener Script
Posted by: Alphix - Jul-29-2017, 05:35 PM - Forum: General Coding Help - Replies (1)

Hi need help with finding a starter script which is a stock market screener for the NYSE and Nasdaq
Sad Sad
I have python 3.6 64bit versi..... More

Print this item

  How can I do it easier ?
Posted by: Mike Ru - Jul-29-2017, 04:51 PM - Forum: General Coding Help - Replies (7)

I have a list. I need to change my list so that the first ten elems is becoming with a capital letter. I'm doing it this way:
[python]
numbers = ['o..... More

Print this item

  Writing data from a DHT11 to LCD
Posted by: expplane - Jul-29-2017, 03:28 PM - Forum: General Coding Help - Replies (2)

I know how to write characters to the LCD. How do I take the temperature data from the DHT11 and write that to the LCD. Also I can't find information ..... More

Print this item

  font error
Posted by: Zman350x - Jul-29-2017, 01:27 PM - Forum: Game Development - Replies (2)

Here is my code:

[python]
import pygame, random, color, sys  #color is a module I made containing a list of variables with RGB values
pygame.init..... More

Print this item

  Beginner needing help!
Posted by: Franco - Jul-29-2017, 12:25 PM - Forum: General Coding Help - Replies (2)

I am trying to learn Python. For me the best way to learn is to try and apply the subject to an interest. In this case I am trying to make a small qui..... More

Print this item

  Vigenere and Caesar Cipher
Posted by: sammy2938 - Jul-29-2017, 11:38 AM - Forum: Homework - Replies (1)

I am trying to code in python using a caesar and a vigenere cipher so the user can pick which one they want to use and encrypt or decrypt. I have code..... More

Print this item

  module functions and data references
Posted by: Skaperen - Jul-29-2017, 03:15 AM - Forum: General Coding Help - Replies (6)

suppose you have a some functions in a module and two of these functions need to call the other functions. you need to call those two functions in a s..... More

Print this item

  Checking if date is holiday in a datetimeindex
Posted by: paulo663636 - Jul-29-2017, 02:50 AM - Forum: Data Science - Replies (1)

Hello Everybody!!

I have one column in a dataframe that has a set of dates as pandas.series, like these examples:

1458641 2016-04-22 06:57:41
1..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  replace or remove text fr... 5 minutes ago Curbie Curbie General Codin...
  [PyQt] locating a pushbut... 11 minutes ago arbiel deanhystad GUI
  Difference and meaning in... 3 hours ago Udbytossen Gribouillis General Codin...
  While loop is terminating... Today, 06:19 jumpsworthnow Gribouillis Homework
  How to put my game loop i... Yesterday, 08:36 temlotresid6 Thatedge Game Developm...
  2D-Cube-Tic-Tac-Toe Yesterday, 08:35 freethrownucleus Thatedge Game Developm...
  Unable to install pygame ... Yesterday, 03:54 garthE Plyth Game Developm...
  List[] in Python needs so... 06-27, 13:32 Codingdesigner12 DeaD_EyE Game Developm...
  Web scraping confusion 06-27, 11:05 keifin AlluminumFoil Web Scraping ...
  Problem Converting Tradin... 06-27, 07:29 kralxs wallneradam General Codin...
  [PyQt] PyQT5 Thread crash... 06-26, 20:17 Suresh Axel_Erfurt GUI
Most views
  The best Prog... 572365
  Tutorial Requ... 485090
  Web Scraping ... 436894
  Newbie with P... 379732
  Thread remain... 351242
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12068
buran 8173
snippsat 7341
deanhystad 6844
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
racheldavis66 Today
ankaoutdoor Today
humphrey88 Today
Udbytossen Today
tatria Today

User Panel Messages

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