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,954
» Latest member: Perry
» Forum threads: 38,727
» Forum posts: 175,525

Full Statistics

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

Latest Threads
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
42 minutes ago
» Replies: 3
» Views: 125
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
3 hours ago
» Replies: 0
» Views: 326
extracting data from a us...
Forum: General Coding Help
Last Post: Perry
3 hours ago
» Replies: 0
» Views: 49
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 02:48 PM
» Replies: 10
» Views: 29,332
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,399
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 269
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 716
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 912
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,170
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,385

 
  Treeview automatically adjust it's size when pack inside frame
Posted by: Prince_Bhatia - Jul-25-2018, 02:35 AM - Forum: GUI - Replies (1)

Hi guys, i have a question, i am creating a tkinter project where i will display data into tkinter window from database. For this i am using tkk treev..... More

Print this item

  Registry Key Access
Posted by: malonn - Jul-25-2018, 02:12 AM - Forum: General Coding Help - Replies (11)

How can I get access to an administrator-level access registry key via code? I read ..... More

Print this item

  code pattern to test if list has all the same
Posted by: Skaperen - Jul-25-2018, 01:12 AM - Forum: General Coding Help - Replies (5)

hey all beginners (newbies). this is for you.

this is so simple, coding a function to do it is not worth it. this code checks to see if [b..... More

Print this item

  Download all secret links from a map design website
Posted by: fyec - Jul-24-2018, 09:08 PM - Forum: Web Scraping & Web Development - No Replies

There is a website which shows links on a map (map layer currently can't be shown but links can be shown as points).
To view this website, this must ..... More

Print this item

  Grid Problem
Posted by: Deniz_ozbe - Jul-24-2018, 08:23 PM - Forum: GUI - Replies (1)

Hi,

I have a grid problem. I could not add the image named "emptycart.gif" under the "SHOPPING CART" label.


[python]from tkinter import *
..... More

Print this item

  sys.argv correct sintax?
Posted by: enricosx - Jul-24-2018, 08:23 PM - Forum: General Coding Help - Replies (3)

hello i want use
python3 rgb.py colore modalita
but sys.argv[1] and sys.argv[2] not work.

my code
[python]
import os, sys
from gpiozero import..... More

Print this item

  os.system doesn't generate same result as shell?
Posted by: abc12346 - Jul-24-2018, 08:22 PM - Forum: General Coding Help - Replies (1)

HI, I am a newbie of python and tried to use mixed python and shell code in my python script to achieve my goal. Therefore I use quite a lot of os.sys..... More

Print this item

  whuch is easiest to read?
Posted by: Skaperen - Jul-24-2018, 08:21 PM - Forum: Bar - Replies (2)

which of these is easiest to read?

#0[python] if t is str:
return ''.join([chr© for c in o])
if t is unicode:
..... More

Print this item

  things i am working on
Posted by: Skaperen - Jul-24-2018, 07:46 PM - Forum: Bar - No Replies

posted in the bar because this is the place for stuff nobody cares about.

stuff i am working on today, and probably this week:

0. a func..... More

Print this item

  Iterating over two lists in python
Posted by: dgm - Jul-24-2018, 07:29 PM - Forum: General Coding Help - Replies (2)

I have two lists:

node=['v', 'r', 'r', 'v', 'r', 'r', 'r', 'r', 'v', 'v', 'r', 'v', 'v', 'v', 'v', 'v', 'v', 'v', 'v', 'v']

percent=[5.0, 10.0, ..... More

Print this item

  A Neat way to use pathlib
Posted by: Larz60+ - Jul-24-2018, 07:06 PM - Forum: Tutorials - No Replies

I have a directory structure which is composed of Countries, States or other subdivision, and Cities.
Here's a way to use pathlib objects in a dicti..... More

Print this item

  "Microsoft Visual C++ 14.0 is required", but can't be found
Posted by: corona79 - Jul-24-2018, 06:10 PM - Forum: General Coding Help - Replies (2)

[quote]building '_mysql' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghu..... More

Print this item

  Python question
Posted by: shakeelthomas - Jul-24-2018, 05:28 PM - Forum: Bar - Replies (1)

Say for example i'm an M.I.S undergrad, is it beneficial for me to learn python since it's more used in the business field? Or would it be better to l..... More

Print this item

  IR coding
Posted by: DPaul - Jul-24-2018, 05:27 PM - Forum: General Coding Help - Replies (4)

Hi,

I'm looking to send messages via IR (whole numbers actually).
I have the hardware set up, latest LIRC installed,
but i am getting confused wh..... More

Print this item

  Attribute error
Posted by: RandomCoder - Jul-24-2018, 04:46 PM - Forum: General Coding Help - Replies (1)

This is what i did
[python]from tkinter import *
import random
import time
root = Tk()

class e():
def startofgame():
e.Name=str(n..... More

Print this item

  How do you know when a library is working correctly?
Posted by: grjmmr - Jul-24-2018, 02:47 PM - Forum: General Coding Help - Replies (1)

Working on an led project. Calls out for ethernet.h, artnet.h and fastled.h. I have confirmed that the ethernet and fastled libraries are working by r..... More

Print this item

  how do i make text apear only once
Posted by: ScMc1943 - Jul-24-2018, 02:31 PM - Forum: General Coding Help - Replies (5)

i am trying to make a simple program with numbers, but whenever i attempt to add a number, i know i have to make ONE new line, but [b]is it possible t..... More

Print this item

  python export to csv writes extra line between rows
Posted by: jahjahcity - Jul-24-2018, 02:29 PM - Forum: General Coding Help - Replies (4)

I am having issues with the following export from sql table to csv. the output file is creating a extra line between each row, i need to resolve this...... More

Print this item

  Plot on gui window
Posted by: macellan85 - Jul-24-2018, 01:59 PM - Forum: GUI - Replies (1)

Hi all,
I'm trying to embed a plot script on my gui however didn't succeed it yet. The task that the complete design performs is:

script 1: Reads ..... More

Print this item

  Hough transfrom with itk
Posted by: Hakookaine - Jul-24-2018, 12:31 PM - Forum: Data Science - Replies (2)

Hello everybody, I need your help ! Smile

I've been searching for 2 days how can I use the tranform of Hough (circles on 2D image). For this ..... More

Print this item

  Beginner Loop question
Posted by: BigDisAok - Jul-24-2018, 11:16 AM - Forum: General Coding Help - Replies (5)

Hi,

So I am writing a very basic text based game, and have put a loop withing a loop for depending upon which game branch I go down. I was wonderi..... More

Print this item

  suggest specific tutorial
Posted by: SchroedingersLion - Jul-24-2018, 10:14 AM - Forum: News and Discussions - Replies (11)

Greetings guys,

I am new here and new to Python. I am working at my Master thesis right now, which is in theoretical physics. We do lots of calcula..... More

Print this item

  Pyrex versus python
Posted by: sylas - Jul-24-2018, 10:05 AM - Forum: General Coding Help - Replies (12)

Hi all! I found a file in the language Pyrex and should like to transform it in python.
[python]#Pyrex - a Language for Writing Python Extension Modu..... More

Print this item

  Preventing useless multiple disk writes
Posted by: Steffenwolt - Jul-24-2018, 08:44 AM - Forum: General Coding Help - Replies (9)

Hi there,
I have this program (datalog_v26) that reads sensors and writes the readings to disk.

[python]
#!/usr/bin/env python

#==============..... More

Print this item

  Problem with datetime module
Posted by: PierreSoulier - Jul-24-2018, 07:56 AM - Forum: General Coding Help - Replies (3)

Hello,

i have a csv file. It represents events that happen in France. One column contains date written like so 'YYYY-MM-DD'. I want to delete every..... More

Print this item

  moving variables to and fro functions
Posted by: zukochew - Jul-24-2018, 07:05 AM - Forum: Homework - Replies (4)

Hello all,
I am a beginner to python.

I am unable to transfer the value of variables() to dispense. I was instructed to put value into the brack..... More

Print this item

  while loop question
Posted by: Tripler - Jul-24-2018, 05:44 AM - Forum: Homework - Replies (4)

Hello everyone,

I am a beginner of Python and I have some questions regarding how to use while loop. I would like to calculate the sum of all the neg..... More

Print this item

  "can only concatenate tuple"?
Posted by: wlsa - Jul-24-2018, 04:44 AM - Forum: Homework - Replies (2)

The question wants me to create a function that takes a tuple as an input, and returns a new tuple as an output, where every other element of the inpu..... More

Print this item

  Strange Pandoc Error
Posted by: AreebSooYasir - Jul-24-2018, 04:30 AM - Forum: General Coding Help - No Replies

Hi everyone I am trying to troubleshoot this issue as it is not apparent to me why the filter is failing.
Many thanks if anyone can solve the issue!..... More

Print this item

  Multiple "return" statements or "result" variable?
Posted by: WolfWayfarer - Jul-24-2018, 02:14 AM - Forum: General Coding Help - Replies (7)

I've been wondering about the best option between multiple return statements and the use of an intermediary result variable. This of course in the cas..... More

Print this item

  Homework Help - Simple Grading System
Posted by: Segovia - Jul-24-2018, 01:14 AM - Forum: Homework - Replies (7)

The assignment is to create a grading system. Not completely sure what I'm doing wrong at this point. Any suggestion or insight to fix my syntax error..... More

Print this item

  Service Now CSV Export Redirection Python
Posted by: mavecnirp - Jul-24-2018, 12:56 AM - Forum: Web Scraping & Web Development - Replies (1)

I am new in python and currently working on a project and I have been stuck in exporting a table from the servicenow website using the code below, but..... More

Print this item

  path.exists() problem
Posted by: CAHinton - Jul-23-2018, 11:57 PM - Forum: General Coding Help - Replies (2)

I can't get Python to recognize a folder as existing from a batch file or command line. However it works fine within the debugger. Thanks in advance f..... More

Print this item

  Trying to import JSON data into Python/Pandas DataFrame then edit then write CSV
Posted by: Rhubear - Jul-23-2018, 09:50 PM - Forum: Data Science - No Replies

Hi, new to Python. Stepping into it for a project I'm trying of processing JSON URL output from Cryptocompare.com prices website.
Wanting to edit da..... More

Print this item

  Splitting values in column in a pandas dataframe based on a condition
Posted by: hey_arnold - Jul-23-2018, 08:45 PM - Forum: Data Science - Replies (1)

Hi All,

I have been trying to split data separated by a comma in the 'name' column into two columns, however not all of the rows in this column hav..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] how to export a... 42 minutes ago RonR Pedroski55 GUI
  Is the interpreter that c... 3 hours ago helendamdam helendamdam General Codin...
  extracting data from a us... 3 hours ago Perry Perry General Codin...
  pip install requests does... Yesterday, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 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...
Most views
  The best Prog... 576840
  Tutorial Requ... 499295
  Web Scraping ... 440624
  Newbie with P... 384598
  New Users Int... 368515
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+ 12088
buran 8176
snippsat 7367
deanhystad 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Perry Today
bianchiluca116 Yesterday
Jorgecog Yesterday
adamsmith12 Yesterday
Ronny Yesterday

User Panel Messages

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