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,632
» Latest member: Chttebarron2
» Forum threads: 38,640
» Forum posts: 175,081

Full Statistics

Online Users
There are currently 364 online users.
» 1 Member(s) | 359 Guest(s)
Bing, Google, Baidu, Yandex, Gribouillis

Latest Threads
replace or remove text fr...
Forum: General Coding Help
Last Post: deanhystad
41 minutes ago
» Replies: 11
» Views: 208
While loop is terminating...
Forum: Homework
Last Post: jumpsworthnow
9 hours ago
» Replies: 0
» Views: 56
locating a pushbutton py ...
Forum: GUI
Last Post: Axel_Erfurt
10 hours ago
» Replies: 1
» Views: 49
How to put my game loop i...
Forum: Game Development
Last Post: Thatedge
Yesterday, 08:36 AM
» Replies: 10
» Views: 3,097
2D-Cube-Tic-Tac-Toe
Forum: Game Development
Last Post: Thatedge
Yesterday, 08:35 AM
» Replies: 2
» Views: 1,892
Unable to install pygame ...
Forum: Game Development
Last Post: Plyth
Yesterday, 03:54 AM
» Replies: 3
» Views: 2,117
List[] in Python needs so...
Forum: Game Development
Last Post: DeaD_EyE
Jun-27-2025, 01:32 PM
» Replies: 3
» Views: 385
Web scraping confusion
Forum: Web Scraping & Web Development
Last Post: AlluminumFoil
Jun-27-2025, 11:05 AM
» Replies: 4
» Views: 1,879
Problem Converting Tradin...
Forum: General Coding Help
Last Post: wallneradam
Jun-27-2025, 07:29 AM
» Replies: 2
» Views: 2,825
PyQT5 Thread crashes afte...
Forum: GUI
Last Post: Axel_Erfurt
Jun-26-2025, 08:17 PM
» Replies: 2
» Views: 3,105

 
  Replacing string values with count
Posted by: tomhuang - Jul-19-2017, 02:17 AM - Forum: Homework - Replies (2)

my question here

[color=#696969]Define a function that takes a string and replaces each character with a string of the number of times that letter ..... More

Print this item

  Python Error
Posted by: yonatancc - Jul-18-2017, 08:18 PM - Forum: General Coding Help - Replies (2)

So i started making a really simple calculator. im just a begginer it was a good training for me.

[python]print("Hello there, enter your first numb..... More

Print this item

  I want to install core mod.
Posted by: Blue Dog - Jul-18-2017, 07:28 PM - Forum: General Coding Help - Replies (3)

I can't find a way to install a python module name core. I tryed on both 2.7 and 3.5, The error is can't find one that works for this python, or some ..... More

Print this item

  Python for Windows Administration
Posted by: elliep - Jul-18-2017, 07:21 PM - Forum: General Coding Help - Replies (9)

Hey guys,

Instead of picking up Powershell I was looking to look more towards Python, but can you do what you can with powershell via windows admin..... More

Print this item

  Help with beautiful soup
Posted by: Larz60+ - Jul-18-2017, 03:18 PM - Forum: Web Scraping & Web Development - Replies (5)

I have a large XML document and am able to process the data ok.
I can make it more efficient if I do my find_all statements on only tags
that are di..... More

Print this item

  Debugger Font Size
Posted by: pythonck - Jul-18-2017, 01:40 PM - Forum: General Coding Help - Replies (3)

Can I change the font size in the Python Debugger? If so how?

Print this item

  Class construction in python
Posted by: Alberto - Jul-18-2017, 01:13 PM - Forum: General Coding Help - Replies (3)

Dear Python Users,

Please, help me to identify what is wrong with the code. I need to construct a "class" to calculate the correlation between two ..... More

Print this item

  Python 3.6.2 is ready
Posted by: sparkz_alot - Jul-18-2017, 12:59 PM - Forum: Bar - Replies (1)

For those interested, the stable release of Python 3.6.2 is now available for download here: ..... More

Print this item

  Python program that list all possible football outcome combinations
Posted by: lukorir - Jul-18-2017, 09:35 AM - Forum: General Coding Help - Replies (5)

Dear all, I would like to learn Python by working on a project. The project is to write Python code that can print out a list of all possible football..... More

Print this item

  Error Type: <class 'OSError'> And Error Type: <class 'ValueError'>
Posted by: runnerpaul - Jul-18-2017, 09:03 AM - Forum: General Coding Help - Replies (1)

Hi,

I've a python application which unzips .gz files and does various bits of processing on the contents.

Last night when it ran it produced th..... More

Print this item

  Python grouping program
Posted by: GhostZero199 - Jul-18-2017, 06:26 AM - Forum: General Coding Help - Replies (2)

I try to make a program that sorts words into predifined groups. The thing is how do I make it show me the content that had been transfered to those g..... More

Print this item

  create a 20 digit string, and cast to a list then add all the digits as integers
Posted by: nikhilkumar - Jul-18-2017, 06:26 AM - Forum: Homework - Replies (2)

my question here
create a 20 digit string, and cast to a list
then add all the digits as integers
print the equation and answer
Hint: use cast to ..... More

Print this item

  Insert using psycopg giving syntax error near "INSERT INTO"
Posted by: olgethorpe - Jul-18-2017, 02:54 AM - Forum: General Coding Help - Replies (4)

Hi there all

I am using the psycopg2 module for postgresql and I keep receiving an error in my SQL statement saying there is a syntax error at or nea..... More

Print this item

  Fill out form on webpage and post request programmatically
Posted by: ian - Jul-18-2017, 01:54 AM - Forum: GUI - Replies (2)

I am working on the following code. what I need next is to fill something in the search box and click 'Google Search' button to go next page in python..... More

Print this item

  How to plot two list on the same graph with different colors?
Posted by: Alberto - Jul-18-2017, 12:06 AM - Forum: General Coding Help - Replies (2)

Dear Python Users,

I tried to plot a graph from two lists on the same graph. However, what I get is that two lists are plotted against each other. ..... More

Print this item

  Sympy symbolic Point
Posted by: shoulddt - Jul-17-2017, 06:07 PM - Forum: General Coding Help - No Replies

Hello all,
First off I am new to Python and this forum, so thanks in advance for any help and I apologize for any stupid questions.
I am trying to ..... More

Print this item

  How to replace entries in a list?
Posted by: Alberto - Jul-17-2017, 05:39 PM - Forum: General Coding Help - Replies (1)

Dear Python Users,

Please, help me with the following issue. I have two lists: train_X and train_Y. What I want to do is to create a new list that wi..... More

Print this item

  whats the error in this code in python 3.0 as this is running 2.0 pyhon
Posted by: ekansh - Jul-17-2017, 05:35 PM - Forum: Web Scraping & Web Development - Replies (7)

my question here

[python]
import urllib
import re
urls=[]
i=0
regex='<title>(.+?)</title>'
pattern=re.compile(regex)
while i<len(urls):
   ..... More

Print this item

  Tkinter's strange error
Posted by: Ponomarenko Pavlo - Jul-17-2017, 05:08 PM - Forum: GUI - Replies (7)

What have caused it?

my_string = '1)from decimal import Decimal'
[error]Exception in Tkinter callback
Traceback (most recent cal..... More

Print this item

  Program exits with error, but can't discover which
Posted by: MTVDNA - Jul-17-2017, 04:01 PM - Forum: Data Science - Replies (4)

Hello everyone,

I have written a program in python that calculates the gravitational force of 2 objects on eachother. To do this I divide the object ..... More

Print this item

  Error of datebase
Posted by: Ponomarenko Pavlo - Jul-17-2017, 03:19 PM - Forum: General Coding Help - Replies (2)

[python]import shelve
class Waiting:
   def __init__(self):
       self.name = 'Waiting'
       self.List = []
bd = shelve.open('Data')
bd['Wait..... More

Print this item

  build a list (add_animals) using a while loop, stop adding when an empty string is en
Posted by: nikhilkumar - Jul-17-2017, 03:11 PM - Forum: General Coding Help - Replies (1)

my question here
build a list (add_animals) using a while loop, stop adding when an empty string is entered
[python]add_animals =[]
user_input=inpu..... More

Print this item

  sorted list not displaying
Posted by: Crackity - Jul-17-2017, 02:15 PM - Forum: Homework - Replies (6)

Hello all,

Sorry to bother you with yet another noob mystery but again, I find myself stumped. And I'd like to start by saying that I spent a solid..... More

Print this item

  "Guess the Number" game
Posted by: CTT - Jul-17-2017, 12:43 PM - Forum: General Coding Help - Replies (14)

Hi I'm new to the forum and a beginner to python, please take it easy :) I'm trying to do "guess the number" game, but couldn't solve it

The progra..... More

Print this item

  Password checker
Posted by: sammy2938 - Jul-17-2017, 08:25 AM - Forum: General Coding Help - Replies (2)

Hi i'm getting a little confused with the strength checker i may be completely off here but can someone explain how to get the strength checker to wor..... More

Print this item

  mysql Workbench export script - how to skip version check..
Posted by: AndreVerwijs - Jul-17-2017, 07:25 AM - Forum: General Coding Help - Replies (1)

mysql Workbench export script (wb_admin_export.py) - how do i skip version check...?? Evil
version numbers of Workbench bundle and mysql bun..... More

Print this item

  # only print cities that names start "Q" or earlier
Posted by: nikhilkumar - Jul-17-2017, 06:20 AM - Forum: General Coding Help - Replies (5)

my question here
print cities from visited_cities list in alphbetical order using .sort()
# only print cities that names start "Q" or earlier
[pyth..... More

Print this item

  mpv and xdg-screensaver3.5.1-1
Posted by: Barrowman - Jul-16-2017, 09:09 PM - Forum: General Coding Help - Replies (1)

running Mint 18.1 kernel 4.8.0-42-generic  Python 3.5.2 tkinter 3.5.1-1
I have written a python tkinter gui which works fine as long as I don't try t..... More

Print this item

  How to pick random entries of stock prices?
Posted by: Alberto - Jul-16-2017, 07:35 PM - Forum: Data Science - Replies (1)

Dear Python Users,

Please, can you help me with the following issue. I downloaded a stock price from google. Sorted the prices. What I need to do n..... More

Print this item

  Divide by 0 error
Posted by: kethyar - Jul-16-2017, 04:10 PM - Forum: Homework - Replies (1)

I am having issues with my class assignment. My simple program is having a user input car speed, time traveled and tank capacity. However, when I go t..... More

Print this item

  Dataframe error help
Posted by: migs2173 - Jul-16-2017, 03:18 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi anyone can help me this error problem im having this error" Dataframe object has no attribute irow" what would be the solution getting the error on..... More

Print this item

  Running Date and Time in SQLITE using Python
Posted by: trabis03 - Jul-16-2017, 02:30 PM - Forum: General Coding Help - Replies (3)

hello i want to make my date and time continuous running in my database but my code wont work.

[python]date = str(datetime.datetime.fromtimestamp(k..... More

Print this item

  Converting c++ class to python class
Posted by: panoss - Jul-16-2017, 10:20 AM - Forum: General Coding Help - Replies (12)

I 'm trying to convert a c++ class to python class.

My class 's c++ code (in epnccombomodel.cpp file):
[python]
#include "epnccombomodel.h..... More

Print this item

  Browse/Navigate Webpages
Posted by: ian - Jul-16-2017, 03:08 AM - Forum: GUI - Replies (2)

In my python 3.6 app, I need to build a web browser on a wx frame/panel. the app is able to change values on webpages and control navigation. what are..... More

Print this item

  Convert .ui file .py
Posted by: mailal - Jul-15-2017, 05:42 PM - Forum: GUI - Replies (7)

Hi

I am experiencing an issue regarding to convert an .ui file to .py.

I am running QT Designer 3.6 with PyQt5. I have tried the below commands..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  replace or remove text fr... 41 minutes ago Curbie deanhystad General Codin...
  While loop is terminating... 9 hours ago jumpsworthnow jumpsworthnow Homework
  [PyQt] locating a pushbut... 10 hours ago arbiel Axel_Erfurt GUI
  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
  can't use pyrepl: bad mag... 06-26, 05:53 eliastw85 Plyth News and Disc...
Most views
  The best Prog... 572361
  Tutorial Requ... 485070
  Web Scraping ... 436893
  Newbie with P... 379728
  Thread remain... 351241
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+ 12067
buran 8173
snippsat 7340
deanhystad 6843
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
Chttebarron2 Today
Olkianen Yesterday
jumpsworthnow Yesterday
jumps_worth Yesterday
karsonFergosn Yesterday

User Panel Messages

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