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

Full Statistics

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

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

 
  Python 3/selenium - nontype error
Posted by: water_fox - Jun-28-2018, 06:45 PM - Forum: Web Scraping & Web Development - Replies (2)

hopefully someone can help me understand why I am getting the below error --


with this code:

from selenium import webdriver
from selenium.web..... More

Print this item

  Calculator problem
Posted by: BeginnerCoderPaero - Jun-28-2018, 06:03 PM - Forum: General Coding Help - Replies (4)

So im trying to code a calculator and it doesnt work i cant figure out whats the problem with the code. The problem especially come with dividing sinc..... More

Print this item

  Permutation help.
Posted by: jarrod0987 - Jun-28-2018, 04:35 PM - Forum: General Coding Help - Replies (1)

What I have is a list of lists. Something like this:

[[1][4][2][3, 6][4][1]]
what I want back is something like:
[python][1][4][..... More

Print this item

Question DHT11 Sensor Programming
Posted by: bmakloski - Jun-28-2018, 03:15 PM - Forum: General Coding Help - Replies (3)

Might be a better question for a Raspberry Pi forum, but I figured I'd go right to the source. I am building a temperature sensor and using python to ..... More

Print this item

  need help with ultrasonic sensor code
Posted by: mpmm366 - Jun-28-2018, 01:34 PM - Forum: General Coding Help - Replies (6)

Hello guys. On my raspberry pi I have a hc-sr04 ultrasonic sensor, now I want to run a sh script, when the sensor measurement is below 10cm. Here is m..... More

Print this item

  how to make my product description fetching function generic?
Posted by: PrateekG - Jun-28-2018, 09:05 AM - Forum: Web Scraping & Web Development - Replies (10)

Hi All,

I am fetching product description(with html tags) from a site using BeautifulSoup+Python3.6.

My code is as below-

[python]def get_sou..... More

Print this item

  Python Selenium
Posted by: Spartan117 - Jun-28-2018, 08:54 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi everyone,

I need your help for a strange problem.
I am using Selenium library and I have problem with this instruction:
[color=#27AE60]dri..... More

Print this item

  Python, While loop & lists
Posted by: jaki - Jun-28-2018, 06:48 AM - Forum: Homework - Replies (1)

Hello everyone,
I have a homework assignment where we are supposed to make a basic arithmetics calculator using:
• Lists
• Built-in functions incl..... More

Print this item

  Python 3.7 and also Python3.6.6 released
Posted by: buran - Jun-28-2018, 04:52 AM - Forum: News and Discussions - No Replies

Python 3.7 released.
https://www.python.org/downloads/release/python-370/

Also Python 3.6.6
https://www.python.org/downloads/release/python-366/

Print this item

  Cross-validation: evaluating estimator performance
Posted by: Grin - Jun-27-2018, 11:24 PM - Forum: Homework - Replies (1)

I'm trying to understand Cross-validation.

Very simply if I want to test tr..... More

Print this item

  too many values to unpack error
Posted by: fyec - Jun-27-2018, 11:02 PM - Forum: General Coding Help - Replies (1)

I am trying to solve 'too many values to unpack' error.
This code tries to print month name according to leap years and numbers of ends of the months..... More

Print this item

  Subprocess.send_signal, wait until completion
Posted by: plinio - Jun-27-2018, 10:27 PM - Forum: General Coding Help - Replies (5)

Hello,

I have a subprocess running named proc and need to send it a USR1 signal. To do that, I'm using proc.send_signal(signal.SIGUSR1). The problem ..... More

Print this item

  Hotel problem from substitute.
Posted by: Owen89Northam - Jun-27-2018, 08:53 PM - Forum: Homework - Replies (3)

Hello all!

Doing beginner python, could I please have any feedback on the specific steps I will need to take to write this program, any functions, ..... More

Print this item

  Problem test
Posted by: picalex06 - Jun-27-2018, 06:39 PM - Forum: General Coding Help - Replies (3)

Hi,

Excuse me for my english .....

I have a problem with a test.
I must to calculate the different possibility to make a rugby score (try (5 p..... More

Print this item

  Using 2 screens in wxpython
Posted by: Barrowman - Jun-27-2018, 04:52 PM - Forum: GUI - Replies (1)

I am trying to use a 19" T.V with my laptop connecting it via the hdmi port.
I am running python 3.53 and wxpython 4.0.2 on my Linux Mint 18.2 HP lap..... More

Print this item

  Extract Strings From Text File - Out Put Results to Individual Files
Posted by: dj99 - Jun-27-2018, 03:19 PM - Forum: General Coding Help - Replies (8)

Hi friends,

:)

im a python newbie.

I am trying to extract lines from my input file. Output the result to individual files


[code]
import os


W..... More

Print this item

  1062 mysql ( sql alchemy) duplication error customisation
Posted by: KirkmanJ - Jun-27-2018, 01:59 PM - Forum: General Coding Help - Replies (7)

With sql alchemy the error message:
IntegrityError: (_mysql_exceptions.IntegrityError) (1062, "Duplicate entry...)

will occur when you try to ente..... More

Print this item

  How old am I? (first gui script)
Posted by: Nwb - Jun-27-2018, 01:42 PM - Forum: Code sharing - Replies (5)

Original script:
[spoiler][python]FilePath = r"C:\ TYPE YOUR FILE PATH"

from tkinter import *
from playsound import playsound
import pymsgbox as..... More

Print this item

  Python with C extension cross compiling
Posted by: cl10Greg - Jun-27-2018, 01:30 PM - Forum: General Coding Help - Replies (3)

Hello,

I am fairly new to Python and extensions but I am working on an application that is working great on my Windows PC but I am having a hard to..... More

Print this item

  logger
Posted by: saisankalpj - Jun-27-2018, 01:29 PM - Forum: Web Scraping & Web Development - Replies (3)

is there any way in python such that we can log in the logger file only when enable_log="true"
i have used a file handler to create a log file

Print this item

  Please explain me Pathos Pool()
Posted by: Antigr - Jun-27-2018, 01:14 PM - Forum: Homework - Replies (1)

Is this scheme right? Or it forks only with for i in range?
[python]
from pathos.multiprocessing import ProcessingPool as Pool
p=Pool()
def calcul..... More

Print this item

  Plot Probability Density of an Histogram
Posted by: Python_TLS - Jun-27-2018, 11:37 AM - Forum: Data Science - Replies (1)

Hi,

Please =i have a code wich plot a histogram for each iteration
and i want to plot the Probability Density of each histogram
how can i do t..... More

Print this item

  printing main doc
Posted by: bluefrog - Jun-27-2018, 11:13 AM - Forum: General Coding Help - Replies (1)

I have a doc declared at the top of a script, like so:

[python]
#!/usr/bin/python3
import re
"""
A Twitter username can only contain alphanumer..... More

Print this item

  Request for Paid Help
Posted by: hadibutt - Jun-27-2018, 10:41 AM - Forum: Jobs - Replies (3)

I have a python dialer script which is based on PjSIP library , it basically calls a number press a DTMF* and then record a 8 second recording, finall..... More

Print this item

  looking for full time python developer?
Posted by: Justin49 - Jun-27-2018, 08:52 AM - Forum: Jobs - No Replies

Hi.
I'm a python developer.

6+ Years (Python, Django, OpenERP, Web2Py, IOS/Android)

1. Have experience in working with Git-hub, SVN, git-lab a..... More

Print this item

  How to extract only the last result from a code
Posted by: Python_TLS - Jun-27-2018, 08:48 AM - Forum: Data Science - Replies (1)

Hi,

I have a code that plot an histogram for each iteration of a processus
but i want that export only the last histogram of the last iteration ..... More

Print this item

  Speed up recursive function
Posted by: SimuzDarkuz - Jun-27-2018, 07:59 AM - Forum: General Coding Help - Replies (2)

Hi everyone,

I have to build a complex code that will sort different boxes to different places. To simplify everything I did a recursive function t..... More

Print this item

  First Python Project
Posted by: Brennan - Jun-27-2018, 04:03 AM - Forum: Web Scraping & Web Development - Replies (3)

Hello! My first Python project is called python-utils. You can find the full project on GitHub.

..... More

Print this item

  for lin in openfile:
Posted by: Skaperen - Jun-27-2018, 03:41 AM - Forum: General Coding Help - Replies (14)

i'm reading each line of an open file in a loop. how can i specify a utf-8 encoding is how the file is stored and that i want to read into strings as..... More

Print this item

  Turtle and Pygame together
Posted by: cuevabros - Jun-26-2018, 10:41 PM - Forum: Game Development - Replies (5)

Hello, i´m trying to use the turtle library and the pygame library in the same program
but it doesn´t seem to work well ... is thar possible?
thanks..... More

Print this item

  syntax error
Posted by: judin - Jun-26-2018, 09:40 PM - Forum: General Coding Help - Replies (3)

print("age restriction")
age=int(input("pls enter your age:"))
if age<=18:
print("access restricted for users below 19")
else:
..... More

Print this item

  Plotting climate data with NetCdf files for a specific region with coordinates
Posted by: fyec - Jun-26-2018, 09:20 PM - Forum: Data Science - Replies (3)

I can plot temperature distribution figures with global NetCdf files with these codes.

[python]
import numpy as np
import matplotlib...... More

Print this item

  upgrading google-api generates an error
Posted by: ineuw - Jun-26-2018, 07:45 PM - Forum: General Coding Help - Replies (3)

I am trying to activate overgrive, a python 2.7 based connection app to Google Drive in Linux Mint 19, and it fails with a series err..... More

Print this item

  Serial communications
Posted by: tomvassie - Jun-26-2018, 06:27 PM - Forum: General Coding Help - Replies (2)

Good Evening everyone,

I am hoping that someone will be able to help me kick start a little project I have been asked to create for a friend.
My c..... More

Print this item

  beginner
Posted by: Kyrophis - Jun-26-2018, 04:58 PM - Forum: General Coding Help - Replies (1)

absolutely a beginner here, I have heard a lot of great things about python and I have a very simply objective (or so I think) and would like some rec..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 8 hours ago Lou noisefloor General Codin...
  Python compiler 8 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... 579512
  Tutorial Requ... 512973
  Web Scraping ... 442375
  Newbie with P... 386402
  New Users Int... 381787
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
elizabethlittle6258 Today
StepanVoronin Today
QABOB Today
adityaN Today
NeoQuant Yesterday

User Panel Messages

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