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,594
» Latest member: osmer_dolgopopov1432
» Forum threads: 38,638
» Forum posts: 175,052

Full Statistics

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

Latest Threads
Python Install Mager Help
Forum: News and Discussions
Last Post: DeaD_EyE
33 minutes ago
» Replies: 1
» Views: 51
tracking version during r...
Forum: News and Discussions
Last Post: DeaD_EyE
1 hour ago
» Replies: 3
» Views: 576
Comparing two columns wit...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 3
» Views: 1,448
[SOLVED] Let user search ...
Forum: GUI
Last Post: Winfried
Yesterday, 11:19 AM
» Replies: 2
» Views: 115
Convert any Python expres...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 07:06 AM
» Replies: 2
» Views: 273
Using EventSource in Pyth...
Forum: Web Scraping & Web Development
Last Post: snippsat
Jun-22-2025, 08:45 AM
» Replies: 1
» Views: 138
need help with tracking a...
Forum: General Coding Help
Last Post: gqdeep01
Jun-22-2025, 02:14 AM
» Replies: 0
» Views: 112
A penny doubled every day...
Forum: Homework
Last Post: DeaD_EyE
Jun-21-2025, 05:26 PM
» Replies: 5
» Views: 250
I have a question
Forum: General Coding Help
Last Post: noisefloor
Jun-21-2025, 09:26 AM
» Replies: 2
» Views: 248
Problème d'exécutable
Forum: General Coding Help
Last Post: noisefloor
Jun-21-2025, 09:22 AM
» Replies: 1
» Views: 228

 
  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

  PyPi 100000
Posted by: snippsat - Mar-04-2017, 09:45 PM - Forum: Web Scraping & Web Development - Replies (2)

It's close Dance
[python]import requests
from bs4 import BeautifulSoup

url = "https://pypi.python.org/pypi"
url_get = requests.get(url)
sou..... More

Print this item

  New iOS token based notification
Posted by: fbartolom - Mar-04-2017, 06:06 PM - Forum: Networking - No Replies

I am trying to implement the new iOS token based notifications and for this I found a tutorial named: "token-based-authentication-http2-example-apns" ..... More

Print this item

  syntax for endswith a digit
Posted by: birdieman - Mar-04-2017, 05:49 PM - Forum: General Coding Help - Replies (2)

in a small loop, I am trying to sum all of the lineEdits (in a PyQt5 GUI) whose objectName endswith a number in a particular frame.  So far, I have th..... More

Print this item

  'string index out of range' error when code replaces characters
Posted by: Ivan - Mar-04-2017, 03:54 PM - Forum: General Coding Help - Replies (1)

[color=#242729][size=small][font=Arial,]This hangman game isn't entirely finished as I'm still working on it, however i came across this error which o..... More

Print this item

  How to fork a process, kill the child and not kill the parent?
Posted by: neXussT - Mar-04-2017, 02:13 PM - Forum: GUI - Replies (3)

This post is getting dark.

I have a small gui with tkinter and python 2.7, where I need to execute shutil.copy2(), which can take some time. Obviou..... More

Print this item

  img tag
Posted by: snippsat - Mar-04-2017, 12:39 PM - Forum: Board - Replies (14)

I can not post anymore in this lin[url=https://python-forum.io/thread-2284.html]..... More

Print this item

  separating different parts of a listbox
Posted by: gray - Mar-04-2017, 08:21 AM - Forum: GUI - Replies (3)

in generally, how can i seprate the different psrts of one item from listbox.
in reality, this item is a row of the listbox. the different parts of a..... More

Print this item

  how to select particular rows data from a array
Posted by: raady07 - Mar-04-2017, 03:32 AM - Forum: Data Science - Replies (3)

I am new programmer to python. 
I have a text file having 360 rows and 190 columns of data. 
In matlab, if I load the text file and x_data will be var..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Python Install Mager Help 33 minutes ago bowens1983 DeaD_EyE News and Disc...
  tracking version during r... 1 hour ago Skaperen DeaD_EyE News and Disc...
  Comparing two columns wit... 1 hour ago doug2019 Pedroski55 General Codin...
  [WxPython] [SOLVED] Let u... Yesterday, 11:19 Winfried Winfried GUI
  Convert any Python expres... Yesterday, 07:06 voidtrance DeaD_EyE General Codin...
  Using EventSource in Pyth... 06-22, 08:45 rbadis snippsat Web Scraping ...
  need help with tracking a... 06-22, 02:14 gqdeep01 gqdeep01 General Codin...
  A penny doubled every day... 06-21, 17:26 esoyboy DeaD_EyE Homework
  I have a question 06-21, 09:26 Clictithe noisefloor General Codin...
  Problème d'exécutable 06-21, 09:22 Zauf noisefloor General Codin...
  How do select this table ... 06-20, 19:21 MarkMan snippsat Web Scraping ...
Most views
  The best Prog... 572310
  Tutorial Requ... 484881
  Web Scraping ... 436845
  Newbie with P... 379680
  Thread remain... 351229
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12067
buran 8173
snippsat 7340
deanhystad 6839
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
as1221 3
Newest members
osmer_dolgopopov1432 Today
v4vv43 Yesterday
bowens1983 Yesterday
Vasil Yesterday
sakshi Yesterday

User Panel Messages

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