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,249
» Latest member: bmurray
» Forum threads: 38,779
» Forum posts: 175,819

Full Statistics

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

Latest Threads
New to python and coding
Forum: Homework
Last Post: jefsummers
3 hours ago
» Replies: 4
» Views: 106
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
5 hours ago
» Replies: 6
» Views: 176
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 309
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 278
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 108
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,622
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 212
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 190
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,258
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,424

 
  Show DataFrame in wx.Grid
Posted by: ian - Jul-05-2017, 04:02 PM - Forum: GUI - No Replies

I created a wx.grid in wx.frame and a panda DataFrame with data from internet. Is there a better way to show the data in the grid ? Thanks.

[python..... More

Print this item

  find cell value with matching regular expression of a row in excel file
Posted by: hruday - Jul-05-2017, 10:02 AM - Forum: General Coding Help - Replies (4)

Python -- 3.5 pip 8.1.2 openpyxl centos 7

I am trying to read an excel file using above specifications. So i loop through all rows in an excel file..... More

Print this item

  cant execute a script without prefixing with python3
Posted by: hunnimonstr - Jul-05-2017, 07:30 AM - Forum: General Coding Help - Replies (1)

EDIT * PROBLEM SORTED !! i wasnt prefixing the command with a ./ face!palm moment..


I have tried a shebang
#!/usr/bin/python3.4
Confirmin..... More

Print this item

  safe text to html
Posted by: Skaperen - Jul-05-2017, 06:02 AM - Forum: News and Discussions - Replies (10)

i am looking for code (command, module, function, etc.) that take a string with one or more lines of text and converts it to simple html that will dis..... More

Print this item

  dppvzz.py
Posted by: Skaperen - Jul-05-2017, 03:01 AM - Forum: Code sharing - No Replies

this is the code that originated the pv() function that was the subject of the UnboundLocalError (that thread is ..... More

Print this item

  New to Python
Posted by: OptimusBri - Jul-04-2017, 07:30 PM - Forum: General Coding Help - Replies (3)

Hey all, hope everyone is doing great.  New python coder here.  My question is, what's the difference between the two codes below? When I run it, ther..... More

Print this item

  Openpyxl issues
Posted by: DodoMerlin - Jul-04-2017, 07:28 PM - Forum: General Coding Help - Replies (1)

Hey all!
I'm a beginner in python and I want to make a program that could analyse Excel sheets.
I just got some troubles because I want to make the ..... More

Print this item

  Script for a good cause
Posted by: Rapefruit - Jul-04-2017, 09:58 AM - Forum: Data Science - Replies (3)

Hi!

I was hoping you could help me with a short script that will likely take you guys 5 Minutes to put together while I would spend 20 nights and g..... More

Print this item

  PyQT
Posted by: sxathk - Jul-04-2017, 09:48 AM - Forum: GUI - Replies (2)

Hello there,

I m looking for a fast response ( preferably cross platform -mac and windows ) GUI. I heard PyQt is a very good one as cross platform ..... More

Print this item

  newbie problem
Posted by: Pedroski55 - Jul-04-2017, 05:28 AM - Forum: General Coding Help - Replies (3)

I am new to Python, I have a book entitled 'Automate the Boring Stuff' by Al Sweigart. I am going through it.

Why is myName = input()  not working?..... More

Print this item

  I found some thing new that I am not sure about
Posted by: Blue Dog - Jul-04-2017, 12:49 AM - Forum: Web Scraping & Web Development - Replies (9)

I have been working with this code from tut and picking the code apart. I got everything to work fine, the in the tut. they made a few changes. That i..... More

Print this item

  dynamically print based on terminal size
Posted by: Myersj281 - Jul-03-2017, 05:39 PM - Forum: General Coding Help - Replies (1)

I want to print something like this:

help().............................................Display this help message.
 to the terminal w..... More

Print this item

  first steps with python3
Posted by: hunnimonstr - Jul-03-2017, 11:27 AM - Forum: General Coding Help - Replies (5)

Hi all i could use a few pointers in the right directions.

I am trying to automate the patio plant care, and automatically water plants as they nee..... More

Print this item

  Functions
Posted by: Anele - Jul-03-2017, 11:18 AM - Forum: General Coding Help - Replies (3)

my question here

my code here
I am new python user as i have embark to do programming, i have a task to complete but i having some c..... More

Print this item

  Subprocess Popen command issues.
Posted by: Rabster - Jul-03-2017, 01:39 AM - Forum: General Coding Help - Replies (1)

I am having troubles using subprocess.Popen as it seems to give me an error when I try specifying the process to open test to test.py
If I leave it a..... More

Print this item

  Calculating time difference between times and splitting the HH and MM
Posted by: Bass - Jul-02-2017, 08:30 PM - Forum: General Coding Help - Replies (7)

Hi,

Can you help with a time comparrison quesion in Python 3.6?

I want to calculate the hours and minutes between two time and then display the diff..... More

Print this item

  Tkinter
Posted by: kerzol81 - Jul-02-2017, 07:17 PM - Forum: GUI - Replies (2)

Hi,

I'd like to have a GUI for a little project, a directory hasher. It works fine with CLI. I'm completely new to Tkinter, could you please help m..... More

Print this item

  All RGB
Posted by: nilamo - Jul-02-2017, 06:53 PM - Forum: Code sharing - Replies (2)

I recently found the site https://allrgb.com/ and also recently saw the stack overflow code golf for a similar project: https://codegolf.stackexchange..... More


Attached Files

Thumbnail(s)
   
Print this item

  Accessing files via python
Posted by: gahdzilla - Jul-02-2017, 03:42 PM - Forum: General Coding Help - Replies (4)

Ok so I'm getting an error when I am trying to access a file on my computer. I'm using the python shell and version is 3.6.1 All I want to do with the..... More

Print this item

  Word generator
Posted by: jack1234 - Jul-02-2017, 02:58 PM - Forum: Homework - Replies (10)

Hello guys,
can anyone make a code for me?
I need a 4 letter word generator , the word mustn't have a meaning, but atleast 1 vowel.
Ty for your hel..... More

Print this item

  Excel analysis
Posted by: SamB - Jul-02-2017, 12:14 AM - Forum: Data Science - Replies (3)

Hi,

I am very new to python and decided to learn so I could automate my very time-consuming excel data analysis. I have managed to write a simple s..... More

Print this item

  Very New to Python
Posted by: wfsteadman - Jul-01-2017, 02:11 PM - Forum: General Coding Help - Replies (1)

Greetings all,
I am very new to python. I have a project I am working on and figured Python might be a good tool. I have a directory with a large..... More

Print this item

  np.arrange error - no attribute
Posted by: pksherard - Jul-01-2017, 12:44 PM - Forum: Data Science - Replies (3)

Python novice.
I am using the Canopy Python editor.
I cannot get the arrange command to work.
----------------------------------------
import nump..... More

Print this item

  local namespace vs. global namespace
Posted by: Skaperen - Jul-01-2017, 02:59 AM - Forum: General Coding Help - Replies (13)

[output]
globals()['pv'] = <function pv at 0x7f303a969268>
Traceback (most recent call last):
 File "launch.py", line 760, in <module>
   result=m..... More

Print this item

  Limiting Decimals
Posted by: FZMoto - Jul-01-2017, 01:44 AM - Forum: Homework - Replies (2)

I am fresh into a programming fundamentals course, so yes, I have looked at python documentation on how to do what I am asking, I just don't have the ..... More

Print this item

  [pandas, plot] : complex bug
Posted by: membreComplexe12 - Jun-30-2017, 11:31 PM - Forum: Data Science - No Replies

Hello,

first of all, sorry for my english..

I write to you because a have a very strange problem and I can't solve it by myself, please could y..... More

Print this item

  Problem with Python, MySQL and Multi-threading queries
Posted by: zagk - Jun-30-2017, 11:02 PM - Forum: General Coding Help - Replies (1)

Hello guys. I hope you can help me with the following issue:
I am working with python, MySQL and multithreading, and really newbie in all of this; ho..... More

Print this item

  Closing SQL Connection within Class
Posted by: vviiper - Jun-30-2017, 09:37 PM - Forum: General Coding Help - Replies (1)

I've created a separate Python file with a class stored in it. I'm using the mysql.connector module to perform my mysql connection and queries. This i..... More

Print this item

  Referencing dictionary in a for loop
Posted by: johnjoepaddyfrancie - Jun-30-2017, 04:52 PM - Forum: General Coding Help - Replies (2)

Hey!

I'm trying to implement a programme to calculate distances between security and each individual gate in an airport. I'm using Dijkstra's Algo..... More

Print this item

  Button Presses in Certain Time Frame
Posted by: MsCheeseyPuff - Jun-30-2017, 02:23 PM - Forum: General Coding Help - Replies (3)

I made a sound board and I wanted to improve it, so I want to change libraries with the amount of button presses(library A with one press and library ..... More

Print this item

  accessing variables from a decorator
Posted by: ashwin - Jun-30-2017, 11:50 AM - Forum: General Coding Help - Replies (1)

I have code similar to this
[python]def my_function_decorator(f):
def wrap(*args, **kwargs):
my_count_variable = 1
return f(*args, **kwargs)
ret..... More

Print this item

  pip - how to use it?
Posted by: amgp - Jun-30-2017, 06:05 AM - Forum: Game Development - Replies (9)

Purchased a book on Python Game Programming and got stuck after chapter 1.
At the start of chapter 2 i was told to type in: $pip --version and also $..... More

Print this item

  Annotations
Posted by: nilamo - Jun-30-2017, 03:09 AM - Forum: Fundamentals - No Replies

I think annotations are a little special, so I want to try to organize this a little differently than how a tutorial is normally structured.  That is ..... More

Print this item

  SSH Botnet??
Posted by: Kaos_Method - Jun-29-2017, 06:17 PM - Forum: General Coding Help - Replies (2)

Hey everyone!

I'm new here, first post! I've put quite a fair amount of time into Python now, and I'm really enjoying it. I'm a CS major, and I've..... More

Print this item

  Merge Predictions with whole data set
Posted by: mayanksrivastava - Jun-29-2017, 11:39 AM - Forum: Data Science - No Replies

A very basic question. We have dataset with experience and salary

now i wanted to merge my predictions and create an output with experience and th..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 3 hours ago lary_p jefsummers Homework
  Help with Serial.write in... 5 hours ago racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578851
  Tutorial Requ... 509912
  Web Scraping ... 441921
  Newbie with P... 385926
  New Users Int... 376258
Most reputation
buran 581
snippsat 510
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+ 12107
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
bmurray Today
kai_cow2710 Today
Kacper Yesterday
isla123456 Yesterday
vibrometro Yesterday

User Panel Messages

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