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,311
» Latest member: StepanVoronin
» Forum threads: 38,801
» Forum posts: 175,923

Full Statistics

Online Users
There are currently 32 online users.
» 1 Member(s) | 28 Guest(s)
Google, Bing, AOL, deanhystad

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 11
» Views: 306
Python compiler
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 1
» Views: 71
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
Yesterday, 07:34 PM
» Replies: 5
» Views: 91
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
Yesterday, 05:51 PM
» Replies: 0
» Views: 50
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 07:39 AM
» Replies: 3
» Views: 11,120
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 204
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 730
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,837
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 210
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 165

 
  Problems converting pyqt4 script to pyqt5 using pyqt4topyqt5.py
Posted by: Vysero - Jul-18-2018, 06:11 PM - Forum: General Coding Help - Replies (1)

I am attempting to us a script I found on GitHub called pyqt4topyqt5.py: https://github.com/rferrazz/pyqt4topyqt5

The README says:

pyqt4topyqt5..... More

Print this item

  edX "List_o_matic" Program Help
Posted by: sarah_mb_sues - Jul-18-2018, 03:42 PM - Forum: General Coding Help - Replies (2)

Hello,

I have been setting up my code for the "list_o_matic" program for the Module 2 Required Coding assignment, but for some reason I can't the c..... More

Print this item

  Super simple import doesn't work. Please help!
Posted by: Mustey - Jul-18-2018, 02:53 PM - Forum: Web Scraping & Web Development - Replies (9)

(Python 3.6.5)
I've searched this forum and google as well. Lot's of seemingly related problems but nothing really quite like mine.
My problem is ea..... More

Print this item

  reversing a string
Posted by: kerzol81 - Jul-18-2018, 02:32 PM - Forum: Homework - Replies (3)

Hello,

I was given a homework, the output should look like this:

W
Wo
Wor
Worl
World
World
World H
World He
World Hel
World Hell
Worl..... More

Print this item

  Multiple input box in a webpage have same XPATH
Posted by: sumandas89 - Jul-18-2018, 01:24 PM - Forum: Web Scraping & Web Development - Replies (3)

I am crawling in a webpage which have two input box in two different tabs inside the page. But the problem is that class name, id name is same for bot..... More

Print this item

  Help send email by Python using smtplib
Posted by: hangme - Jul-18-2018, 12:48 PM - Forum: Networking - Replies (6)

I tried using the example code as below:

Quote:smtp_senddata.py
[python]import smtplib
import email.utils
from email.mime.text import MIM..... More

Print this item

  disable/enable button | stopwatch proj
Posted by: robertofreemano - Jul-18-2018, 10:11 AM - Forum: GUI - Replies (1)

Hi,
I'm a Python noob, trying to learn by creating a project (which is how I learn best)... I'm struggling to enable/disable these buttons (see code s..... More

Print this item

  How can I send error message to slack using webhook url in Python?
Posted by: PrateekG - Jul-18-2018, 08:23 AM - Forum: General Coding Help - Replies (2)

Hi All,

I have several Python functions. In case of any error I want to send the error message to slack. For this I have added below line of code i..... More

Print this item

  Uploading multiple pdfs to Flask ( Sql alchmey) with additional variables
Posted by: KirkmanJ - Jul-18-2018, 08:19 AM - Forum: Web Scraping & Web Development - Replies (10)

i have tried to explain this in a helpful clean way but it is quite long, so get snacks before starting ( id recommend jelly babies for that energy bu..... More

Print this item

  How to deal with more than 1 input in a line
Posted by: mmaz67 - Jul-18-2018, 06:36 AM - Forum: General Coding Help - Replies (1)

Hi, can i know how to deal with line that sometimes have 1 input but sometimes have more. Is there any hint on what can i used to deal with this. I ha..... More

Print this item

  keypad loops/subroutine help
Posted by: arbrunso - Jul-18-2018, 05:29 AM - Forum: General Coding Help - Replies (1)

Hey there, I am stuck on some code I am working on. I am pretty new to coding and this is my first project with Python so i'm sure this chunk of code ..... More

Print this item

  Equivalent in List, of the "len(string)"
Posted by: sylas - Jul-18-2018, 05:23 AM - Forum: General Coding Help - Replies (4)

Hi all! Which is the keyword that makes python count the number of items in a List ??

Print this item

  I need help finding an error in this code I have
Posted by: Tacnoblode - Jul-18-2018, 03:08 AM - Forum: General Coding Help - Replies (1)

Hello! Recently I have been modifying the source of Toontown: Stride to make my own modifications. I have used a file called Suit.PY. With my most rec..... More

Print this item

  taking bad listbox items after lowering it to 1 item
Posted by: deadmarshal - Jul-17-2018, 10:25 PM - Forum: GUI - Replies (3)

Hi. when user searches the db by typing in Entrybox widget, the list lowers down to that item only, but the whole listbox doesn't come back again when..... More

Print this item

  Error Handling/No results from SQL Query
Posted by: JP_ROMANO - Jul-17-2018, 08:18 PM - Forum: General Coding Help - Replies (7)

Hello - I have what I would think should be a fairly simple problem, but I just cannot get it to work. The app I'm building is pretty straightforward..... More

Print this item

  Even/Odd permutation
Posted by: braankoo - Jul-17-2018, 06:00 PM - Forum: General Coding Help - Replies (9)

Hi,

can somebody please help me how to write function for checking is permutation odd or even.
Here is example of even permutation: [0,3,2,4,5,6,7..... More

Print this item

  Lead Developer at Back Market
Posted by: djangojobs.net - Jul-17-2018, 05:50 PM - Forum: Jobs - Replies (1)

Lead Developer at Back Market

www.djangojobs.net/jobs/781/lead-developer-back-market/

Working at Back Market is an everyday mission, challenging and..... More

Print this item

  Python, Tkinter, can only view partial GUI when called from another window
Posted by: Philia - Jul-17-2018, 05:29 PM - Forum: GUI - Replies (1)

This is the GUI code which is actually run from another file. It calls two other Python files and executes a function from those files. The files are ..... More

Print this item

  Python output into .txt or .csv file
Posted by: stanthaman42 - Jul-17-2018, 04:32 PM - Forum: General Coding Help - Replies (3)

My current Code is below. I am attempting to take my outputs from this code and place it into a .txt or .csv file.
When I run this, I am getting the..... More

Print this item

  [easy] If, and.
Posted by: Henry26 - Jul-17-2018, 02:07 PM - Forum: General Coding Help - Replies (5)

Hello everyone,

I'm a new user of Python and I'm learning from the beginning.
I'm trying to make a code that ask for three numbers and show the bi..... More

Print this item

  executing a line depending on the input
Posted by: PierreSoulier - Jul-17-2018, 01:47 PM - Forum: General Coding Help - Replies (4)

Hello!

I wanted to know if it is possible to create a command on Python based on the input.

In the program I ask the user to choose a number between..... More

Print this item

  if, else, del issue
Posted by: elliottmoore1 - Jul-17-2018, 01:19 PM - Forum: General Coding Help - Replies (2)

I have written If Else code which is suppose to only delete the item from the dictionary I have created if I enter 'y'. If I press 'n' the item is sti..... More

Print this item

  clean up list elements and replace
Posted by: metalray - Jul-17-2018, 12:03 PM - Forum: General Coding Help - Replies (7)

Dear Python Experts,

I am looking for a loop that goes through my elements in the list and removes
the comma , and ' ' signs. All other strings sh..... More

Print this item

  Data Validation script in python
Posted by: Tulsi - Jul-17-2018, 11:16 AM - Forum: General Coding Help - Replies (1)

Hello Techie,

may someone please help me how to do Data validation automation using Python.
my source is SQL SERVER and Target is SNOWFLAKE. i am ..... More

Print this item

  stopwatch output to txt file
Posted by: robertofreemano - Jul-17-2018, 10:29 AM - Forum: General Coding Help - Replies (6)

Hi,

I'm a Python NOOB and I have an idea of that I'm trying to do but struggling to achieve end goal. I've found code (online - can't find the URL ..... More

Print this item

  Meeting Room Booking
Posted by: r7rajkumar - Jul-17-2018, 10:11 AM - Forum: General Coding Help - Replies (1)

Hi,

I am trying to book/Cancel meeting room (Exchange)using python. I have tried the exchangelib but it dosent work for me. kindly suggest that any..... More

Print this item

  Recommendation after running regression (approach)
Posted by: danishzmalik - Jul-17-2018, 09:31 AM - Forum: General Coding Help - No Replies

Hey all,

Im new to python and data science.

Ive generated a regression model using sklearns LinearRegression().

i.e LinearRegression(Train_fe..... More

Print this item

  if else condition issue
Posted by: mmaz67 - Jul-17-2018, 08:51 AM - Forum: General Coding Help - Replies (4)

Hi, I am currently working in extracting input output and assign from few text files. However, not all text file having the same content.

Example f..... More

Print this item

  Tic-Tac-Toe
Posted by: juliabrushett - Jul-17-2018, 07:57 AM - Forum: Homework - Replies (7)

Hello!

I am trying to make a Tic-Tac-Toe game, and I am having trouble with the 'X' and 'O' characters showing up in my program. My code is below:..... More

Print this item

  Automated Emailer (Using Selenium)
Posted by: StoopidChicken - Jul-17-2018, 07:20 AM - Forum: Web Scraping & Web Development - No Replies

Hi all. I just finished writing a web crawler which sends emails through gmail. It's one of my first GUI based programs that almost resembles a finish..... More

Print this item

  How can I get last modified time of a file in ftp?
Posted by: PrateekG - Jul-17-2018, 04:45 AM - Forum: Networking - Replies (1)

Hi All,

There are some files put in a ftp location.
I am able to connect, see the files and download in local successfully with below code written in..... More

Print this item

  [split] SyntaxError with def
Posted by: Ramuk8942 - Jul-17-2018, 04:33 AM - Forum: General Coding Help - Replies (1)

How to create variable def
Def list(4) syntax error how to get it to.

Print this item

  average word length
Posted by: syn09001 - Jul-17-2018, 03:41 AM - Forum: General Coding Help - Replies (6)

Trying to write a simple program that calculates the average length of words used in a sentence. My issue is that the spaces are taken into an account..... More

Print this item

  How to detect and tell user that no matches were found in a list
Posted by: RedSkeleton007 - Jul-17-2018, 03:36 AM - Forum: General Coding Help - Replies (6)

It's one thing to tell someone we have reached the end of a list, but how do we tell the user if no matches were found?

[python]
#!/usr/bin/env py..... More

Print this item

  Watermarks using Pillow
Posted by: Tomallama - Jul-17-2018, 02:19 AM - Forum: General Coding Help - No Replies

Hey guys, I've been stuck on trying to place watermarks on a bunch of different sized images using Pillow. I can't get them to line up correctly and t..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 4 hours ago Lou noisefloor General Codin...
  Python compiler 4 hours ago NeoQuant noisefloor General Codin...
  Trading Risk management s... Yesterday, 19:34 NeoQuant NeoQuant Code sharing
  Standard template Data En... Yesterday, 17:51 Hosthubac Hosthubac Code Review
  Python Online Compiler Yesterday, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... 11-28, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... 11-28, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
Most views
  The best Prog... 579509
  Tutorial Requ... 512937
  Web Scraping ... 442375
  Newbie with P... 386401
  New Users Int... 381777
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+ 12113
buran 8196
snippsat 7394
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
StepanVoronin Today
QABOB Today
adityaN Today
NeoQuant Yesterday
Hosthubac Yesterday

User Panel Messages

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