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,931
» Latest member: Lenowell
» Forum threads: 38,720
» Forum posts: 175,500

Full Statistics

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

Latest Threads
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
2 hours ago
» Replies: 1
» Views: 340
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,339
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,459
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 284
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 91
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,806
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,056
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 746
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Sep-14-2025, 11:25 AM
» Replies: 7
» Views: 2,108
Python Installation issue
Forum: News and Discussions
Last Post: Dev
Sep-14-2025, 11:16 AM
» Replies: 4
» Views: 15,980

 
  Append to dataframe with for loop
Posted by: nocoffeenoworkee - May-01-2017, 11:44 AM - Forum: General Coding Help - No Replies

I'm trying to loop through a list(y) and output by appending a row for each item to a dataframe.

[color=#333333][python]y=[d..... More

Print this item

  loops goes on forever
Posted by: alsimm - May-01-2017, 11:04 AM - Forum: General Coding Help - Replies (8)

Hello all, Smile
python 2.7
The following code uses input to get 3 numbers then adds them up.I then placed it into a while loop
thinking that ..... More

Print this item

  import commands modules not working in python 3.6.0
Posted by: bmohanraj91 - May-01-2017, 09:59 AM - Forum: General Coding Help - Replies (2)

I have updated the python version to 3.6.0. I am trying to "import commands" modules so I could save the shell commands for some purpose, but I am get..... More

Print this item

  python - Custom POS tagging with NLTK
Posted by: desul - May-01-2017, 09:38 AM - Forum: Homework - No Replies

Please HELP me,

I want to build custom pos tagging with nltk 3.2.2,  I have tried with the following code but I am getting following errors ............ More

Print this item

  print() statement not executing..
Posted by: bmohanraj91 - May-01-2017, 08:38 AM - Forum: General Coding Help - Replies (3)

Hi guys,

I am pretty new to program, I have written a program that copies files from one directory to other, issue is not in that. Issue is with th..... More

Print this item

  How do you do method chaining?
Posted by: nilamo - May-01-2017, 02:36 AM - Forum: Web Scraping & Web Development - Replies (5)

How do you guys do method chaining?  Everything I've tried to break method calls across multiple lines looks pretty ugly.
Or do you guys just not do ..... More

Print this item

  when repr() fails
Posted by: Skaperen - May-01-2017, 02:25 AM - Forum: General Coding Help - Replies (8)

what function can convert a string containing unprintable binary characters to source code compatible escape sequences that can restore that binary ch..... More

Print this item

  Visiting websites and taking screenshots implicitly?
Posted by: bigmit37 - May-01-2017, 12:40 AM - Forum: Web Scraping & Web Development - Replies (4)

I wanted to visit some websites via python and take screenshots of the website without opening up the browser. Is this possible? 

I was recommended..... More

Print this item

  PyGtk3, How to Create “title-changed” signal for Gtk.Window Widget?
Posted by: harun2525 - Apr-30-2017, 09:28 PM - Forum: GUI - Replies (2)

i want create signal that runs when title of window changed.

example

[python]
    def printTitleChanged(windowName):
        print("title of",..... More

Print this item

  First Post/ Class Error Question
Posted by: jvan1601 - Apr-30-2017, 08:30 PM - Forum: General Coding Help - Replies (2)

Hello everyone, this is my first post on this (or any) forum. Python is my first programming language, and I am learning it on my own time as a hobby...... More

Print this item

  Single User Dungeon
Posted by: tckay - Apr-30-2017, 06:13 PM - Forum: Homework - Replies (1)

Alright so i am total beginner here and I need help with what the code should look like to allow players to interact with other items in the room. I c..... More

Print this item

  GTIN-8 Code
Posted by: harry183713718312378 - Apr-30-2017, 06:11 PM - Forum: Homework - Replies (1)

I'm struggling with some coding. The question is "Create a suitable text file to use with a high-level programming language containing a list of produ..... More

Print this item

  Simplyfy
Posted by: podge - Apr-30-2017, 04:38 PM - Forum: General Coding Help - Replies (7)

The last time I did any coding was about 30 years ago and that was basic. Python seems to have a similar syntax so I thought I would dip my toe in the..... More

Print this item

  can not import name invalidate_caches
Posted by: Bani - Apr-30-2017, 04:37 PM - Forum: General Coding Help - Replies (11)

Hi,
I use Python 2.7. I have an Import Error: can not import name invalidate_caches. What should I do? 

[python]from importlib import invalidate_c..... More

Print this item

  Are braces rather than indentation ever wanted?
Posted by: michaelcollier - Apr-30-2017, 03:21 PM - Forum: General Coding Help - Replies (22)

I have a small application that can convert indented python3 code into the equivalent code with braces {} and back again to indented python.

Here i..... More

Print this item

  Debate on Python versus VBnet
Posted by: RandoomDude - Apr-30-2017, 01:44 PM - Forum: News and Discussions - Replies (17)

Python and vb.net ...These languages seems to be the popular choices among programmers.What does Python has and not in vb.net and vice versa?

Pytho..... More

Print this item

  Help with if in tkinter
Posted by: JohnNo - Apr-30-2017, 01:40 PM - Forum: General Coding Help - Replies (2)

I need help with if. This code just when you click a button it +1 to a counter and the problem is I need something when the counter reaches 10 5 point..... More

Print this item

  [split] swearing
Posted by: ichabod801 - Apr-30-2017, 10:41 AM - Forum: Board - Replies (18)

Please watch the vulgarity. We try to be a place where parents wouldn't mind their young kids going for help with their programming.

Print this item

  Forgotten Code
Posted by: K0NTR0L - Apr-30-2017, 08:40 AM - Forum: Data Science - Replies (4)

I wrote this code about a year ago and barely understood it then, could someone please break down for me what my code is doing as I am highly confused..... More

Print this item

  Coding Error
Posted by: nikhilrambadi - Apr-30-2017, 05:13 AM - Forum: General Coding Help - Replies (1)

I am trying to create a carver for the JPEG image file which will recover the deleted JPEG files from the disk dump or dd image. But i am new to the p..... More

Print this item

  Clicker game counter help
Posted by: JohnNo - Apr-30-2017, 05:12 AM - Forum: Game Development - Replies (2)

You guys helped me alot, you made my life easy with your help and code. So i ask again. I am trying to create clicker game where you click on some but..... More

Print this item

  variable is not defined
Posted by: hentera - Apr-29-2017, 09:45 PM - Forum: Homework - Replies (16)

It keeps telling me variable "number" is not defined, where am I going wrong? I'm trying to get my program to convert a number to a roman numeral. My ..... More

Print this item

  Standard library code
Posted by: BerryK - Apr-29-2017, 09:36 PM - Forum: General Coding Help - Replies (2)

Hi people,

I was just checking out some code from the standard library from python 3.6.1. This specific piece of code is ftplib.py and is meant to ..... More

Print this item

  Audiovisual resources
Posted by: Hacsa - Apr-29-2017, 09:17 PM - Forum: General Coding Help - Replies (4)

Hi, I'm working on a project and I need to add some audiovisual features.
[color=#333333][font=Arial]What s..... More

Print this item

  the alternate keyboard commands / center command
Posted by: Luke_Drillbrain - Apr-29-2017, 08:07 PM - Forum: GUI - Replies (3)

Good news – I've been working through tkinter tutorials and am learning.  The following code runs, at least it creates a GUI.  

[python]
from tkin..... More

Print this item

  Webscraping a site that uses javascript?
Posted by: bigmit37 - Apr-29-2017, 08:03 PM - Forum: Web Scraping & Web Development - Replies (9)

I'm trying to scrape the stock-tickers of the chart embedded on the right of this page.[..... More

Print this item

  Flappy Bird Game [Pygame]
Posted by: georgecoopers - Apr-29-2017, 07:25 PM - Forum: Code sharing - Replies (2)

Feel free to test and critique my work- it is really appreciated.

Cheers George Cooper


https://github.com/georgecoopers/Flappy-Bird-Remake

Print this item

  Button Help
Posted by: slopz - Apr-29-2017, 03:46 PM - Forum: General Coding Help - Replies (3)

I have created a choice-based game in Python for a project in my AP Computer Science class. It works, for the most part, but I am having trouble getti..... More

Print this item

  Udemy Course
Posted by: ichabod801 - Apr-29-2017, 03:35 PM - Forum: News and Discussions - Replies (1)

Just got a facebook ad for a 21-hour Udemy Python course (80% off! only $29!) teaching 10 real world applications step by step.

Yeah, 126 minutes per..... More

Print this item

  PyQT5: Open QFiledialog in a Dialog which was create in qt designer
Posted by: nieselfriem - Apr-29-2017, 01:10 PM - Forum: GUI - Replies (4)

I create a dilaog in Qt Designer and I use PyQT5. After a selcetion of users and the ouput format, I will open a Filedialog to chouse the Filename and..... More

Print this item

  Adding 1 to number
Posted by: JohnNo - Apr-29-2017, 12:59 PM - Forum: General Coding Help - Replies (5)

I cant find anwser anywhere for this question. I have a number and when i click a button i want that number + 1 and so on so like this. 

[python]
..... More

Print this item

  view count off
Posted by: RandoomDude - Apr-29-2017, 11:22 AM - Forum: Board - Replies (8)

My os is windows 7 ultimate edition 32.my browser is chrome.i dont know which version it is.

it occured when i was browsing my thread.Suddenly a pa..... More

Print this item

  list of US states
Posted by: Skaperen - Apr-29-2017, 08:52 AM - Forum: Bar - Replies (5)

using python tags but this is really json:

[python]["Alabama","Alaska","Arizona","Arkansas","California","Colorado",
  "Connecticut","Delaware","F..... More

Print this item

  colpage.py
Posted by: Skaperen - Apr-29-2017, 06:12 AM - Forum: Code sharing - Replies (19)

colpage.py:

[python]#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_lite..... More

Print this item

  Need Answers
Posted by: 20nick20 - Apr-29-2017, 12:43 AM - Forum: General Coding Help - Replies (6)

Why is it opening the other file but not displaying the buttons before or after the code?
[python]from tkinter import *



master = Tk()
class A..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Another app idea - intera... 2 hours ago decuser Lenowell News and Disc...
  403 Error Yesterday, 20:58 CaptainNewb snippsat Web Scraping ...
  real community Yesterday, 20:16 decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 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...
  Python Installation issue 09-14, 11:16 RFHill Dev News and Disc...
  New to the field 09-14, 08:15 Polybunny Larz60+ News and Disc...
Most views
  The best Prog... 575784
  Tutorial Requ... 497019
  Web Scraping ... 439796
  Newbie with P... 383482
  New Users Int... 365235
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 8174
snippsat 7367
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
Lenowell Today
luisshulez6883 Yesterday
KennedyRichadGuerra Yesterday
Williefaree Yesterday
faithsally Yesterday

User Panel Messages

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