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,935
» Latest member: marineoman
» Forum threads: 38,721
» Forum posts: 175,503

Full Statistics

Online Users
There are currently 41 online users.
» 1 Member(s) | 34 Guest(s)
Google, AOL, AOL, Bing, bowlofred

Latest Threads
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:27 PM
» Replies: 2
» Views: 350
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Sep-17-2025, 05:56 PM
» Replies: 9
» Views: 3,368
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 1,772
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 736
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 985
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,043
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,087
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 658
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,640
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,857

 
  roulette game
Posted by: atux_null - Oct-28-2017, 12:03 AM - Forum: Homework - Replies (6)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  SQLite NO column exists
Posted by: rachitmishra25 - Oct-27-2017, 08:54 PM - Forum: General Coding Help - Replies (1)

I am trying to insert values into a SQLite DB integrated with Python. I have done that successsfully for most of the tables with an exception of one w..... More

Print this item

  Sophie Germain Primes
Posted by: PythonLamer - Oct-27-2017, 06:26 PM - Forum: General Coding Help - Replies (7)

Looking for a way to optimize this to have it run a bit faster:

[python]#!python3

def isPrime(num):
if num < 2:
return False
if num =..... More

Print this item

  how to give your data column names based on char position
Posted by: whyme - Oct-27-2017, 05:10 PM - Forum: General Coding Help - Replies (7)

Hi All

I am very new to python .

I am working with a file with no column header. But the task is to give the file column names based on char p..... More

Print this item

  solve equation
Posted by: haye - Oct-27-2017, 03:56 PM - Forum: Homework - Replies (1)

hi, i did a python program to solve a 2nd degree equation:

[python]from math import *


a = input('a = ')
b = input('b = ')
c = input('c = ')..... More

Print this item

  Python written in Python, written in Python (warning: somewhat heavy image included)
Posted by: Ofnuts - Oct-27-2017, 01:53 PM - Forum: Bar - Replies (3)

All done with four Gimp scripts (all in Python of course)

[Image: aJMshKw.gif]

Print this item

  ValueError: could not convert string to float: Close??
Posted by: BlackHeart - Oct-27-2017, 12:09 PM - Forum: Data Science - Replies (3)

Honestly, I don't even understand what the issue is here... Could you guys help me out please?

It may be referring to one of my columns in my datas..... More

Print this item

  SQLite DB integration duplicate columns
Posted by: rachitmishra25 - Oct-27-2017, 10:59 AM - Forum: General Coding Help - Replies (1)

I am trying to populate an SQLite DB within a python script via a CSV file. I am getting an error whenever my code iterates through a csv that has mul..... More

Print this item

  Embedded python in C
Posted by: alxhoff - Oct-27-2017, 10:58 AM - Forum: General Coding Help - Replies (1)

Hi all,

I am currently writing a program in C where I need to embed a python script as it is part of a testbench that will be comparing many implem..... More

Print this item

  pip list available packages
Posted by: Skaperen - Oct-27-2017, 05:43 AM - Forum: News and Discussions - Replies (16)

how does pip manage packages?

when i run "pip list" it shows many packages that i installed with Ubuntu's apt-get under the names i presume would b..... More

Print this item

  what name should i give ...
Posted by: Skaperen - Oct-27-2017, 04:55 AM - Forum: News and Discussions - Replies (6)

what name should i give to a command that copies lines except for the last N lines?

Print this item

  which would be easier to translate to Python?
Posted by: Skaperen - Oct-27-2017, 04:17 AM - Forum: News and Discussions - Replies (2)

i was looking at these older implementations of a function to convert an integer number to English words.  which of these two do you believe would be ..... More

Print this item

  Panda.read_cvs Issues Reading Certain Columns
Posted by: BlackHeart - Oct-27-2017, 02:48 AM - Forum: Data Science - Replies (5)

Hey guys. I'm trying to get Panda.read_cvs to read certain columns in my dataset. It says that the 'high' column is not in the list...

I'm trying t..... More

Print this item

  Click dropdown menu option with Selenium PyChrome
Posted by: AcszE - Oct-26-2017, 08:17 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello! I'm trying to click on the button of "Suicide or self injury" inside the report menu of youtube. I have already clicked on the "Harmful dangero..... More

Print this item

  Problem with remove Temp Files
Posted by: karlo_ds - Oct-26-2017, 08:09 PM - Forum: General Coding Help - Replies (1)

Hi everyone!

I try to remove the tempfiles in windows 8... I try with Python:

---------------------------------------------------------------..... More

Print this item

  cant save data to text file.
Posted by: darktitan - Oct-26-2017, 05:54 PM - Forum: General Coding Help - Replies (28)

hi
Im trying to save all the generated numbers from my generator  to a text file with file save dialog but it only saves the last line and the text f..... More

Print this item

  snakes & ladders
Posted by: mzmingle - Oct-26-2017, 04:31 PM - Forum: Game Development - Replies (4)

Hi, I'm quite new to pygame & I've been messing around with a few little things on it, but the other day we were set homework to make snakes & ladders..... More

Print this item

  Table Data Model
Posted by: kmcollins - Oct-26-2017, 03:38 PM - Forum: Code sharing - Replies (1)

[python]# Class: TableData
# Date Started: October 22, 2017
# Author: George Keith Watson, a.k.a. Keith Michael Collins
# ..... More

Print this item

  Read txt files in python
Posted by: rii - Oct-26-2017, 03:18 PM - Forum: Homework - Replies (4)

Hi, my teacher just gave me this assignment and i already wrote smt, but it doesn't work... Can anyone help me,please?
-------------------------------..... More

Print this item

  Extracting numbers
Posted by: Ronnie - Oct-26-2017, 02:49 PM - Forum: General Coding Help - Replies (18)

Hello, I am wondering if anyone can help me with my computing code, I have a text file and need to extract the UK phone numbers, and ensure that the p..... More

Print this item

  2 logical problems
Posted by: Peter_EU - Oct-26-2017, 11:37 AM - Forum: Homework - Replies (1)

Deleted. Sorry, confidential reasons.

I am not sure how to delete whole thread so pl, admins, feel free to do so.

Peter the Noob Noob

Print this item

  Python:How to read a recived message that idinfies the client Byte by Byte using UDP
Posted by: learn - Oct-26-2017, 11:31 AM - Forum: Networking - Replies (2)

I am trying to implement a simple scenario in python:

The server waits for the client to send a fixed size(8 Bytes) message that identifies the cli..... More

Print this item

  xmlrpc.client, ServerProxy and null return
Posted by: thepurpleblob - Oct-26-2017, 10:26 AM - Forum: General Coding Help - No Replies

I have a simple bit of code that accesses an XMLRPC server in this case to delete some user accounts.

[python]def __init__(self, host, token):
   ..... More

Print this item

  Possible Scikit-Learn Import Issue?
Posted by: BlackHeart - Oct-26-2017, 08:11 AM - Forum: Data Science - Replies (2)

I keep getting an error when I run this code. I'm thinking it may be because my packages (scikit-learn) are not current enough. I hope this isn't the ..... More

Print this item

  Python requests to loop over the list and click button
Posted by: Prince_Bhatia - Oct-26-2017, 07:52 AM - Forum: Web Scraping & Web Development - Replies (5)

i edited my orginal post after doing hard research

This is my first post in stack overflow. For my question i read this post request using python t..... More

Print this item

  robobrowser, answer authentication-challenge after login
Posted by: shiny - Oct-26-2017, 06:48 AM - Forum: Web Scraping & Web Development - No Replies

I'm really new to python programming. I'm working on automation of a web-browser. I started with selenium, but found it to be really slow for what I n..... More

Print this item

  updating collision handler for pymunk 5.3.2
Posted by: pythony - Oct-26-2017, 05:52 AM - Forum: Homework - Replies (5)

Trying to update this older code --

space.set_default_collision_handler(coll_handler)
[error]Traceback (most recent call last):
..... More

Print this item

  Linear Equations Homework
Posted by: ngr33n - Oct-26-2017, 02:25 AM - Forum: Homework - Replies (3)

I'm a little bit confused with what this method is supposed to do. Here's the full description:

"Write a class for linear equations. A generic line..... More

Print this item

  getting nanoseconds in python
Posted by: Skaperen - Oct-26-2017, 02:03 AM - Forum: General Coding Help - Replies (8)

current versions of Linux are able to provide the current time to processes at the full resolution the hardware is capable of, down to at least nanose..... More

Print this item

  cant get the code to give me the position of the word
Posted by: axius23 - Oct-25-2017, 09:17 PM - Forum: Homework - Replies (2)

Hi i have a problem with my homework i cant get the code to give me the pisition of the word.
The question is :
Develop a program that analyses a se..... More

Print this item

  Password Generator
Posted by: pdelnegro - Oct-25-2017, 06:12 PM - Forum: Code sharing - Replies (1)

So, I'm still studying the basics of Python 3, but I decided to put some of it in practice and make my own password generator.
It's Python 3 + PyQt5,..... More

Print this item

  Smoothing Fourier
Posted by: muhsin - Oct-25-2017, 05:21 PM - Forum: General Coding Help - No Replies

Hello;

I am a new user. I would like to smooth the fourier spectrum. Can anyone help me please? The Frequency-Fourier Amp file is attached. Thank y..... More


Attached Files

.txt   Spectrum.txt (Size: 198.12 KB / Downloads: 739)
Print this item

  Requests not behaving...
Posted by: PythonLamer - Oct-25-2017, 04:53 PM - Forum: General Coding Help - Replies (1)

Hey guys,

I've been trying to establish an http connection with requests. The problem is that I'm getting an ssl exceptions error:

requests.exce..... More

Print this item

  Rendering a list in a mako template
Posted by: getre222 - Oct-25-2017, 03:41 PM - Forum: General Coding Help - Replies (10)

[python]
import os
from mako.template import Template

def N_water(z) : # return number of molecules of water [molecule/cm3] in tvs at position z ..... More

Print this item

  Stuck with SQL, singup page plz HELP!
Posted by: Peter_EU - Oct-25-2017, 03:14 PM - Forum: Web Scraping & Web Development - Replies (1)

Hallo,

I don't know what to do!

I am following tutorial: https:https://www.youtube.com/watch?v=0FsvqwRhYdM&t=688s

and I get stuck with comman..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  C++ program embedding Pyt... Yesterday, 18:27 Alexandros Gribouillis General Codin...
  403 Error 09-17, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 576136
  Tutorial Requ... 497712
  Web Scraping ... 440082
  Newbie with P... 383896
  New Users Int... 366454
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 8174
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
marineoman Today
marineservice Today
bennyanderson482 Yesterday
AstoundzSEO Yesterday
tobey12 Yesterday

User Panel Messages

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