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,416
» Latest member: F_S
» Forum threads: 38,828
» Forum posts: 176,069

Full Statistics

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

Latest Threads
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
11 hours ago
» Replies: 4
» Views: 401
python re.finditer return...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 06:28 PM
» Replies: 7
» Views: 438
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 765
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,700
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 675
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,002
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,596
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Jan-02-2026, 12:38 PM
» Replies: 2
» Views: 713
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,342
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 559

 
  Executing a MySQL Stored Procedure with variable
Posted by: UtiliseIT - Oct-28-2017, 04:35 AM - Forum: General Coding Help - No Replies

Hi,

Newbie here just trying to get a simple insert SP that requires 1 parameter (called BrandandRetailer) with PyMySQL.

Cant quite get the syntax ri..... More

Print this item

  How to keep duplicates and remove all other items in list?
Posted by: student8 - Oct-28-2017, 03:09 AM - Forum: Homework - Replies (1)

I am trying to make a function that returns a new list where each item that appears an odd number of times in l is removed

For example,
A list li..... More

Print this item

  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: 754)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Exponential Number Conver... 11 hours ago Tuurbo46 DeaD_EyE General Codin...
  python re.finditer return... Yesterday, 18:28 arbiel snippsat General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  a function to watch files 01-02, 12:38 Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 11:47 BioNanoTech noisefloor General Codin...
Most views
  The best Prog... 580708
  Tutorial Requ... 521885
  Web Scraping ... 442894
  New Users Int... 387847
  Newbie with P... 387121
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+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
F_S Yesterday
cruisesfares Yesterday
aalexfracesoz1783 01-08
Jessicaadams 01-08
alexajames 01-08

User Panel Messages

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