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,928
» Latest member: Williefaree
» Forum threads: 38,719
» Forum posts: 175,492

Full Statistics

Online Users
There are currently 62 online users.
» 0 Member(s) | 56 Guest(s)
Bing, Google, AOL, AOL, Applebot

Latest Threads
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
1 hour ago
» Replies: 5
» Views: 2,506
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:27 PM
» Replies: 6
» Views: 813
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 03:32 PM
» Replies: 2
» Views: 508
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Yesterday, 11:25 AM
» Replies: 7
» Views: 1,803
Python Installation issue
Forum: News and Discussions
Last Post: Dev
Yesterday, 11:16 AM
» Replies: 4
» Views: 15,729
New to the field
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 08:15 AM
» Replies: 1
» Views: 409
Too much space between gr...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:34 AM
» Replies: 1
» Views: 479
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
Sep-13-2025, 06:11 AM
» Replies: 5
» Views: 1,551
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-12-2025, 11:09 AM
» Replies: 2
» Views: 1,233
Web Scrapper to find prov...
Forum: General Coding Help
Last Post: Olivia
Sep-12-2025, 08:36 AM
» Replies: 1
» Views: 2,440

 
  Code not working as expected.
Posted by: an_droid - Mar-07-2017, 04:18 PM - Forum: General Coding Help - Replies (4)

The code below works for the single line of code (#), but not when broken up into 3 different assignments (##). Where am I going wrong?



[python..... More

Print this item

  glob for dir listing
Posted by: bluefrog - Mar-07-2017, 02:47 PM - Forum: General Coding Help - Replies (5)

Hi 
I am attempting to list all directories using a glob pattern.
In each case below I cannot obtain a definitive list.

for example:
[code]
>>>..... More

Print this item

  column grouping (sum)
Posted by: metalray - Mar-07-2017, 02:38 PM - Forum: Homework - Replies (2)

Dear Python Experts,

I am looking again at Daniel Breen's case study In [69]: he writes a function
called convert_housing_data_to_quarters().

h..... More

Print this item

  Need help amalgamating two scripts
Posted by: brocq_18 - Mar-07-2017, 02:24 PM - Forum: General Coding Help - Replies (10)

I have two scripts, the first which reads in a file and outputs a parsed version and then the second which takes the parsed version and parses it furt..... More

Print this item

  set time & date by user in tkinter
Posted by: gray - Mar-07-2017, 01:10 PM - Forum: GUI - Replies (3)

how can a user set time & date in a tkinter window...please give me a link...i searched but i didn't find a suitable content... i am looking for a gen..... More

Print this item

  Running a selenium test using data from spreadsheet (have problem iterating...)
Posted by: danw32 - Mar-07-2017, 12:40 PM - Forum: Web Scraping & Web Development - No Replies

Hi there, I'm having an issue with some logic and how the best way to go about it. I am starting to build a selenium framework and what my aim is, is ..... More

Print this item

  LibreOffice python makros: official documentation?
Posted by: merlem - Mar-07-2017, 12:21 PM - Forum: Bar - No Replies

Actually I try to teach myself writing python makros for LibreOffice. However, I can't find the official documentation for this. I came across some tu..... More

Print this item

  Heat equation
Posted by: HugoL - Mar-07-2017, 10:40 AM - Forum: Homework - Replies (1)

Hi everyone. Thank you for reading.  

We are working on solving this heat equation in a one dimension bar:

[size=medium]∂T/∂t=[font=Calibri, san..... More

Print this item

  pping.py
Posted by: Skaperen - Mar-07-2017, 10:38 AM - Forum: Code sharing - No Replies

i wrote this command-line interface script to do multiple pings in parallel:

[python]#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from __future..... More

Print this item

  Reading a CSV
Posted by: lewoc - Mar-07-2017, 10:29 AM - Forum: General Coding Help - Replies (4)

I have a CSV file that looks like this:

htt ps://gyazo. c om/51b69c4d128286521e86cb5715b5fd9a

I need a program that does this:

If Title = 'Ti..... More

Print this item

  pyutils.py
Posted by: Skaperen - Mar-07-2017, 10:20 AM - Forum: Code sharing - Replies (8)

the original thread is quite old and now closed.

here is an update ... still a work in progress (and probably forever so):

[python]#!/usr/bin/en..... More

Print this item

  where to start with gui builder?
Posted by: JackDinn - Mar-07-2017, 08:52 AM - Forum: GUI - Replies (2)

Hi, Iv been tinkering with python for a while and wanted to take a look at what gui options there are for linux desktops (maybe even cross platform). ..... More

Print this item

  Resetting scale value back to 0 after the slider loses focus
Posted by: lwhistler - Mar-07-2017, 04:23 AM - Forum: GUI - Replies (3)

I am using the scale widget in Tkinter and after I scale the value from 0 I would like the value to  go back to 0 once the slider loses focus. ..... More

Print this item

  convert date input to seconds
Posted by: student001 - Mar-07-2017, 02:16 AM - Forum: General Coding Help - Replies (2)

Hi all, I am a beginner to python.
 
I am wondering on how to read input from user: 

DAY 3, 09:00 PM
and convert it to seconds?

Print this item

  Grouping lots of words in lots of txt files: programmer needed
Posted by: HexagonalRocketry - Mar-07-2017, 01:58 AM - Forum: Jobs - Replies (16)

I wasn't too sure where to put this, so I went for off-topic. Sorry if that's not the spot.

As you might be able to tell from the title...I'm not rea..... More

Print this item

  tkinter - Make circle for radio button bigger
Posted by: Raptor88 - Mar-07-2017, 01:22 AM - Forum: General Coding Help - Replies (5)

Running Python 3.6.  Using tkinter for GUI.

How can I make the circle for a radio button bigger?  I'm referring to the circle that the user clicks...... More

Print this item

  Click Click
Posted by: snippsat - Mar-07-2017, 12:04 AM - Forum: Code sharing - Replies (6)

So this is about Click,getting stuff from command line into Python.
There are many existing solution for this,i ..... More

Print this item

  Python 3.6
Posted by: camp0 - Mar-06-2017, 09:28 PM - Forum: News and Discussions - Replies (4)

Any experiences with the new interpreter? positve or negative?

Print this item

  Why 7%1.4 is not zero?
Posted by: tinghf - Mar-06-2017, 06:56 PM - Forum: News and Discussions - Replies (2)

Hello guys,

7/1.4=5, the remainder is zero, simple maths.

But why 7%1.4 gives the result 4.440892098500626e-16?

I know it is extremely close ..... More

Print this item

  Problem in Py_Initialize
Posted by: SmithPython - Mar-06-2017, 04:01 PM - Forum: General Coding Help - Replies (2)

Hello,
I'm trying to use Python API in a C++ program.
I have downloaded source files of Python 3.4.4 and I have compiled them with Microsoft Visual ..... More

Print this item

  Scapy route6 configuration
Posted by: peterkl - Mar-06-2017, 03:58 PM - Forum: Networking - No Replies

I'm using scapy to build some IPv6 packets. I'm having trouble in the communications between hosts on the same network and with external links as well..... More

Print this item

  Error message - help!
Posted by: Skippy - Mar-06-2017, 02:38 PM - Forum: General Coding Help - Replies (3)

I am working on a program and this is what I have:
[python]def reverse():
    global positions
    global uniqueWords
    uniqueWords = uniqueWord..... More

Print this item

  Convolution with numpy
Posted by: Tina - Mar-06-2017, 12:24 PM - Forum: Data Science - Replies (3)

Hello everyone, 

I am trying to convolute 2 signals in the time-domain:

the first when is a gaussien function and the second one is a zero array but..... More

Print this item

  webserver in python?
Posted by: Skaperen - Mar-06-2017, 06:27 AM - Forum: News and Discussions - Replies (4)

i am looking for a web server coded entirely in python.  it should be usable in place of servers like apache and nginx in the sense of how it i..... More

Print this item

  Looking for Python Assignments
Posted by: BillGates - Mar-06-2017, 04:18 AM - Forum: General Coding Help - Replies (3)

So I'm a university student currently taking my first python class. 
We have an exam on Tuesday and I'm currently looking for additional resources/as..... More

Print this item

  Newtons problem
Posted by: Miraclefruit - Mar-06-2017, 01:56 AM - Forum: Homework - Replies (2)

Newton’s Law of Cooling states that when a hot liquid is placed in a cool
room, each minute the decrease in the temperature is approximately proporti..... More

Print this item

  While loop/half-life
Posted by: Miraclefruit - Mar-06-2017, 01:50 AM - Forum: Homework - Replies (6)

Carbon-14 is constantly produced in Earth’s upper atmosphere
due to interactions between cosmic rays and nitrogen, and is found in all plants and ani..... More

Print this item

  While loops
Posted by: Miraclefruit - Mar-06-2017, 12:05 AM - Forum: General Coding Help - Replies (7)

L = [2, 4, 6, 8]
total = 0
while L != []:
     total += L[0]
     L = L[1:]
print(total)
How do I make this snippet simpl..... More

Print this item

  Function calls inside a Class
Posted by: kerzol81 - Mar-05-2017, 06:08 PM - Forum: General Coding Help - Replies (2)

Hi,

Could you help me out a bit?
I don't understand why I cant call a function inside a class.

Here is the code I wrote so far:

[python]
im..... More

Print this item

  print 3 return values from function
Posted by: bluefrog - Mar-05-2017, 05:33 PM - Forum: General Coding Help - Replies (5)

Hi

I am attempting to print the values returned from the function, defined as follows:
[code]
def calc_accuracy(p_RDD, model):
  correct = p_RDD..... More

Print this item

  Display on gui instead of Python shell
Posted by: Justin - Mar-05-2017, 04:10 PM - Forum: GUI - Replies (2)

[color=#1d2129][font=Helvetica, Arial, sans-serif]Hey guys , i have made a sample gui in python with tkinter,which prompts the user the mac address of..... More

Print this item

  CGI for Basic Python Webserver
Posted by: Mustafa_ba - Mar-05-2017, 12:50 PM - Forum: Networking - Replies (2)

Hello guys;
[color=#242729][size=small][font=Arial,]
[size=small][i][b]I have a simple python webserver but I want to use the CGI script for file do..... More

Print this item

  ftplib and pyftpdlib : REST (restart) command not working as expected when uploading
Posted by: darellon - Mar-05-2017, 04:05 AM - Forum: Networking - Replies (3)

[color=#242729][size=small][font=Arial,][size=small]I've set up a simple FTP server with pyftpdlib and a client with ftplib. When i let the client scr..... More

Print this item

  Idea for a project
Posted by: aquila - Mar-04-2017, 11:12 PM - Forum: General Coding Help - Replies (4)

I'm Rafael and in my class of Electrical Installation (I'm from brazil and I don't know how it is in USA) I am doing projects,electrical installation ..... More

Print this item

  Building .deb packages
Posted by: NEALEC88 - Mar-04-2017, 10:38 PM - Forum: General Coding Help - Replies (2)

Hey so I am new to python and have been searching loads and trying many different things to try and create a python script that will package a .deb fi..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Seeking feedback: dynamic... 1 hour ago Bona2000 Bona2000 General Codin...
  Select Python comment (#)... Yesterday, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... Yesterday, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame Yesterday, 11:25 JMcM JMcM Game Developm...
  Python Installation issue Yesterday, 11:16 RFHill Dev News and Disc...
  New to the field Yesterday, 08:15 Polybunny Larz60+ News and Disc...
  [Tkinter] Too much space ... Yesterday, 02:34 RonR deanhystad GUI
  I'm trying to make a piec... 09-13, 06:11 Alislugacool MilesWeb General Codin...
  Python and excel vba codi... 09-12, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... 09-12, 08:36 physalis2099 Olivia General Codin...
  403 Error 09-11, 20:39 CaptainNewb snippsat Web Scraping ...
Most views
  The best Prog... 575661
  Tutorial Requ... 496772
  Web Scraping ... 439711
  Newbie with P... 383356
  New Users Int... 364667
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+ 12087
buran 8174
snippsat 7366
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Williefaree Today
faithsally Today
compuman145 Today
DeadEyes Today
Fobertsmene Yesterday

User Panel Messages

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