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,426
» Latest member: sorynturda
» Forum threads: 38,831
» Forum posts: 176,082

Full Statistics

Online Users
There are currently 35 online users.
» 3 Member(s) | 27 Guest(s)
Applebot, Bing, AOL, Google, woooee, kshahzad1985, snippsat

Latest Threads
If I open a file write or...
Forum: General Coding Help
Last Post: noisefloor
1 hour ago
» Replies: 7
» Views: 219
unicode and utf-8
Forum: General Coding Help
Last Post: Gribouillis
1 hour ago
» Replies: 1
» Views: 39
We open-sourced kubesdk —...
Forum: Code sharing
Last Post: JamesGreenwald
5 hours ago
» Replies: 1
» Views: 366
we open-sources faster py...
Forum: Code sharing
Last Post: tomtyiu
Today, 12:31 AM
» Replies: 0
» Views: 42
Exponential Number Conver...
Forum: General Coding Help
Last Post: Jessicaadams
Yesterday, 02:41 PM
» Replies: 5
» Views: 528
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Jan-11-2026, 05:21 AM
» Replies: 3
» Views: 771
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Jan-11-2026, 02:57 AM
» Replies: 8
» Views: 580
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 866
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,817
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 762

 
  Creating a window (part 1)
Posted by: metulburr - Oct-09-2016, 02:54 PM - Forum: Game Tutorials - No Replies

This tutorial starts a series of tutorials. This specific one handles opening a window, and modifications to that window. Feel free to ask questions o..... More


Attached Files

Thumbnail(s)
   
Print this item

  a python script i would like to have
Posted by: Skaperen - Oct-09-2016, 09:00 AM - Forum: General Coding Help - Replies (3)

i would like to have a python script that, given the path to another script, will indicate if there is a reason that other script would need to be run..... More

Print this item

  guessing script
Posted by: simon - Oct-09-2016, 08:02 AM - Forum: Homework - Replies (3)

Hello, this is my first time in python and i need help with my code, i want to guess a number between 1-100, but the problem is i can only guess 1-3ti..... More

Print this item

  Help with click
Posted by: dullboy - Oct-09-2016, 07:54 AM - Forum: General Coding Help - Replies (12)

Here is the code,
[code]
#test.py
import click
def print_version(ctx, value):
   if not value or ctx.resilient_parsing:
       return
   click...... More

Print this item

  Shorten this List Comprehension
Posted by: ATXpython - Oct-09-2016, 01:10 AM - Forum: General Coding Help - Replies (7)

Hello,

I currently have a script that pulls data from rows of a spreadsheet, appends that to a list, then writes that list to a csv file.
Recently..... More

Print this item

  GUI list of installed packages
Posted by: Larz60+ - Oct-09-2016, 12:23 AM - Forum: Code sharing - Replies (2)

Hello,

I had this posted on python-forum.org.
It's a simple tkinter list of installed packages and version numbers

[code]
import tkinter.tix a..... More

Print this item

  Testing unanswered posts (new)
Posted by: ichabod801 - Oct-08-2016, 11:08 PM - Forum: Board - No Replies

Please do not respond to this post.

Quote:TESTING: this post should show in unanswered

Print this item

  Alt history randomized
Posted by: jamesfrancis - Oct-08-2016, 07:26 PM - Forum: Code sharing - Replies (2)

I made this program called the Alt history randomized.
As you can see, it prints a string that basically creates a new, random historical figure, his..... More

Print this item

  Asynchronous Logging in python 2.7
Posted by: Elbi - Oct-08-2016, 06:37 PM - Forum: General Coding Help - Replies (4)

Hi,

I'm new to python. I need help with asynchronous logging implementation

We are doing a lot of logging in our code and we have found that a l..... More

Print this item

  Forum-wide Competition: Rock Paper Scissors [Meta-thread]
Posted by: nilamo - Oct-08-2016, 06:10 PM - Forum: News and Discussions - Replies (10)

This thread exists to hold information about the competition itself... not discussion about individual bots or the current standings (there will be an..... More

Print this item

  Entry widget : unable to get the text entered
Posted by: dlemper - Oct-08-2016, 03:10 PM - Forum: GUI - Replies (2)

System is Windows 8.1  Python 3.5
 
The entry window appears and text can be typed, but I've been unable to get/use that text.
Have reread most web..... More

Print this item

  Competitions?
Posted by: nilamo - Oct-08-2016, 03:04 PM - Forum: Board - Replies (2)

I've been working on a competition for members of our little forum, but... where should I post it? General? Scripts? Bar? It'll be an ongoing thing, w..... More

Print this item

  Cant Get Powershell to run a python program from notepad++. Newbie help!
Posted by: Pythonerous - Oct-08-2016, 02:45 PM - Forum: General Coding Help - Replies (4)

Hey Forum!

Im new here and happy that I'm part of the community.

I just started geting into programming and recived a book on how to learn Pytho..... More

Print this item

  Where are the girls?
Posted by: wavic - Oct-08-2016, 02:22 PM - Forum: Bar - Replies (10)

Any pywomen here? 
I am sure that Python fits on any lady.  :cool:

Print this item

  Dynamic Allocation of Nested Dictionaries
Posted by: Larz60+ - Oct-08-2016, 12:39 PM - Forum: Code sharing - Replies (15)

Hello,

Here's a class for dynamically allocating a dictionary with an example
[code]"""
Dynamic nested dictionary
Author: Larz60+
"""
#
impor..... More

Print this item

  How would i go about making test-pattern images through Rpi via HDMI?
Posted by: john.t - Oct-08-2016, 07:10 AM - Forum: GUI - Replies (1)

Hello,
Iv'e just started using raspberry pi and people told me that python is a good code language to start playing with RPi.
My question is does an..... More

Print this item

  How do i get emacs to show a 79 character line limit ?
Posted by: Skaperen - Oct-08-2016, 05:38 AM - Forum: General Coding Help - Replies (7)

"Limit all lines to a maximum of 79 characters." lots of my CLI windows are 166 characters wide.  but i often edit python files there.  i use emacs in..... More

Print this item

  Need help with lists to continue my assignment code
Posted by: tinabina22 - Oct-07-2016, 10:07 PM - Forum: Homework - Replies (9)

How can I add a name and password to my list named, "samplePasswordFile" using Python 3...... More

Print this item

  grid layout
Posted by: neech - Oct-07-2016, 06:18 PM - Forum: GUI - Replies (8)

I would like to be consistent in my window management (I heard that was best practice). However, I have a window that is 800x400 which is the size of ..... More

Print this item

  Homework help
Posted by: nzieno - Oct-07-2016, 04:00 PM - Forum: Homework - Replies (11)

So my issue is this we have started using functions and the module we are supposed to import does not import its from a zip file for examples from the..... More

Print this item

  Windows/Power Shell: Differences from the tutorial...
Posted by: diemildefreude - Oct-07-2016, 11:05 AM - Forum: News and Discussions - Replies (22)

I've switched to using the "Learn Python the Hard Way" method, which includes an appendix on learning to use the Powershell/other commandinput methods..... More

Print this item

  splitting a string numeically
Posted by: Skaperen - Oct-07-2016, 06:49 AM - Forum: General Coding Help - Replies (14)

i am looking for something that can split a string at a specific interval rather than by content

[python]a = '0123456789abcdefghijklmnopqrstuvwxyz'..... More

Print this item

  in tutorials: Never use "for i in range(len(sequence)):
Posted by: Skaperen - Oct-07-2016, 04:54 AM - Forum: General Coding Help - Replies (1)

i just saw this tutorial.  i have had a couple cases where i n..... More

Print this item

  Ternary/Conditional Expressions
Posted by: Mekire - Oct-06-2016, 10:43 PM - Forum: Fundamentals - Replies (1)

If you have ever required a simple if/else statement in your code then conditional expressions might be of interest to you.

The standard if/else st..... More

Print this item

  Lambda: How, Why, and Why not.
Posted by: Mekire - Oct-06-2016, 10:30 PM - Forum: Fundamentals - No Replies

When I first started learning python I found lambda extremely confusing.  It isn't that there is anything particularly complicated about it; but somet..... More

Print this item

  Never use "for i in range(len(sequence)):"
Posted by: Mekire - Oct-06-2016, 10:23 PM - Forum: Common pitfalls and what to do - Replies (5)

This will be pretty short and to the point, but I find my self typing this out far too often these days and want something to link to.

Most languag..... More

Print this item

  Classes [advanced]: Descriptors (managed attributes)
Posted by: Mekire - Oct-06-2016, 10:12 PM - Forum: Fundamentals - Replies (1)

This is related to my other tutorial Classes [advanced]: Depe[url=https://python-forum.io/thread-361.html]..... More

Print this item

  Classes [advanced]: Dependent attributes (and Descriptors)
Posted by: Mekire - Oct-06-2016, 10:08 PM - Forum: Fundamentals - Replies (1)

Sometimes in our classes it becomes convenient, and occasionally necessary, to have attributes which are dependent on one another.  Before beginning I..... More

Print this item

  Junior Python Developer in London
Posted by: StackJobs - Oct-06-2016, 08:17 PM - Forum: Jobs - Replies (1)

Hi guys,
we would like to share our latest offer:
https://stackjobs.co.uk/jobs/junior-soft...ue-ai/299/

True AI is working on pro..... More

Print this item

  support plugin solved/best answer/etc
Posted by: metulburr_testing - Oct-06-2016, 07:59 PM - Forum: Board - Replies (12)

testing support plugin

:wall:

Print this item

  Check if multiple values exist in a list
Posted by: glidecode - Oct-06-2016, 06:50 PM - Forum: General Coding Help - Replies (5)

I am trying to find a way of testing whether or not at least one element from a list #1 is present in a list #2
One thing I've found is this thread: ..... More

Print this item

  [split] My opinion about OS choice for programming
Posted by: wavic - Oct-06-2016, 06:37 PM - Forum: News and Discussions - Replies (12)

I want to share with you guys a thought crossed my mind.
I've read this and also all post he..... More

Print this item

  Julian Day
Posted by: sparkz_alot - Oct-06-2016, 03:39 PM - Forum: Code sharing - Replies (14)

Here is another Python piece of code derived from Jean Meuus' book "Astronomical Algorithms"
to compute the Julian Day (JD) for a given Gregorian dat..... More

Print this item

  Mark posts as SOLVED
Posted by: iFunKtion - Oct-06-2016, 11:05 AM - Forum: Board - Replies (22)

Is there a way to mark a post as SOLVED at all. I find SOLVED threads in forums extremely useful and I for one try my hardest to document any solution..... More

Print this item

  matplotlib barh y tick alignment
Posted by: iFunKtion - Oct-06-2016, 10:53 AM - Forum: General Coding Help - Replies (2)

Hi,

Can't seem to get the y tick labels to line up nicely on the horizontal bar chart in this sub plotted chart (bottom chart). I have found variou..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  If I open a file write or... 1 hour ago Pedroski55 noisefloor General Codin...
  unicode and utf-8 1 hour ago sorynturda Gribouillis General Codin...
  We open-sourced kubesdk —... 5 hours ago beslanpuzl JamesGreenwald Code sharing
  we open-sources faster py... Today, 00:31 tomtyiu tomtyiu Code sharing
  Exponential Number Conver... Yesterday, 14:41 Tuurbo46 Jessicaadams General Codin...
  a function to watch files 01-11, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... 01-11, 02:57 arbiel Pedroski55 General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
Most views
  The best Prog... 580783
  Tutorial Requ... 522572
  Web Scraping ... 442929
  New Users Int... 388357
  Newbie with P... 387164
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+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
sorynturda Today
sellbot Today
AvigmaMissouri Today
MATHIEIU Today
tomtyiu Today

User Panel Messages

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