Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,303
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,907

Full Statistics

Online Users
There are currently 41 online users.
» 1 Member(s) | 37 Guest(s)
Bing, Google, AOL, Pedroski55

Latest Threads
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
47 minutes ago
» Replies: 3
» Views: 11,079
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 06:10 PM
» Replies: 4
» Views: 166
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 172
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 693
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,816
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 163
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 140
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 228
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,222
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 334

 
  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

  Canvas refreshing problem
Posted by: Faruk - Dec-04-2018, 07:08 AM - Forum: GUI - Replies (2)

Hello Guys. I have a problem about canvas. I work for lift program. When the lift move up or down, program should show number and arrow. I create prog..... More

Print this item

  sorting a deck of cards (objects in a list)
Posted by: itmustbebunnies - Dec-04-2018, 06:03 AM - Forum: Homework - Replies (1)

Hi all! I am working on an assignment that involves sorting a hand of 20 cards from a deck of cards using bubble sort and insertion sort methods. Th..... More

Print this item

  Import Statements?
Posted by: pythonpotato - Dec-04-2018, 03:47 AM - Forum: General Coding Help - Replies (10)

Hi, I'm a brand new user of Python and I'm having some trouble with import statements.

I have the following code which works perfectly fine inside ..... More

Print this item

  Help with cx_Oracle
Posted by: anandoracledba - Dec-04-2018, 02:08 AM - Forum: General Coding Help - No Replies

Hello Gurus,

I started coding in Python 5 days ago and have questions/doubts with cx_Oracle module that I hope can get some help with. I have a SQL..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Python Online Compiler 47 minutes ago alexmaxwell1 ichsanputr News and Disc...
  No new line from print in... Yesterday, 18:10 Lou snippsat General Codin...
  Python is not working on ... Yesterday, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... Yesterday, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
Most views
  The best Prog... 579479
  Tutorial Requ... 512698
  Web Scraping ... 442342
  Newbie with P... 386392
  New Users Int... 381348
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12113
buran 8196
snippsat 7391
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Yesterday
TimTom420 11-27
cruisesfares 11-27
SNR 11-27
Jonathan 11-27

User Panel Messages

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