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,926
» Latest member: compuman145
» Forum threads: 38,719
» Forum posts: 175,491

Full Statistics

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

Latest Threads
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
11 hours ago
» Replies: 6
» Views: 812
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 03:32 PM
» Replies: 2
» Views: 508
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Yesterday, 11:25 AM
» Replies: 7
» Views: 1,797
Python Installation issue
Forum: News and Discussions
Last Post: Dev
Yesterday, 11:16 AM
» Replies: 4
» Views: 15,727
New to the field
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 08:15 AM
» Replies: 1
» Views: 409
Too much space between gr...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:34 AM
» Replies: 1
» Views: 479
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
Sep-13-2025, 06:11 AM
» Replies: 5
» Views: 1,550
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Stowersw
Sep-12-2025, 03:23 PM
» Replies: 4
» Views: 2,498
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-12-2025, 11:09 AM
» Replies: 2
» Views: 1,233
Web Scrapper to find prov...
Forum: General Coding Help
Last Post: Olivia
Sep-12-2025, 08:36 AM
» Replies: 1
» Views: 2,439

 
  PyPi 100000
Posted by: snippsat - Mar-04-2017, 09:45 PM - Forum: Web Scraping & Web Development - Replies (2)

It's close Dance
[python]import requests
from bs4 import BeautifulSoup

url = "https://pypi.python.org/pypi"
url_get = requests.get(url)
sou..... More

Print this item

  New iOS token based notification
Posted by: fbartolom - Mar-04-2017, 06:06 PM - Forum: Networking - No Replies

I am trying to implement the new iOS token based notifications and for this I found a tutorial named: "token-based-authentication-http2-example-apns" ..... More

Print this item

  syntax for endswith a digit
Posted by: birdieman - Mar-04-2017, 05:49 PM - Forum: General Coding Help - Replies (2)

in a small loop, I am trying to sum all of the lineEdits (in a PyQt5 GUI) whose objectName endswith a number in a particular frame.  So far, I have th..... More

Print this item

  'string index out of range' error when code replaces characters
Posted by: Ivan - Mar-04-2017, 03:54 PM - Forum: General Coding Help - Replies (1)

[color=#242729][size=small][font=Arial,]This hangman game isn't entirely finished as I'm still working on it, however i came across this error which o..... More

Print this item

  How to fork a process, kill the child and not kill the parent?
Posted by: neXussT - Mar-04-2017, 02:13 PM - Forum: GUI - Replies (3)

This post is getting dark.

I have a small gui with tkinter and python 2.7, where I need to execute shutil.copy2(), which can take some time. Obviou..... More

Print this item

  img tag
Posted by: snippsat - Mar-04-2017, 12:39 PM - Forum: Board - Replies (14)

I can not post anymore in this lin[url=https://python-forum.io/thread-2284.html]..... More

Print this item

  separating different parts of a listbox
Posted by: gray - Mar-04-2017, 08:21 AM - Forum: GUI - Replies (3)

in generally, how can i seprate the different psrts of one item from listbox.
in reality, this item is a row of the listbox. the different parts of a..... More

Print this item

  how to select particular rows data from a array
Posted by: raady07 - Mar-04-2017, 03:32 AM - Forum: Data Science - Replies (3)

I am new programmer to python. 
I have a text file having 360 rows and 190 columns of data. 
In matlab, if I load the text file and x_data will be var..... More

Print this item

  I can't turtle, don't know why
Posted by: BillGates - Mar-04-2017, 02:45 AM - Forum: General Coding Help - Replies (3)

Total scrub here. Need help debugging this basic turtle program. It doesn't generate an image when I run it in Spyder.
Program in Question: 

impor..... More

Print this item

  How to exit after a try exception?
Posted by: Raptor88 - Mar-04-2017, 01:15 AM - Forum: General Coding Help - Replies (11)

I've read so much about try and exception but none tell how to exit the program gracefully and not continue the rest of the code.  For example:

[py..... More

Print this item

  Testing homemade encryption program in python
Posted by: LEJONKINGEN - Mar-04-2017, 12:41 AM - Forum: General Coding Help - Replies (1)

[color=#222222][font=verdana, arial, helvetica, sans-serif]Hi, I´ve made three homemade encryption-programs using python. I´m wondering if anyone coul..... More

Print this item

  list comprehension of tuples
Posted by: bluefrog - Mar-03-2017, 10:52 PM - Forum: General Coding Help - Replies (2)

Hi

Is it possible to have a list comprehension so that I can end up with the following result:
[code]file_word_list=[('f1',[('you',0.4),('jump',0...... More

Print this item

  pandas dataframe next rows value
Posted by: metalray - Mar-03-2017, 06:05 PM - Forum: Homework - Replies (2)

Dear Python Experts,
I am looking and Daniel Breen´s project* about housing prices and GDP in the US.
I noticed about half way through In [37] he is..... More

Print this item

  News Gathering - String Manipulation Help
Posted by: delfar - Mar-03-2017, 05:56 PM - Forum: Web Scraping & Web Development - Replies (8)

[size=medium][size=large]Hello, I am working on a program that will go to specified news sites, and read through the HTML, picking out all of the "hre..... More

Print this item

  JSON file with links for each US state Open Data Page
Posted by: Larz60+ - Mar-03-2017, 11:23 AM - Forum: Code sharing - Replies (5)

Hello,

I have created a Json file that has links to the Open Data site for each US State.
It also has a few cities and departments and I will be a..... More

Print this item

  How to clear the screen of glitched rectangles?
Posted by: user294869 - Mar-03-2017, 08:18 AM - Forum: General Coding Help - Replies (1)

I'm coding a program that captures a section of the screen as an image by drawing a rectangle with cursor, yet the process creates glitched rectangles..... More

Print this item

  Automatically read copied text from keyboard shortcuts
Posted by: Ambidexter2017 - Mar-03-2017, 06:47 AM - Forum: General Coding Help - Replies (10)

Hi All, 

Need some help in writing a python script. Currently am using windows, below is the problem description 

If i select a text and copy it..... More

Print this item

  Is this fast for Paramiko?
Posted by: gohanzdad - Mar-03-2017, 01:28 AM - Forum: Networking - Replies (3)

I have a script I'm using at work to pull firewall ACL's.  I'm using the Paramiko module, but I feel like it might be taking longer then it should.  I..... More

Print this item

  string index out of range
Posted by: cusick11 - Mar-03-2017, 12:47 AM - Forum: Homework - Replies (9)

Okay so I'm having trouble finding my problem I know the line of code that Idle is telling me that needs corrected is not the problem, but I can't see..... More

Print this item

  Removing characters from columns in data frame
Posted by: kiton - Mar-02-2017, 10:19 PM - Forum: Data Science - Replies (15)

Hi! So, I came up with the following code to extract Twitter data from JSON and create a data frame with several columns:

[python]
# Import libraries..... More

Print this item

  Functions (Arguments Passing,Changing a mutable ,Assignment to Arguments Names)
Posted by: Adelton - Mar-02-2017, 09:02 PM - Forum: General Coding Help - Replies (2)

Hi there ,

I am a newbie to programming and I am learning user defined functions.I am having particular difficulty with the functions below which r..... More

Print this item

  what is this error
Posted by: sajley - Mar-02-2017, 08:08 PM - Forum: General Coding Help - Replies (15)

hello guys

what is this error , installing pyside

---  See Picture  
http://www.mediafire.com/view/g5dojvwi38...apture.JPG


[img]http:/..... More

Print this item

  Troubble creating loops in PyQt
Posted by: LavaCreeperKing - Mar-02-2017, 08:05 PM - Forum: General Coding Help - No Replies

Below is two examples of code. They are both the same except one has a pygame window open in it.
[python]from PyQt4 import QtCore, QtGui
import sys..... More

Print this item

  dnspython update dns record issue
Posted by: stamnik - Mar-02-2017, 06:14 PM - Forum: General Coding Help - Replies (1)

[color=#242729][size=small][font=Arial,]

[size=small]I'm trying to use dnspython to do a TSIG based dynamic DNS update.
I've followed the example ..... More

Print this item

  My first code
Posted by: Flappo - Mar-02-2017, 04:57 PM - Forum: General Coding Help - Replies (6)

My first code I've ever made in python doesn't work and I don't know why. Please can you help me solve the issue.
Code:


[python]age = 10;
if ag..... More

Print this item

  Need help understanding return statement
Posted by: python_lover - Mar-02-2017, 04:55 PM - Forum: General Coding Help - Replies (4)

Hi Guys,

Am new to Python, came across a strange looking piece of code as below....

I checked and it works but I am not understanding the return..... More

Print this item

  Encapsulation issue
Posted by: iFunKtion - Mar-02-2017, 04:04 PM - Forum: General Coding Help - Replies (4)

Hi there,

I am building a GUI application that has multiple windows and I am having difficulty passing data between them all cleanly. Each window i..... More

Print this item

  2D array element Calculation
Posted by: poonck1 - Mar-02-2017, 03:32 PM - Forum: Homework - Replies (1)

I have an array to do some calculation for each element, which looks like this:

a = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
My expe..... More

Print this item

  ALMA pyconv : converter for ALMA Python syntax
Posted by: teanarancs - Mar-02-2017, 02:34 PM - Forum: Code sharing - Replies (1)

This is my project named ALMA pyconv. It is a converter for Python 2 source files written in ALMA Python syntax. I developed it for myself but I also ..... More

Print this item

  [Error 2] running from cmd win 10 fresh install
Posted by: thesuperchimp - Mar-02-2017, 12:48 PM - Forum: General Coding Help - Replies (3)

Hi there and thank you for looking. I am very much a novice and believe Python would be an ideal language to start with due to the simplicity of the s..... More

Print this item

  thousands separator format on df column
Posted by: metalray - Mar-02-2017, 11:20 AM - Forum: Homework - Replies (2)

Dear Python Experts,
 
I an trying to convert my PopEst column so a thousands separator gets added.
 
[python]
def thirteen():
    Top15 = answe..... More

Print this item

  PyGtk3 why is Locale Folder Size Half of Module Size ?
Posted by: harun2525 - Mar-02-2017, 09:50 AM - Forum: GUI - Replies (1)

hello i was searhing for big folder size in pygtk3 module directory and i find locale folder  (39 mb) but all pygtk3 folder and files are 69 mb this f..... More

Print this item

  Special Udemy Discount for You
Posted by: corry - Mar-02-2017, 06:05 AM - Forum: News and Discussions - Replies (2)

Learn Basics of Python like a Baby
$10 - 50% discount, grab today.
If someone is interested...

Print this item

  Issue on text decoding and encoding problem
Posted by: desul - Mar-02-2017, 05:06 AM - Forum: General Coding Help - Replies (1)

HELLO, 

while reading data from the text it is not reading properly as it. Please tell me how can solve it ...

[python]sentences = nltk.sent_tok..... More

Print this item

  Error "an integer is required" in getpass.getuser().
Posted by: Nirelg - Mar-02-2017, 02:02 AM - Forum: General Coding Help - Replies (5)

Hi all,

I am trying to write a simple "Keylogger" code using python.
I am really on the beginning of the code, yet I found a weird error.
my code..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Select Python comment (#)... 11 hours ago SpongeB0B Pedroski55 General Codin...
  data input while debuggin... Yesterday, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame Yesterday, 11:25 JMcM JMcM Game Developm...
  Python Installation issue Yesterday, 11:16 RFHill Dev News and Disc...
  New to the field Yesterday, 08:15 Polybunny Larz60+ News and Disc...
  [Tkinter] Too much space ... Yesterday, 02:34 RonR deanhystad GUI
  I'm trying to make a piec... 09-13, 06:11 Alislugacool MilesWeb General Codin...
  Seeking feedback: dynamic... 09-12, 15:23 Bona2000 Stowersw General Codin...
  Python and excel vba codi... 09-12, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... 09-12, 08:36 physalis2099 Olivia General Codin...
  403 Error 09-11, 20:39 CaptainNewb snippsat Web Scraping ...
Most views
  The best Prog... 575656
  Tutorial Requ... 496760
  Web Scraping ... 439710
  Newbie with P... 383351
  New Users Int... 364634
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 7366
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
compuman145 Today
DeadEyes Today
Fobertsmene Yesterday
jeremyn24503 Yesterday
homataheri Yesterday

User Panel Messages

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