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,402
» Latest member: Jeffreygon
» Forum threads: 38,825
» Forum posts: 176,038

Full Statistics

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

Latest Threads
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Yesterday, 12:38 PM
» Replies: 2
» Views: 191
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 12:32 PM
» Replies: 29
» Views: 15,756
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
Yesterday, 12:31 PM
» Replies: 8
» Views: 3,671
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 187
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:47 AM
» Replies: 2
» Views: 152
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,200
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 230
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,642
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 309
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 270

 
  Problem with the '|' character?
Posted by: Saka - Sep-27-2017, 01:27 PM - Forum: General Coding Help - Replies (2)

Hello all, I'm trying to use the following method to find the "|" character in the following string as a little test:
[python][m.start() for m in re...... More

Print this item

  unable to print the list when using re.findall()
Posted by: satyaneel - Sep-27-2017, 09:55 AM - Forum: General Coding Help - Replies (5)

code:
# -*- coding: utf-8 -*-
"""
Created on Wed Sep 20 07:44:11 2017

@author: Srinu
"""
import re
f=open('D:\EDUCATION\python\google-python-..... More

Print this item

  Career change. Advice hugely appreciated!
Posted by: JABedford - Sep-27-2017, 07:13 AM - Forum: Bar - Replies (5)

Hello all,

Brief background about me.. I am a 26 year old male from Berkshire UK.. Currently work as an Operations Manager in the construction indust..... More

Print this item

  [Errno 22] Invalid argument
Posted by: satyaneel - Sep-27-2017, 07:06 AM - Forum: General Coding Help - Replies (11)

When I am trying to open a html file with read mode in python spyder I am getting the following error
[Errno 22] Invalid argument

Print this item

  Can anyone please help with very simple code
Posted by: bee - Sep-27-2017, 05:57 AM - Forum: Homework - Replies (6)

Hi, new to the forums here, ive joined to seek help on this single matter. Im not a pythonista but know i have it installed on my linux box.
Please c..... More

Print this item

  Can a dictionary key be an integer?
Posted by: Pedroski55 - Sep-27-2017, 05:20 AM - Forum: General Coding Help - Replies (7)

I made a dictionary where the key is an integer, a student number and the value is also an integer, the student's score.

I want to loop through eac..... More

Print this item

  How would one go about solving this question
Posted by: samiraheen - Sep-27-2017, 03:55 AM - Forum: Homework - Replies (2)

Write a function  in_out(xs,ys,side) that takes three numbers as input, where side is non-negative. Here xs and ys represent the x and y coordinates o..... More

Print this item

  how to write a function in python that solves an equation
Posted by: samiraheen - Sep-27-2017, 03:51 AM - Forum: Homework - Replies (5)

Write a function fun(x) that takes as input a positive number x and solves the following equation for y and returns y. The equation is 104y=x+3

Print this item

  python program problem
Posted by: beemanjo - Sep-26-2017, 11:25 PM - Forum: Homework - Replies (5)

please give a runnable sample of your code with the full error text or a clear description of the problem

IM RUN THIS CODE

[Python]
total =..... More

Print this item

  Python program problem
Posted by: beemanjo - Sep-26-2017, 11:04 PM - Forum: Homework - Replies (4)

please give a runnable sample of your code with the full error text or a clear description of the problem

I TYPE IN THIS CODE:

total = 0

def ..... More

Print this item

  find a character in a string in python3
Posted by: tony1812 - Sep-26-2017, 10:31 PM - Forum: General Coding Help - Replies (6)

Hello, how do I find a specific character in a string? for example, str="Hello world"
I need it to ba able to return the character "w", not just its ..... More

Print this item

  get last row id in pymysql
Posted by: tony1812 - Sep-26-2017, 10:04 PM - Forum: General Coding Help - Replies (1)

Hello, I am pretty new to python
I am wondering is this is the correct syntax to get the last row id in a my=sql mysql table?
[python]
cur=conn.cur..... More

Print this item

  How to merge different columns of date into a single column
Posted by: sujai_banerji - Sep-26-2017, 07:11 PM - Forum: General Coding Help - Replies (1)

I have a .csv file that has the following headings: Date, Month and Year. I want to combine the three columns to a single column with the heading Date..... More

Print this item

  Accessing nested dictionary values. Plistlib, Python 2.7
Posted by: williamlombard - Sep-26-2017, 04:13 PM - Forum: General Coding Help - Replies (32)

Hi Guys.

I am try to adapt a piece of code I found on Github to help m..... More

Print this item

  Python with Geany
Posted by: mehenaveen - Sep-26-2017, 01:49 PM - Forum: General Coding Help - Replies (4)

Hello,
I am new to programming and particularly to Python and Geany. I am getting the error... 'Python3' is not recognized as an internal or external..... More

Print this item

  hacking reloaded ebooks (Humble Bundles)
Posted by: metulburr - Sep-26-2017, 11:39 AM - Forum: News and Discussions - No Replies

https://www.humblebundle.com/books/hacki...s_Announce

Print this item

  Suds client response error
Posted by: rajesh - Sep-26-2017, 10:30 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi

We are using python suds client to connect to our internal web service. This works pretty well, but occasionally we get the following error whic..... More

Print this item

  Overriding tkinter button methods
Posted by: Lubik_ - Sep-26-2017, 09:18 AM - Forum: GUI - Replies (3)

Hi,
I need to create new class NButton(tkinter.Button) in witch I want to override constructor and event onclick.
I want make some extra action in o..... More

Print this item

  Memory Error
Posted by: rajeev1729 - Sep-26-2017, 08:29 AM - Forum: Data Science - Replies (1)

[python]# Load Libraries
import numpy as np
import pandas as pd
from nltk.corpus import stopwords
from nltk.stem import PorterStemmer
from sklear..... More

Print this item

  Substrings
Posted by: OmarSinno - Sep-26-2017, 07:43 AM - Forum: Homework - Replies (4)

The task is to find a the first string as a substring in the other string.
For example, let's say we have:
string 1 = 'bob'
string 2 = 'bobsbugsbegone..... More

Print this item

  Turtle Problem
Posted by: OmarSinno - Sep-26-2017, 07:31 AM - Forum: General Coding Help - Replies (2)

I'm drawing a polygon in which every side of that polygon should get a random color, that means that for every side the turtle should get a different ..... More

Print this item

  pymysql question
Posted by: tony1812 - Sep-26-2017, 12:24 AM - Forum: General Coding Help - Replies (1)

Hello, I am totally new to python.
I am learning to use pymysql to retrive daa from mysql, I have this code:
[python]
#!/usr/bin/python3

import ..... More

Print this item

  decimal or hexadecimal digits to int
Posted by: Skaperen - Sep-25-2017, 11:35 PM - Forum: General Coding Help - Replies (3)

i want to convert a string of digits to an int like int() does.  the digits will be decimal by default except if prefixed by '0x' or '0X' then they ar..... More

Print this item

  How to configure Videogrep and PlayPhrase on my Windows 7 x64?
Posted by: miguel - Sep-25-2017, 10:38 PM - Forum: Bar - Replies (4)

Hello, someone who knows and helps me to configure can tell me how to do step by step

Well what this program does is look for the context of a conv..... More

Print this item

  NameError: name is not defined
Posted by: SnekLover123 - Sep-25-2017, 07:58 PM - Forum: General Coding Help - Replies (8)

I'm really new to python. Can someone help me figure out what's wrong with my crappy game? It says NameError: name 'DSC' is not defined on line 55 in ..... More

Print this item

  web scraping with python regular expression
Posted by: dbpython2017 - Sep-25-2017, 06:58 PM - Forum: Web Scraping & Web Development - Replies (6)

Given a website, I want to use python regular expression to get the data out from the web page.
Although I can use other packages, my requirement is ..... More

Print this item

  Area of a triangle
Posted by: OmarSinno - Sep-25-2017, 06:45 PM - Forum: General Coding Help - Replies (8)

First of all I need to verify if I can draw a triangle, is_valid(s1,s2,s3): is giving correct answers.
Then, I have to find the area of the triangle,..... More

Print this item

  replace vowels
Posted by: niru - Sep-25-2017, 06:06 PM - Forum: General Coding Help - Replies (9)

hello, i have a list with some names, and i have to replace wovels by " - "
here is what i tried:



[python]list1 = ['john', 'tony', 'luck]


def rep..... More

Print this item

  [3D Software Programming] What are the best modules for ?
Posted by: JamieVanCadsand - Sep-25-2017, 05:33 PM - Forum: News and Discussions - Replies (2)

Hey Software Programmers...

I want to learn python use to program 3d software for virtual reality,
3d-printing, sciensific enginering and photo-re..... More

Print this item

  Connection to MS SQL Database not working
Posted by: mruprai - Sep-25-2017, 03:50 PM - Forum: General Coding Help - Replies (1)

I am new to python (ex VBA programmer). I get the error message when trying to connect

[MICROSOFT ODBC DRIVER] Data source name not found and no de..... More

Print this item

  Re Python Function
Posted by: Yash99 - Sep-25-2017, 03:27 PM - Forum: Homework - Replies (5)

Hey I have a question that what function do I need to use to run the python script without specifying path name, but by giving only python 'filename'(..... More

Print this item

  Twin Primes Recursion Limit
Posted by: djkraft - Sep-25-2017, 02:56 PM - Forum: Homework - Replies (4)

I'm working on this same problem too and ran into an error trying to get the twin prime numbers to work. I get a recursion error when checking the pri..... More

Print this item

  Retrieve OptionMenu selection?
Posted by: JP_ROMANO - Sep-25-2017, 02:36 PM - Forum: GUI - Replies (5)

Hello - finally making some real progress on my first python script (using Tkinter to create a UI) and after a many, many months of hating on it, I th..... More

Print this item

  MySQLdb and SSL
Posted by: dominic - Sep-25-2017, 12:05 PM - Forum: Networking - No Replies

Hi all,

I've tried endlessly to make Python set up an SSL connection to an SQL server.
The Python script only initiates a regular unencrypted TCP/..... More

Print this item

  Introductions forum?
Posted by: Saka - Sep-25-2017, 11:16 AM - Forum: Board - Replies (1)

Usually forums have a little place where users introduce themselves... Is there one here? Sorry if this is a dumb question, I'm a newbie on this forum..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  a function to watch files Yesterday, 12:38 Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... Yesterday, 12:32 Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... Yesterday, 12:31 Calab JassicaElla60 Data Science
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
Most views
  The best Prog... 580506
  Tutorial Requ... 520368
  Web Scraping ... 442815
  Newbie with P... 387034
  New Users Int... 386942
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 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Jeffreygon Today
JassicaElla60 Yesterday
bryanptrovz7447 Yesterday
oliviajuior7959 01-01
aoliiapetrov4786 01-01

User Panel Messages

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