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,668
» Latest member: agusputra99
» Forum threads: 38,645
» Forum posts: 175,051

Full Statistics

Online Users
There are currently 582 online users.
» 0 Member(s) | 576 Guest(s)
Applebot, Google, Baidu, Yandex

Latest Threads
While loop is terminating...
Forum: Homework
Last Post: Plyth
5 hours ago
» Replies: 2
» Views: 209
PythonPath file
Forum: General Coding Help
Last Post: Pedroski55
8 hours ago
» Replies: 7
» Views: 19,639
Building a food delivery ...
Forum: Homework
Last Post: nooryasmeen022
Yesterday, 04:12 PM
» Replies: 3
» Views: 7,511
Python Install Mager Help
Forum: News and Discussions
Last Post: snippsat
Yesterday, 09:43 AM
» Replies: 5
» Views: 357
RemoTe server operation w...
Forum: General Coding Help
Last Post: mario17
Yesterday, 07:18 AM
» Replies: 4
» Views: 286
Hide CLI while grabbing i...
Forum: GUI
Last Post: Gribouillis
Jul-03-2025, 08:12 AM
» Replies: 1
» Views: 140
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Jul-02-2025, 05:41 PM
» Replies: 4
» Views: 635
textbox compare command n...
Forum: GUI
Last Post: deanhystad
Jul-02-2025, 01:40 PM
» Replies: 1
» Views: 233
Deploy Flask apps on Wind...
Forum: Web Scraping & Web Development
Last Post: DeaD_EyE
Jul-02-2025, 09:23 AM
» Replies: 2
» Views: 5,953
How to ask Smart Question...
Forum: Board
Last Post: Thatedge
Jul-01-2025, 08:10 AM
» Replies: 3
» Views: 5,681

 
  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

  how to use *args
Posted by: haye - Sep-25-2017, 10:44 AM - Forum: General Coding Help - Replies (7)

Hi, I got some lists, i would like to "bring together" 2 , 3 ,or 4 lists and make only one list from them ,i have to use *args(its an exo)

Here is ..... More

Print this item

  SyntaxError: unexpected character after line continuation character
Posted by: Saka - Sep-25-2017, 10:44 AM - Forum: General Coding Help - Replies (2)

Hello all, and I'm a new member here Big Grin .
I made a esoteric version of Python for fun, but I'm having some problems when running multiline ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  While loop is terminating... 5 hours ago jumpsworthnow Plyth Homework
  PythonPath file 8 hours ago JohnRLaw Pedroski55 General Codin...
  Building a food delivery ... Yesterday, 16:12 ElenaPapagia nooryasmeen022 Homework
  Python Install Mager Help Yesterday, 09:43 bowens1983 snippsat News and Disc...
  RemoTe server operation w... Yesterday, 07:18 mario17 mario17 General Codin...
  [WxPython] Hide CLI while... 07-03, 08:12 Winfried Gribouillis GUI
  Venv - Python Virtual Env... 07-02, 17:41 DanneA Larz60+ General Codin...
  [Tkinter] textbox compare... 07-02, 13:40 dmac6809 deanhystad GUI
  Deploy Flask apps on Wind... 07-02, 09:23 SpongeB0B DeaD_EyE Web Scraping ...
  How to ask Smart Question... 07-01, 08:10 metulburr Thatedge Board
  Exercise on reading a chu... 07-01, 06:49 Nit_Picker polytrack Homework
Most views
  The best Prog... 572419
  Tutorial Requ... 485216
  Web Scraping ... 436950
  Newbie with P... 379798
  Thread remain... 351272
Most reputation
buran 581
snippsat 507
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+ 12070
buran 8173
snippsat 7344
deanhystad 6845
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
agusputra99 Today
Andytan7 Today
SairamK Today
stackframer Yesterday
Svobologic99 Yesterday

User Panel Messages

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