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,969
» Latest member: samuelshlzeo7159
» Forum threads: 38,730
» Forum posts: 175,551

Full Statistics

Online Users
There are currently 49 online users.
» 1 Member(s) | 37 Guest(s)
Applebot, Bing, Google, Mojeek, Facebook, AOL, AOL, Gribouillis

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: Pedroski55
5 hours ago
» Replies: 7
» Views: 387
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Yesterday, 06:39 PM
» Replies: 7
» Views: 2,802
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 665
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,200
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,765
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Sep-27-2025, 03:54 AM
» Replies: 3
» Views: 656
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,153
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,132
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,424
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,975

 
  With SplashRequest to run javascript onclick function to render page properly
Posted by: don - Feb-04-2019, 03:29 AM - Forum: General Coding Help - No Replies

Hello,
I need to call javascript function with my SplashRequest.
This javascript I need to execute before page is render
[icode]<a href="#" onclic..... More

Print this item

  Replace characters from file in Python 2.7
Posted by: melmouja - Feb-03-2019, 09:54 PM - Forum: General Coding Help - Replies (2)

Hello

I can't replace more strings from file, i use two ways:

  • function lambda
  • expr regulier

[python]

#! /bin/python
import re
..... More

Print this item

  Pearsonr Help
Posted by: Pmllz - Feb-03-2019, 08:16 PM - Forum: Data Science - No Replies

I am trying to get the p-values across an eentire data set, I want the y-value to reference the values in a column called 'Republican Relative Votes 0..... More

Print this item

  Flask assertion error
Posted by: mebaysan - Feb-03-2019, 07:43 PM - Forum: Web Scraping & Web Development - Replies (1)

Traceback (most recent call last):
File "blog.py", line 118, in <module>
@login_required
File "/usr/local/lib/python3.6/dist-packages/flask..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 5 hours ago tester_V Pedroski55 General Codin...
  Select Python comment (#)... Yesterday, 18:39 SpongeB0B tester_V General Codin...
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... 09-27, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
Most views
  The best Prog... 577288
  Tutorial Requ... 500450
  Web Scraping ... 440966
  Newbie with P... 384997
  New Users Int... 369400
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+ 12089
buran 8176
snippsat 7369
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
samuelshlzeo7159 Today
Seu12Jorge Yesterday
seomelbourneaustralia Yesterday
Jacobjoift Yesterday
zalexstolzeoz5360 Yesterday

User Panel Messages

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