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,304
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,905

Full Statistics

Online Users
There are currently 50 online users.
» 0 Member(s) | 47 Guest(s)
Bing, Google, AOL

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 3
» Views: 81
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 4
» Views: 139
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
10 hours ago
» Replies: 8
» Views: 660
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,809
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 136
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 121
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 206
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,214
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 314
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 204

 
  Question about for loop not creating an infinite loop.
Posted by: FWendeburg - Feb-03-2019, 07:26 PM - Forum: General Coding Help - Replies (1)

Hi, I'm new to programming with python and I completed one of the exercises of the book I use to learn but I don't understand why this code doesn't ma..... More

Print this item

  Arduino Read Update Datetime from Python
Posted by: jambuna35 - Feb-03-2019, 05:13 PM - Forum: General Coding Help - No Replies

I am learning Python new and i want send to date and time but i have some problem.
When i write to input method something, i can send to my message.B..... More

Print this item

  How can get url from JavaScript in Selenium (Python 3)?
Posted by: m0ntecr1st0 - Feb-03-2019, 05:06 PM - Forum: Web Scraping & Web Development - Replies (3)

I write parser for https://www.oddsportal.com

See this url - https://www.oddsportal.com/soccer/englan...d-nNNqedbR..... More

Print this item

  Interview task
Posted by: khazi - Feb-03-2019, 04:02 PM - Forum: General Coding Help - Replies (2)

Hello Folks,

Recently i got a python assessment task from a company. Though the code was right but unfortunately i was not selected for the next r..... More

Print this item

  Kivy - OpenCollective - [Announcement] Kivy funding.
Posted by: buran - Feb-03-2019, 04:02 PM - Forum: News and Discussions - No Replies

[Announcement] Kivy funding.

[quote]We have set up an OpenColl..... More

Print this item

  I can't use file __init__ to store shared variables and classes in the package
Posted by: AlekseyPython - Feb-03-2019, 01:44 PM - Forum: General Coding Help - Replies (2)

I placed global variables in file __init__ for each package. Now I get an error when I try to access these attributes:
[error]AttributeError: 'method..... More

Print this item

  loop within loop confusion
Posted by: anfaenger - Feb-03-2019, 12:46 PM - Forum: General Coding Help - Replies (3)

I'm trying out nested loops. I included the error message I get at the end. I simply cannot see how indentation is inconsistent. Please help

[pytho..... More

Print this item

  Can not get quiz game to work
Posted by: funkymonkey123 - Feb-03-2019, 11:24 AM - Forum: General Coding Help - Replies (3)

I tried to make a quiz game but one question does not work. it will say well done even if you got it incorrect here is a bit of the code i used on pyt..... More

Print this item

  The code seems correct but my files aren't getting deleted
Posted by: taffylim69 - Feb-03-2019, 10:20 AM - Forum: General Coding Help - Replies (1)

I heard that python can make life easier, I wanted to remove duplicates in folderA by comparing folderB with folderA, so I decided to download python ..... More

Print this item

  Twitter authentication failure with Tweepy
Posted by: HSB - Feb-03-2019, 08:13 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

I am encountering a rather weird problem when authenticating my app with Twitter using Tweepy. Below code works like a charm on my Mac, but it..... More

Print this item

  Using Pandas to save csv file into mysql database with for loop
Posted by: kirito85 - Feb-03-2019, 07:40 AM - Forum: Homework - Replies (4)

Hi All,

My python code is not working in the 'for' loop.

I am trying to save all the data from csv file to mysql database and want to save every..... More

Print this item

  Question about eBay Oauth2.0 API
Posted by: Gutman - Feb-03-2019, 07:18 AM - Forum: General Coding Help - No Replies

Here I have a problem when trying to Request eBay API
I'm Using Requests SDK to request the API, like

headers={'Authorization':'my token'}
reponse=re..... More

Print this item

  Numpy Quick start Tutorial
Posted by: leodavinci1990 - Feb-03-2019, 02:21 AM - Forum: Data Science - Replies (1)

Please look at text below which is from the NumPy tutorial. Shouldn't it say that the 1st axes have a length of 3 since it has 3 elements instead of 2..... More

Print this item

  Rustic Python
Posted by: ichabod801 - Feb-03-2019, 02:04 AM - Forum: News and Discussions - No Replies

Someone wrote a Python interpreter in Rust. There is a r/py[url=https://python-forum.io/thread-15843.html]..... More

Print this item

  Get multiple values from function and total it.
Posted by: nirlep - Feb-03-2019, 12:48 AM - Forum: General Coding Help - Replies (5)

I have created a python program that is an ordering system in a resturant. The resturant has scheme of if any customer buys 4 pizzas, gets 1 drink for..... More

Print this item

  replace bytes with other byte or bytes
Posted by: BigOldArt - Feb-02-2019, 10:23 PM - Forum: General Coding Help - Replies (1)

Am trying to replace all occurrences of bytes with other byte or bytes.
In the variable myvalue I want to replace badstuff with goodstuff every time ..... More

Print this item

  Correlation Matrix Problem
Posted by: Pmllz - Feb-02-2019, 10:19 PM - Forum: General Coding Help - No Replies

Alright, so I have a bunch of data from elections, one of the questions was to break the data down by state and look at the racial demographics (perce..... More

Print this item

  Using QAbstractListModel for mutual element exlusion
Posted by: Atalanttore - Feb-02-2019, 08:23 PM - Forum: GUI - No Replies

Hi

I try to use a QAbstractListModel for creating two color models (background_col..... More

Print this item

  Book exercise in lists
Posted by: sonedap - Feb-02-2019, 06:19 PM - Forum: Homework - Replies (17)

My university book has lots of exercises to practice and i found this one which wants to make a list with lists and then find sum of each list.
As ex..... More

Print this item

  breaking even if conditions is not met
Posted by: Naito - Feb-02-2019, 04:29 PM - Forum: General Coding Help - Replies (5)

hello, i am making a tic tac toe game for learning purposes
[python]def win():
global gameover
gameover = False
if first is True:
..... More

Print this item

  printing maxd = sr.iloc[:1, 1:2]
Posted by: gehrenfeld - Feb-02-2019, 03:37 PM - Forum: General Coding Help - Replies (3)

maxd = sr.iloc[:1, 1:2]
print(maxd)
                    rdate
11623 2019-01-19 07:36:00
All I want to print is 2019-01-19. ..... More

Print this item

  Do objects get their own copy of the class methods?
Posted by: Charles1 - Feb-02-2019, 03:16 PM - Forum: General Coding Help - Replies (1)

Hi,

Platform: Windows 10
Python version: 3.7

I came across a video on YouTube which suggested that objects

in Python get their own copies of the c..... More

Print this item

  Selection based of variables issue
Posted by: nikos - Feb-02-2019, 01:57 PM - Forum: General Coding Help - Replies (14)

[python]
name = request.args.get('name')
month = request.args.get('month')
year = request.args.get('year')

try:
..... More

Print this item

  Backtrading
Posted by: ambush - Feb-02-2019, 01:47 PM - Forum: General Coding Help - Replies (1)

Hi Friends

Recently, I am working with backtrader module.Right now I am getting started with it and have a task of building a custom indicator wit..... More

Print this item

  Display and update the label text which display the serial value
Posted by: jenkins43 - Feb-02-2019, 11:22 AM - Forum: GUI - Replies (5)

Hi, With help of mentioned below code I have been able to get the result mentioned in below
[python]import serial

ard = serial.Serial('COM4', 9600..... More

Print this item

  Help to find a command
Posted by: andre_fermart - Feb-02-2019, 08:06 AM - Forum: General Coding Help - Replies (10)

Hi everyone,
I am new in coding and struggling to to find a way for the following.
Can someone help me with some commands (I will study it in detail..... More

Print this item

  Download data from webpage after POST request
Posted by: AlDe - Feb-02-2019, 06:26 AM - Forum: General Coding Help - No Replies

Hi,

I new to Python, and am trying to automate data download from a webpage.
The website (https://hirds.niwa.co.nz/search) needs a set of coordin..... More

Print this item

  What are ways of pointing cross-compiled origin source line for python?
Posted by: wyvogew - Feb-02-2019, 05:18 AM - Forum: General Coding Help - Replies (2)

I'm considering using Python as compiler backend (target). The problem I see is that there is no standard way to "tell" interpreter about origin line ..... More

Print this item

  error creating new object after loading pickled objects from file
Posted by: arogers - Feb-02-2019, 03:32 AM - Forum: General Coding Help - Replies (2)

Hi All,

I am brand new to Python and am having good success so far, but I am stuck. I created a class and a Tkinter form to accept input and add ob..... More

Print this item

  Matrix
Posted by: Helmi - Feb-02-2019, 03:02 AM - Forum: General Coding Help - Replies (7)

Hi,
How to check if all elements of a matrix have the same value? How to do it without numpy and other similar extras?
Thank you!

Print this item

  how many bytes in a file before zero padding
Posted by: Skaperen - Feb-02-2019, 02:07 AM - Forum: General Coding Help - Replies (4)

i have a bunch (2823) of large files typically around 4GB in size but none larger than 2**33-1 (8589934591) bytes in size. these files have typically..... More

Print this item

  Displaying ComboBoxDialog Widget in a Class
Posted by: Vicolas - Feb-02-2019, 12:22 AM - Forum: GUI - Replies (3)

[python]
from tkinter import *
import Pmw

class Combobox:
def __init__(self):
self.root = Tk()
self.root.title('ComboBoxDi..... More

Print this item

  Clicking a RadioButton in a for Loop & Getting the Appropriate Return
Posted by: Vicolas - Feb-02-2019, 12:08 AM - Forum: GUI - Replies (1)

[python]
from tkinter import *
root = Tk()
root.title('Register')

def status():
word = varr.get()
gender = var.get()
if gender ==..... More

Print this item

  Catching exceptions in embedded code no longer works on 3.7.2?
Posted by: FFMG - Feb-01-2019, 08:42 PM - Forum: General Coding Help - Replies (5)

In an older project of mine I used to catch exceptions in the code by doing ...

[python]
// simplified code ...
PyObject * PyRes = PyRun_String( ..... More

Print this item

  Script to do the following
Posted by: timc - Feb-01-2019, 08:17 PM - Forum: General Coding Help - No Replies

Hi,

I would like a py script that does this by reading TFS (MS Team Foundation Server) and

Reads the incoming email (xyz@ABC.com) address and i..... 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 is not working on ... 4 hours ago lary_p noisefloor General Codin...
  Help with Serial.write in... 10 hours ago racingsubby Larz60+ General Codin...
  Can I develop a live vide... Yesterday, 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...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
Most views
  The best Prog... 579446
  Tutorial Requ... 512578
  Web Scraping ... 442318
  Newbie with P... 386371
  New Users Int... 380626
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 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday

User Panel Messages

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