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,266
» Latest member: tlandr02
» Forum threads: 38,788
» Forum posts: 175,853

Full Statistics

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

Latest Threads
Access keys and values fr...
Forum: General Coding Help
Last Post: buran
4 hours ago
» Replies: 3
» Views: 70
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:07 PM
» Replies: 2
» Views: 122
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:42 PM
» Replies: 1
» Views: 77
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 01:54 PM
» Replies: 1
» Views: 76
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 01:00 PM
» Replies: 5
» Views: 330
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 50
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 86
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 307
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 170
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 269

 
  Looping through a dictionary for every other value
Posted by: fad3r - Jan-25-2018, 02:56 PM - Forum: Homework - Replies (15)

Hi,
I am trying to find every other value in a dictionary. This is my thought process:

01) Create a loop to go through the dictionary's index.
..... More

Print this item

  Help to install Python
Posted by: Oswaldosv - Jan-25-2018, 02:49 PM - Forum: General Coding Help - Replies (3)

Hy Im new in Python and trying to intall in my PC Python 3, but I have could. The installer ask for Windows 7 Service Pack 1, I have installed SP1 alr..... More

Print this item

  which order for bicubic interpolation
Posted by: biba - Jan-25-2018, 01:53 PM - Forum: Data Science - No Replies

Hi
For downsampling the size of my input images I use "scipy.ndimage.interpolation.zoom" which takes the argument "order" to specify the order of the..... More

Print this item

  Embed and extend Python in c++ without users installing Python
Posted by: BenKaya - Jan-25-2018, 12:04 PM - Forum: General Coding Help - Replies (2)

I'm trying to embed Python in my C++ program so users can run their Python scripts (with my python extensions) at runtime, but this requires them to h..... More

Print this item

  Do you know how to import Python Standard Library
Posted by: sylas - Jan-25-2018, 10:43 AM - Forum: General Coding Help - Replies (30)

Hi all! I have a double-boot 64 bits computer. I use python 3.6 Strangely enough on my Pycharm(3.3) the list of files are followed by the "External Li..... More

Print this item

  my simple window code is not working
Posted by: antonmichel - Jan-25-2018, 10:42 AM - Forum: GUI - Replies (8)

below you can find my code and the output, I am using PyCharm and Python 3.

Thank you,

code :
[python]from tkinter import..... More

Print this item

  Need help can't find out how to do it.
Posted by: Aerazen - Jan-25-2018, 09:46 AM - Forum: Homework - Replies (3)

I got a task at where I am learning python to write a code that let me see ip of lo eth and nettwork card.
Then i got tast to print out both the ethe..... More

Print this item

  Open PDF in certain page
Posted by: ammann - Jan-25-2018, 09:14 AM - Forum: General Coding Help - Replies (4)

Hi, I am beginner in Python, and I need to open PDF file in specific page. I found this command, bit i don`t know how to change number of page to my ..... More

Print this item

  Controlling trailing zeros with rounding?
Posted by: RedSkeleton007 - Jan-25-2018, 07:12 AM - Forum: General Coding Help - Replies (1)

I'm trying to print out floats in currency format, but no matter what numbers I specify for rounding parameters, it only prints out one 0 after the de..... More

Print this item

  Introduction to python Ensembles
Posted by: Larz60+ - Jan-25-2018, 05:41 AM - Forum: News and Discussions - No Replies

If machine learning is of interest -
New dataquest article: https://www.dataquest.io/blog/introducti...ensembles/

Print this item

  encoding control characters
Posted by: Skaperen - Jan-25-2018, 04:02 AM - Forum: News and Discussions - Replies (6)

has anyone seen code to encode control characters? here is my code to decode control characters. encode is [inline]Carriage Ret..... More

Print this item

  Can a python program execute an action on another software program?
Posted by: lex - Jan-25-2018, 03:11 AM - Forum: News and Discussions - Replies (4)

Hi All,

I would like to know if a python program can be created to click a button on a trading platform, which means to execute trades and closing ..... More

Print this item

  Parsing Text File
Posted by: standenman - Jan-24-2018, 11:00 PM - Forum: General Coding Help - No Replies

I am trying to figure out how to parse some text from a text file and store the results as ordered pairs for a Word document. Using PyPDF2, print(pdf..... More

Print this item

  How to plot date series in matplotlib?
Posted by: StrybolData - Jan-24-2018, 10:49 PM - Forum: Homework - Replies (2)

I used the following code to format my series into timestamps, but I would like to now visualise it with pyplot. I based the format on the python date..... More

Print this item

  Solving a nested list
Posted by: daniel7100 - Jan-24-2018, 07:39 PM - Forum: General Coding Help - Replies (3)

I have to write a function that takes an integer nested list and integer parameters(nl, i). The function has to determine whether [b]i[/..... More

Print this item

  Decrypt Caesar Cipher
Posted by: WantToImprove - Jan-24-2018, 07:32 PM - Forum: General Coding Help - Replies (22)

Good evening all,

I wondered if one of you may be able to help me, I'm using a resource at a website called 'Bourne to Code' (actual link = https://b..... More

Print this item

  Errors when using Spyder
Posted by: xcnidaria - Jan-24-2018, 07:04 PM - Forum: General Coding Help - Replies (4)

Hi,

I am learning how to use Python (I have previous coding experience with R), and started using Spyder. I am getting unexpected errors when tryin..... More

Print this item

  Python random formatting issues
Posted by: Barnettch3 - Jan-24-2018, 06:05 PM - Forum: General Coding Help - Replies (10)

Hello all -

Im occasionally running into a problem where Python will just ignore a formatting command, but the work fine on similar elements.

For e..... More

Print this item

  Camera Image Data
Posted by: annakin4 - Jan-24-2018, 05:50 PM - Forum: General Coding Help - No Replies

Hey guys, I'm working on a hardware project where I need to use python to recreate an image based off of the hex coming from a serial port. The hex is..... More

Print this item

  destroy function issue
Posted by: SmokerX - Jan-24-2018, 05:05 PM - Forum: GUI - Replies (8)

[python]from tkinter import *
from math import *
root = Tk()

# Make window
root.geometry()

#mg/ml text entry MG/ML
mg2 = StringVar()
mg = E..... More

Print this item

  best way to learn python?
Posted by: Newtopython123 - Jan-24-2018, 05:01 PM - Forum: General Coding Help - Replies (2)

So I would like to learn Python as quickly as possible.I know C/c++ but I really want to learn python and as quickly as possible.
I have been watchi..... More

Print this item

  Restore Menu Bar
Posted by: savid37 - Jan-24-2018, 03:55 PM - Forum: Bar - Replies (8)

I have a Raspberry Pi and I accidentally deleted my desktop. I am unable to find a way to restore it.
I am unable to access anything on my Pi.

Print this item

  Questions on lists, the range function & concatenation
Posted by: fad3r - Jan-24-2018, 03:31 PM - Forum: Homework - Replies (7)

Hi everyone.

2nd time poster so getting use to everything.

Here is what I got going on:
I am trying to create a list that looks like this:['a',..... More

Print this item

  Regex: How to say 'any number of characters of any type until x'?
Posted by: JoeB - Jan-24-2018, 03:11 PM - Forum: General Coding Help - Replies (2)

I want to be able to refer to any number of characters of any type (including special characters) up until a specified character, which we'll call 'x'..... More

Print this item

  OpenGL SuperBible ex RotatingCube
Posted by: jab9k3 - Jan-24-2018, 02:04 PM - Forum: Game Development - Replies (6)

Hi All,

I was wondering if I could get some help with this. I'm a noob trying to learn some Python and OpenGL with the GLM Math
lib. I'd like to e..... More

Print this item

  Help With Pygame
Posted by: ghost0fkarma - Jan-24-2018, 01:47 PM - Forum: Game Development - Replies (2)

[python]import pygame, random, math
pygame.init()

# Define some colors
BLACK = (0, 0, 0)
WHITE = (255, 255, 255)
GREEN = (0, 255, 0)
RED = (..... More

Print this item

  Feature request: custom error message for "no new posts"
Posted by: league55 - Jan-24-2018, 11:18 AM - Forum: Board - Replies (4)

When I click Unread Posts and there are no new posts, I get this custom exception:

[error]Sorry, but no results were returned using the query infor..... More

Print this item

  Senior Software Engineer at JW Player NL
Posted by: Annina - Jan-24-2018, 10:29 AM - Forum: Jobs - No Replies

JW Player is looking for a Senior Software Engineer to join our rapidly growing Media Engineering team in our Eindhoven office. Responsible for our me..... More

Print this item

  Getting int from file instead of randomgenerator
Posted by: BlackHeart - Jan-24-2018, 09:27 AM - Forum: General Coding Help - Replies (10)

So this is some code I got off the net. What I'm trying to do is simple I think. What this is, is a Elliptic Curve Cryptography using the BitCoin curv..... More

Print this item

  Need comments on content/style of my first project
Posted by: league55 - Jan-24-2018, 06:48 AM - Forum: Web Scraping & Web Development - Replies (2)

I'm probably jumping the gun here as my code is still pretty crappy, but I'm trying to develop my first working application. I've set up version contr..... More

Print this item

  Printing elements in a tuple with formatting
Posted by: oncebuddy - Jan-24-2018, 05:34 AM - Forum: Homework - Replies (1)

I want to be able to print the elements of 3 tuples (in a list) for "Top 3 Cities", "Bottom 3 Cities", "Top 3 Item Categories" and "Bottom 3 Item Cate..... More

Print this item

  using my flattree generator
Posted by: Skaperen - Jan-24-2018, 03:25 AM - Forum: News and Discussions - No Replies

i think i already have a use for my flattree generator. i have 9 very large directories that i need to merge. i could merge them by running rsync 9 ..... More

Print this item

  Iterator
Posted by: RL_Python - Jan-24-2018, 03:00 AM - Forum: Homework - Replies (3)

HI,

I am new at Python and learning how to code. I am stuck at solving a task given to me. i was able to solve some parts of the problem but got st..... More

Print this item

  How to get the program's pid which is running with subprocess module?
Posted by: purecode - Jan-24-2018, 02:48 AM - Forum: General Coding Help - Replies (1)

The simple python3 program named print-pid.py is running :

[python]
import os
from time import sleep
print('my pid is',os.getpid())
sleep(10..... More

Print this item

  Brainstorm_for_a_dummy
Posted by: Python_for_dummies_needed - Jan-23-2018, 10:16 PM - Forum: General Coding Help - Replies (1)

Hi,

Very new to python and need to write a script to analyse some data (example below)
I've got thousands of these "chunks" and I need to read out th..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Access keys and values fr... 4 hours ago Winfried buran General Codin...
  How to make ball stay wit... Yesterday, 16:07 nathanael deanhystad General Codin...
  PermissionError: [Errno 1... Yesterday, 14:42 Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... Yesterday, 13:54 Tuurbo46 deanhystad General Codin...
  sorting a lisr of file pa... Yesterday, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579035
  Tutorial Requ... 510961
  Web Scraping ... 442040
  Newbie with P... 386080
  New Users Int... 377538
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+ 12108
buran 8196
snippsat 7389
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
tlandr02 Today
Rerus3700 Today
pas88 Today
aanthonymaaleyo3938 Today
chuhlowe Yesterday

User Panel Messages

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