Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,397
» Latest member: JulioLet
» Forum threads: 38,823
» Forum posts: 176,027

Full Statistics

Online Users
There are currently 30 online users.
» 0 Member(s) | 24 Guest(s)
Bing, Google, Internet Archive, AOL, Mojeek, DuckDuckGo

Latest Threads
Merge video with subtitle...
Forum: General Coding Help
Last Post: Biks
1 hour ago
» Replies: 27
» Views: 15,504
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 125
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,602
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 200
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,615
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 173
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 327
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,127
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,986
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 197

 
  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

  what is a magnet link
Posted by: Larz60+ - Mar-01-2017, 07:43 PM - Forum: Bar - Replies (12)

Ok, this has nothing to do with python (yet) but if I can get what's behind it it will
Can anyone explain what a magnet link is, and how it differs f..... More

Print this item

  Single User Dungeon
Posted by: kython - Mar-01-2017, 04:35 PM - Forum: Homework - Replies (2)

[size=small]Alright, so I am a total beginner at Python and I'm working on a project that should look something like this (with italic text being user..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Merge video with subtitle... 1 hour ago Pavel_47 Biks General Codin...
  Opencv findContours Q Yesterday, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
Most views
  The best Prog... 580445
  Tutorial Requ... 519769
  Web Scraping ... 442789
  Newbie with P... 386996
  New Users Int... 386660
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
JulioLet Today
aellatsz9602 Yesterday
cruisesfares Yesterday
azam Yesterday
zcharlesoogleto9533 Yesterday

User Panel Messages

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