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,947
» Latest member: Markbel386
» Forum threads: 38,726
» Forum posts: 175,523

Full Statistics

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

Latest Threads
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 5
» Views: 9,110
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
6 hours ago
» Replies: 0
» Views: 42
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Today, 03:29 AM
» Replies: 2
» Views: 432
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Today, 02:36 AM
» Replies: 0
» Views: 76
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 08:56 PM
» Replies: 9
» Views: 567
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,799
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,115
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,473
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,035
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,782

 
  how to execute .py script when button is clicked
Posted by: D_frucht - May-25-2018, 07:46 AM - Forum: GUI - Replies (1)

hello,

im using a pyqt5 for building a gui.

i want that clicking a button will execute gps.py script.

here is the relevant piece of code

[..... More

Print this item

  Want to create my own version of Notational Velocity
Posted by: FrankHuell123 - May-25-2018, 04:12 AM - Forum: General Coding Help - Replies (3)

I'm new to Python but have a basic understanding of how it works.

I want to create my own version of a text editing/note taking program, similar t..... More

Print this item

  i want this program to be as fast as possible
Posted by: Skaperen - May-25-2018, 02:02 AM - Forum: Bar - Replies (3)

i want this program to be as fast as possible, so i might do it in C. it's an admin tool. what it is to do on Linux or Unix is to force the PID numb..... More

Print this item

  Old problem back hunting me installing
Posted by: Blue Dog - May-25-2018, 01:14 AM - Forum: Web Scraping & Web Development - Replies (4)

Hello
Been a long time, but been working hard to learn python.
I can solve most of my problems. I can't understand this one at all.
I have python ..... More

Print this item

  test if variable is Numeric?
Posted by: ilcaa72 - May-25-2018, 01:08 AM - Forum: General Coding Help - Replies (12)

hi, in Visual Basic i can use IsNumeric() function, returns T/F. How do I test if a variable is an integer in python... using standard library

tah..... More

Print this item

  Converting IP 2 DOMAIN
Posted by: jetli2 - May-24-2018, 10:34 PM - Forum: General Coding Help - Replies (8)

Converting IP 2 DOMAIN - Today, 09:57 PM
Hello Guys,I was trying to convert IP's to domain using python #ls + chmod +url.py as the command but i keep..... More

Print this item

  How to removewhat is common from one text file using another text file
Posted by: petertyler - May-24-2018, 09:54 PM - Forum: General Coding Help - Replies (1)

I have a file that contains the following text.

File1.txt

For all intents and purposes, the reason Mr. Henderson arrived late for work was due t..... More

Print this item

  Django - Catching None in Try/Except
Posted by: david - May-24-2018, 09:37 PM - Forum: Web Scraping & Web Development - Replies (1)

Essentially, using Django, I've got a next tutorial button that finds the next tutorial by selecting an order value greater than the current tutorial,..... More

Print this item

  2-D list element assignment
Posted by: ashutosh759 - May-24-2018, 09:09 PM - Forum: General Coding Help - Replies (1)

nm = 4
c = [[0, False]] * nm
c[0][0] = 1
print(c)
I expected that it should give an output as [0, False] (Printed 4 times). I..... More

Print this item

  Only print new data/links
Posted by: snifferprime - May-24-2018, 07:09 PM - Forum: Web Scraping & Web Development - Replies (2)

I'm coding a page monitor to grab the link of new items on nike.com, but I'm not sure how to have python only return the link if the item is brand new..... More

Print this item

  Help
Posted by: alwillia - May-24-2018, 06:32 PM - Forum: Homework - Replies (2)

[python]
# Your code below...
name = " "
number_of_names = int(input("How many names do you have: "))

for i in range(number_of_names):
nex..... More

Print this item

  Traceback error - I don't get it
Posted by: tjnichols - May-24-2018, 05:37 PM - Forum: Web Scraping & Web Development - Replies (2)

This is the code I'm trying to run. It's very straight forward. Line 70 is looking for an 'api.txt' file that is in a 'text' folder - line 17 is actua..... More

Print this item

  Iam new to Python Need Help
Posted by: hitesh222002 - May-24-2018, 03:33 PM - Forum: General Coding Help - Replies (2)

Hello All,

I tried running the below program in the 'Python 2.7.14 Shell', but I did not get any output at the end of the program.

f = open("C:/..... More

Print this item

  SqLite near field error
Posted by: raniat123 - May-24-2018, 02:35 PM - Forum: General Coding Help - Replies (6)

I wrote this code. When I run it I don't get errors but I can't get the values inserted in the table, I end up with a database with table1 that's empt..... More

Print this item

  Getting error only one sdist may be uploaded
Posted by: sansupercool - May-24-2018, 02:23 PM - Forum: General Coding Help - No Replies

Why is this creating 2 tar.gz files, ‘ python setup.py sdist? I am trying to upload using twine upload -r pypitest dist/*.tar.gz and i get error sayin..... More

Print this item

  Sorting list of names by first two characters
Posted by: Otbredbaron - May-24-2018, 01:09 PM - Forum: Homework - Replies (2)

I need to sort a list of n names where n is read by input, which ends when n is 0.
The thing is that the names must be sorted using only the first tw..... More

Print this item

  work with sound
Posted by: bvonpark - May-24-2018, 10:07 AM - Forum: Jobs - Replies (4)

Hello,

i am looking for someone who could help me with my project. It should be a program for working with sound. Please send me a message if you a..... More

Print this item

  Memory Error
Posted by: jason413 - May-24-2018, 10:07 AM - Forum: Data Science - Replies (6)

I manage a dataset of AMEX, NASDAQ and AMEX stocks over last 40 years. I encountered a memory error shown as follows:
File "C:\Users\lokac\Anaconda3..... More

Print this item

  Reading of structured .mat (matlab) file
Posted by: sumit - May-24-2018, 09:59 AM - Forum: Homework - Replies (2)

Hi
I am trying to Read .mat (matlab) structured file using python.[/b]
[i]1: I had opened the file using scipy.io
2:Tried to print the data but,al..... More

Print this item

  time.time() - What does it mean?
Posted by: Jack_Sparrow - May-24-2018, 09:12 AM - Forum: General Coding Help - Replies (1)

Hello there,
I am a new user of Python and I don't understand, what does this mean?
time.time()

I found this description to that:

Return th..... More

Print this item

  Twitter extracts on analytics tab
Posted by: parthi1705 - May-24-2018, 08:20 AM - Forum: General Coding Help - Replies (3)

Twitter download data
Is there a way to download one month data using python

https://analytics.twitter.com/user/username/tweets

say i am inter..... More

Print this item

  Format timestams on x axis using matplotlib
Posted by: igorv - May-24-2018, 07:27 AM - Forum: General Coding Help - No Replies

How to show timestamps on x axis as "%Y-%m-%d %H:%M". ts is list of timestamps and how to show on x axis only values "2018-5-23 14:00", "2018-5-23 14:..... More

Print this item

  class inheritance and property
Posted by: heddapacman - May-24-2018, 06:57 AM - Forum: Homework - Replies (1)

Hello
im trying to manipulate a large amount of data on the form 'date,time, movement'. What i first do in the class Corrections is delete dataerrors..... More

Print this item

  Plotting data over a year
Posted by: xero1998 - May-24-2018, 06:55 AM - Forum: Homework - Replies (8)

Hi!

I want to plot movements over a year but dont get it to work. Do anyone have any suggestions that could help?

[python]

class Corrections:..... More

Print this item

  Set request timeout for socketserver
Posted by: voltron - May-24-2018, 06:17 AM - Forum: Networking - No Replies

I'm implementing simple server which should accept connection from client, receive and send data from some time (e.g. couple of minutes) then close co..... More

Print this item

  Please Help
Posted by: alwillia - May-24-2018, 02:48 AM - Forum: Homework - Replies (1)

[python]
"""


Write a program that asks the user for three test scores. The program should then report the average of these three scores. You wil..... More

Print this item

  Finding date count from a list of date range in pandas
Posted by: trillerducas72 - May-24-2018, 02:30 AM - Forum: Data Science - No Replies

I have the pandas df in the following format (with NoOFDays being EndDate - StartDate)

------------------------------------------
|Item | ..... More

Print this item

  makefiles
Posted by: Skaperen - May-24-2018, 02:12 AM - Forum: Bar - No Replies

an advantage of python, i think i will mention when the opportunity presents itself, is that it does not need a [font=Courier New, Courier, monospace]..... More

Print this item

  Time series
Posted by: honda_933 - May-24-2018, 01:06 AM - Forum: Data Science - Replies (6)

Hi I'm trying to find a simple way to run through a large data set (2432094 lines). I'm currently writing a program that takes the first 480 lines (8 ..... More

Print this item

  Issue with logic in homework
Posted by: fad3r - May-24-2018, 12:41 AM - Forum: Homework - Replies (5)

Hi,
So my homework is to look at 3 strings. If the string has not before bad I am suppose to replace the everything between not and bad with good.

S..... More

Print this item

  3 conditions to check and return
Posted by: ilcaa72 - May-24-2018, 12:02 AM - Forum: General Coding Help - Replies (3)

i want to check/return for 3 conditions, it loops shortest str and finds diff in other
1. if difference is immediate before end of range, return inde..... More

Print this item

  Random quiz generator
Posted by: Truman - May-23-2018, 11:54 PM - Forum: Homework - Replies (16)

[python]
#! python3
# randomQuizGenerator.py - Creates quizzes with questions and answers in
# random order, along with the answer key.

import random..... More

Print this item

  Python/Twitch Bot
Posted by: TonyF507 - May-23-2018, 10:26 PM - Forum: Networking - No Replies

Hello Everyone,
I am working on a project for my twitch stream that will need to involve twitch chat commands going to a python script then those co..... More

Print this item

  TurtleWorld module not found
Posted by: sangurocactus - May-23-2018, 10:09 PM - Forum: General Coding Help - Replies (1)

Hello-I installed Swampy 2.1.5 on Python 2.7.15 correctly. However, when I try to run the code below, I keep getting an error message "ImportError: No..... More

Print this item

  get the last index number
Posted by: ilcaa72 - May-23-2018, 09:53 PM - Forum: General Coding Help - Replies (3)

s = "kitti"

0,1,2,3,4
k,i,t,t,i
how do i retrieve '4', the last index value. i know i can do a len(s)-1, but i assume there is..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Creating a Mindmap progra... 4 hours ago J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 6 hours ago compuman145 compuman145 General Codin...
  A coding beginner needs h... Today, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Today, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... Yesterday, 20:56 Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
Most views
  The best Prog... 576702
  Tutorial Requ... 498886
  Web Scraping ... 440515
  Newbie with P... 384482
  New Users Int... 368218
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 8176
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Markbel386 Today
trntgl Today
susan Today
jatinkumar12 Today
angelhealu504 Today

User Panel Messages

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