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,964
» Latest member: Edzed4431
» Forum threads: 38,730
» Forum posts: 175,547

Full Statistics

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

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: noisefloor
29 minutes ago
» Replies: 4
» Views: 76
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
10 hours ago
» Replies: 1
» Views: 473
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:49 PM
» Replies: 4
» Views: 2,010
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,570
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 472
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 931
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 959
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,226
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,837
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Sep-26-2025, 03:53 AM
» Replies: 1
» Views: 2,879

 
  Callback URL for twitter app
Posted by: Truman - Dec-05-2018, 09:53 PM - Forum: General Coding Help - Replies (5)

I'm trying to create my first twitter app and ran to a wall that is called a callback url/
on twitter website this is an explanation:
https://develope..... More

Print this item

  Not sure how to turn this into a loop
Posted by: iamgonge - Dec-05-2018, 09:37 PM - Forum: General Coding Help - Replies (1)

Im very new to python and am a bit stuck. I have some code. I have a variable called data that is json that I need to access. The problem is I get the..... More

Print this item

  from API to ip
Posted by: whatl0ol - Dec-05-2018, 09:11 PM - Forum: General Coding Help - Replies (12)

Hello, I have python webserver runnng flask.
I need python script
IP requests for json, go to API request for json receive it and send to IP

I d..... More

Print this item

  pyttsx3 cuts off when run from py file
Posted by: duelistjp - Dec-05-2018, 08:37 PM - Forum: General Coding Help - Replies (4)

i'm using pyttsx3 on a raspberry pi running raspbian which is debian linux to read out the current time and date. this is a simple test of the module..... More

Print this item

  Yahtzee poker game. Python3
Posted by: Newby - Dec-05-2018, 05:18 PM - Forum: Game Development - Replies (3)

Hi there. I am new in Python. A friend of mine offered me a challenge. SO am in.
Yahtzee is a poker game, but u also use 5 bones in it. Each member o..... More

Print this item

  Need help with a mock paper question
Posted by: MarkDervan - Dec-05-2018, 05:18 PM - Forum: Homework - Replies (4)

Q. Your friend has devised a game with two players. The two players,
called A and B, take turns rolling an ordinary six-sided die, with A being..... More

Print this item

  Exception Hanlding of Lists
Posted by: anelliaf - Dec-05-2018, 04:12 PM - Forum: General Coding Help - Replies (2)

Hello,

I'm writing a program that will list available databases to a user based on their tnsnames.ora and then allow them to make a connection to o..... More

Print this item

  setting pythonpath variable in environment variables
Posted by: saisankalpj - Dec-05-2018, 02:45 PM - Forum: General Coding Help - Replies (3)

parent/
    __init__.py
    one/
        __init__.py
        sample1.py
    two/
        __init__.py
        sample.py
  
I have a s..... More

Print this item

  Is there an iterable queue in python?
Posted by: AlekseyPython - Dec-05-2018, 01:34 PM - Forum: General Coding Help - Replies (3)

Python 3.7.1

I found queue class in the standard library. Unfort..... More

Print this item

  How recursion function is applied?
Posted by: dukoolsharma - Dec-05-2018, 11:50 AM - Forum: General Coding Help - Replies (2)

What is recursion function in python? can anyone explain it with example?

Print this item

  i have problems understanding 2 functions,look for help.
Posted by: Tony - Dec-05-2018, 10:20 AM - Forum: General Coding Help - Replies (2)

these 2 functions are

def print_end():
    print()

def nothing():
    "do nothing"
for the first function, what is meant by ..... More

Print this item

  Tweepy: download tweets of list of followers
Posted by: frexhs - Dec-05-2018, 08:42 AM - Forum: Homework - Replies (3)

Hi guys, I’m currently working on a term project surrounding the analysis of Twitter followers. For that, I’m using Tweepy and a ..... More

Print this item

  How read Table Structure from Database
Posted by: nnsatpute - Dec-05-2018, 08:08 AM - Forum: General Coding Help - Replies (5)

Hello,

I want to read the table description for particular table database and create the hive QL (HQL) statement
to create table in Hive using p..... More

Print this item

  I am getting a KeyError, after file save, My goal is to after changes save file
Posted by: ervijay587 - Dec-05-2018, 05:52 AM - Forum: General Coding Help - Replies (1)

This is my Code:
[python]
import openpyxl
from openpyxl import load_workbook

#load existing excel file from the storage
wb = load_workbook("tes..... More

Print this item

  Removing timestamps from transcriptions
Posted by: jehoshua - Dec-05-2018, 03:17 AM - Forum: General Coding Help - Replies (5)

There are various files of transcriptions and they have timestamps in them. They look like this ..

[quote]So from 12:23 that very moment you actual..... More

Print this item

  Issue with a script to convert xls to json
Posted by: Will86 - Dec-05-2018, 01:38 AM - Forum: General Coding Help - Replies (2)

Hi there,

It seems that I have an issue with this python 2 script (from https://github.com/paceaux/xlsx-to-json) translated to py3.

Any idea on ..... More

Print this item

  I need a serial device expert!
Posted by: Caesars_10th - Dec-05-2018, 12:04 AM - Forum: General Coding Help - Replies (10)

Hello! I am very new to python and possibly just as new to information flow from devices to computers. The only thing I know is that everything is sen..... More

Print this item

  Ping command using python 3.6.5
Posted by: Martin2998 - Dec-04-2018, 09:58 PM - Forum: General Coding Help - Replies (6)

Hey all,

I want to ping a server and perform an action based on the result. My problem is getting the ping ressult in an format that i can use for in..... More

Print this item

  combobox value PyQt
Posted by: shift838 - Dec-04-2018, 09:33 PM - Forum: GUI - Replies (9)

I a learning python programming and selected PyQt5 to use for my GUI.

I have created a test form just to get the feel of python and I want to conne..... More

Print this item

  Need help with coding!
Posted by: codemaster - Dec-04-2018, 08:50 PM - Forum: Homework - Replies (2)

I need to make a code which prints out the following in just 4 lines of code.
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
And so forth until..... More

Print this item

  Pandas Dataframe conditional actions
Posted by: tom1983 - Dec-04-2018, 08:25 PM - Forum: Data Science - Replies (1)

Hey there,

I have a simple Pandas Dataframe where I want if the condition is met (A is smaller than A of the line above)take the value of C from th..... More

Print this item

  Probs with leading zeros falling away :-)
Posted by: Badosc - Dec-04-2018, 05:27 PM - Forum: General Coding Help - Replies (2)

Hello all,

I need to write to an I2C bus

The problem is that i really need to send 0x000017 with this command to a device

<<bus_device.writ..... More

Print this item

  Python Homework help plz (Python only printing None)
Posted by: chubsie - Dec-04-2018, 05:19 PM - Forum: Homework - Replies (5)

[python]
list=['the','i','am','light','life']
a=sorting(list)

def sorting(x):
for i in range(0,4):
if len(x[i]) < len(x[i+1]):
..... More

Print this item

  loop through list or double loop
Posted by: 3Pinter - Dec-04-2018, 04:05 PM - Forum: General Coding Help - Replies (4)

So. Brainfart here atm.

I have a list of which I don't if it consist out of (all) nested lists or just simple values.

So
listA = ["a", "b", "c"..... More

Print this item

  problems when running a signrawtransaction method
Posted by: wectri - Dec-04-2018, 03:51 PM - Forum: General Coding Help - Replies (1)

Trying to do a transaction via RPC in python. I'm getting the error - TypeError: unhashable type: 'list' - for the line with the private key entry, wh..... More

Print this item

  How to use servo motor with TFMini Distance Sensor in python script?
Posted by: programerguy - Dec-04-2018, 02:41 PM - Forum: General Coding Help - Replies (1)

I am using Adafruit TFmini distance sensor, with servo motor. I want the servo motor to move when distance sensor senses a certain distance. My code m..... More

Print this item

  Run python script remotely using screen
Posted by: programerguy - Dec-04-2018, 02:31 PM - Forum: General Coding Help - No Replies

I am using intel upboard as remote machine and MacBook (using Ubuntu Linux) as my local machine.

I have python script A.py on local machine which h..... More

Print this item

  os.path.isdir(<whatever>) returns always True
Posted by: Fabrizio - Dec-04-2018, 02:22 PM - Forum: General Coding Help - Replies (3)

I am running a Python script, which is supposed to check whether a directory already exists:
import os
[python]
#!/usr/bin/env python

source_di..... More

Print this item

  How to extract digits in table of image using python
Posted by: SuSeegio - Dec-04-2018, 01:02 PM - Forum: General Coding Help - Replies (3)

Hey Guys, Am unable to extract the digits in box of image (Ex-SSN, TIN) using python opencv. Any suggestions or related posts on this.

[url=https:..... More

Print this item

  Debugging Python
Posted by: Astrikor - Dec-04-2018, 12:22 PM - Forum: General Coding Help - Replies (1)

Having come from Excel VBA, I am looking for similar debugging capabilities in Python.

I have been using Idle, which apparently does not have such ..... More

Print this item

  mysql database error
Posted by: brecht83 - Dec-04-2018, 11:50 AM - Forum: Web Scraping & Web Development - Replies (1)

I'm writing a program with Dash where I update a graph according to the data the users selects in a dropdown menu. The graph data comes from a mysql d..... More

Print this item

  Python Developer - Up to £85,000
Posted by: CMENDEZJONES - Dec-04-2018, 10:50 AM - Forum: Jobs - Replies (2)

Python, Python Developer, SQL, Linux, Haskell, Scheme, Scala, Erlang, London, UK, API, North West

Job Opportunity – Python Developer – North West L..... More

Print this item

  PyQt Selected row in Table Widget
Posted by: rarevesselt - Dec-04-2018, 09:45 AM - Forum: GUI - Replies (3)

   
How can I dynamically select row and get the product id value for the selected product to be passed into the query?



[python]d..... More

Print this item

  How I can create reference to member of the class instance?
Posted by: AlekseyPython - Dec-04-2018, 08:46 AM - Forum: General Coding Help - Replies (8)

Python 3.7.1

I wrote this class:
[python]class Cycler(object):
def __init__(self, data):
self.data = data

def do(self):
..... More

Print this item

  Json dictionnary on Redis
Posted by: katsu707 - Dec-04-2018, 08:38 AM - Forum: General Coding Help - Replies (1)

Hi everyone, I'm a complete beginner and here's my issue:

I have Flask as a webserver, Redis is counting the number of hits on the root. I added a ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 29 minutes ago tester_V noisefloor General Codin...
  My goal to be hired worki... 10 hours ago GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... Yesterday, 18:49 arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
Most views
  The best Prog... 577195
  Tutorial Requ... 500206
  Web Scraping ... 440899
  Newbie with P... 384911
  New Users Int... 369191
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+ 12089
buran 8176
snippsat 7368
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Edzed4431 Yesterday
chaoh1911 Yesterday
KaydenJonah098 Yesterday
carlbidwell Yesterday
llarkin6 09-26

User Panel Messages

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