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,928
» Latest member: Williefaree
» Forum threads: 38,719
» Forum posts: 175,492

Full Statistics

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

Latest Threads
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
59 minutes ago
» Replies: 5
» Views: 2,506
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:27 PM
» Replies: 6
» Views: 813
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 03:32 PM
» Replies: 2
» Views: 508
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Yesterday, 11:25 AM
» Replies: 7
» Views: 1,803
Python Installation issue
Forum: News and Discussions
Last Post: Dev
Yesterday, 11:16 AM
» Replies: 4
» Views: 15,729
New to the field
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 08:15 AM
» Replies: 1
» Views: 409
Too much space between gr...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:34 AM
» Replies: 1
» Views: 479
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
Sep-13-2025, 06:11 AM
» Replies: 5
» Views: 1,551
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-12-2025, 11:09 AM
» Replies: 2
» Views: 1,233
Web Scrapper to find prov...
Forum: General Coding Help
Last Post: Olivia
Sep-12-2025, 08:36 AM
» Replies: 1
» Views: 2,440

 
  converting json to xml
Posted by: pasi12 - Mar-10-2017, 06:33 PM - Forum: General Coding Help - Replies (6)

HI,
I am new to python and learning , need help converting json file to xml . I have below code ( found on web ) modified a bit but is not parsing th..... More

Print this item

  keeping track of pushbutton click
Posted by: iFunKtion - Mar-10-2017, 02:51 PM - Forum: GUI - Replies (3)

Hi there,

Due to the slightly annoying thing about not being able to return a value from a method when a button is clicked, how do you keep track o..... More

Print this item

  Calculation Module
Posted by: king2385 - Mar-10-2017, 02:23 PM - Forum: Homework - Replies (3)

When landing an aircraft, the pilot needs to calculate the landing distance over a fifty foot (50') object. This calculation is based on headwind spee..... More

Print this item

  Where should I enter my own values in this script?
Posted by: mythiccocoa - Mar-10-2017, 01:52 PM - Forum: Data Science - Replies (1)

I am new to python and this community. Please excuse any silly mistakes or irrelevant content.
I have found this script which prepares data for caffe..... More

Print this item

  Calling a Returned Value to Another Function
Posted by: valerydolce - Mar-10-2017, 12:55 PM - Forum: Homework - Replies (9)

Hi Gigs,

I'm trying to call a value obtained from a function to another function. In this case, i want to call var_name into [icode]get_dirs_from_p..... More

Print this item

  PyQt4 text edit align text center
Posted by: iFunKtion - Mar-10-2017, 11:46 AM - Forum: GUI - Replies (3)

Hi there,

Is there a way of aligning the text in a text edit widget so that it is centered? There is no way of doing this in the Designer, and I ha..... More

Print this item

  numbered lists
Posted by: Skaperen - Mar-10-2017, 05:54 AM - Forum: Board - Replies (3)

at the end of the BBCode document there is:

Quote:Valid list start index's are... 1 a A i I

how hard would it be to add zero..... More

Print this item

  mkpw: rewriting in python 3
Posted by: Skaperen - Mar-10-2017, 05:33 AM - Forum: News and Discussions - Replies (10)

i have this command originally written in C that i would like to rewrite in python 3.  anyone want to join in?  it takes a length as the only argument..... More

Print this item

  Automating the code using os.walk
Posted by: kiton - Mar-09-2017, 09:48 PM - Forum: Data Science - Replies (20)

So I have a piece of code that works with a single file that is in the root folder:

[python]
import json
import pandas as pd
import numpy as np
impor..... More

Print this item

  Inserting carriage return to string.
Posted by: rhubarbpieguy - Mar-09-2017, 09:35 PM - Forum: General Coding Help - Replies (1)

string='This is sentence 1.Ths is sentence 2.'
print(string) produces: This is sentence 1.This is sentence 2.

However, I'd like to print the strin..... More

Print this item

  accumulator pattern
Posted by: python_learner - Mar-09-2017, 05:36 PM - Forum: Homework - Replies (8)

Write a programm which sums up the first 100 even numbers. + comments

Print this item

  Code Check? Am I right?
Posted by: r6lay - Mar-09-2017, 02:35 PM - Forum: Homework - Replies (3)

Hey everyone so this is my homework assignment and I just wanna make sure my code is right because I'm getting some syntax error 

[color=#333333][s..... More

Print this item

  Python packages - quality
Posted by: j.crater - Mar-09-2017, 07:46 AM - Forum: General Coding Help - Replies (8)

Hello all,

One of more recent topics on this forum (can't recall which one exactly) discussed Python packages. 
It made me wonder, is there any (m..... More

Print this item

  need small help for simple calculation
Posted by: desul - Mar-09-2017, 07:30 AM - Forum: Homework - Replies (6)

Dear All,


how to calculate the below problem:

[python]
from __future__ import division

4/6

Out[3]: 0.6666666666666666


when I am tr..... More

Print this item

  Leap Year
Posted by: MartinEvtimov - Mar-09-2017, 06:19 AM - Forum: General Coding Help - Replies (14)

[python]def get_year():
   print("Please input year:")
   year = int(input())
   return year

def if_else(year):
   if (year % 4 == 0):
     pr..... More

Print this item

  Input a number with any number of digits and output it in reverse order of digits.
Posted by: sarada2099 - Mar-09-2017, 05:51 AM - Forum: General Coding Help - Replies (6)

hi, i'm a python beginner. few months ago i've started learning python and it's getting interesting to me everyday. So, today i need some help on an i..... More

Print this item

  Keyword cannot be an expression
Posted by: YorgosTheProgramer - Mar-08-2017, 10:15 PM - Forum: Homework - Replies (1)

I just started doing a programing course on python and am running into this error with this simple tax calculator . Would anyone be able to explain to..... More

Print this item

  if with range
Posted by: Federer - Mar-08-2017, 08:36 PM - Forum: Homework - Replies (6)

Good Day,
I want to check if any of this variable over 200 must print not within range can someone help me how can I do it

[python]
a = 12
b = ..... More

Print this item

  help on understanding this output
Posted by: landlord1984 - Mar-08-2017, 08:05 PM - Forum: General Coding Help - Replies (1)

>>> flist = []
>>> for i in range(3):
...     flist.append(lambda: i)
...
>>> [f() for f in flist]   # what will this print out?
..... More

Print this item

  Receiving large data stream using Pyserial
Posted by: trampas - Mar-08-2017, 08:01 PM - Forum: General Coding Help - Replies (1)

I am having a problem where I am streaming binary data from a micro to PC and I want to graph the data. 

The data is binary data coming in around 1..... More

Print this item

  Issue plotting coordinates using Basemap
Posted by: kiton - Mar-08-2017, 07:34 PM - Forum: Data Science - Replies (5)

Having extracted geo coordinates from Twitter JSON, I created a new pandas data frame:

[python]
    df3
    Out[140]:
    lat lon pos
    63 -2..... More

Print this item

  where has your https gone? re-post
Posted by: GustavoWoltmann - Mar-08-2017, 04:01 PM - Forum: Board - Replies (3)

Where has your https gone? When I visited your forum before the hack, I had https, I think. Has your https also been hacked?

Print this item

  ebaysdk and pulling back customer feedback
Posted by: midwestbrad - Mar-08-2017, 01:41 PM - Forum: General Coding Help - Replies (1)

[color=#333333]I am working with ebaysdk and pulling back customer feedback. I get the results back, but do not know how to parse them correctly. I th..... More

Print this item

  (Lead) Python Developer - Amsterdam
Posted by: samueldb93 - Mar-08-2017, 12:39 PM - Forum: Jobs - No Replies

Company Profile

[color=#000000][size=small]Our Client is an ambitious funded startup from Amsterdam that is..... More

Print this item

  Run Python in iPad/iPhone
Posted by: Analyser - Mar-08-2017, 08:08 AM - Forum: News and Discussions - Replies (6)

Analyser is the only iOS app that integrated both Python and R engines. build-in popular Python modules for stats/machine learning/image processing: n..... More

Print this item

  issue on tree
Posted by: desul - Mar-08-2017, 04:13 AM - Forum: General Coding Help - Replies (5)

Hi, 

I need to know what is wrong with this code and why I am getting errors and how can solve it......

[python]
def leaves(tag_words):
    fr..... More

Print this item

  long lines, longer than 72 or 79
Posted by: Skaperen - Mar-08-2017, 03:46 AM - Forum: General Coding Help - Replies (1)

i'm cleaning up a lot of code, including trying to make it fit in 72 columns, or at least in 79 columns.  most things are going ok.  a few things are ..... More

Print this item

  Use of Multiple Object
Posted by: arup - Mar-08-2017, 03:39 AM - Forum: General Coding Help - Replies (5)

I want to create two objects of a class. Using these two objects i want to input some numbers into a list which is a member of the class. After inputt..... More

Print this item

  binary trees
Posted by: Nucifera - Mar-08-2017, 03:02 AM - Forum: General Coding Help - Replies (3)

Hi, I'm learning Python by myself, I'm searching for a tutorial for binary trees. could you recommend something?

Thank you

Smile

Print this item

  desktop environment in python
Posted by: Skaperen - Mar-08-2017, 02:04 AM - Forum: News and Discussions - Replies (3)

i am wanting a virtual desktop environment for X windows written entirely in python using only modules in python.  if one does not alrea..... More

Print this item

  Forget about PEP 8
Posted by: ichabod801 - Mar-07-2017, 10:37 PM - Forum: News and Discussions - Replies (17)

This is the real Python style guide.

Print this item

  I need some feedback on this script Please.
Posted by: tannishpage - Mar-07-2017, 08:50 PM - Forum: General Coding Help - Replies (2)

I have made a script for an ftp Client for android. So, it runs on SL4A with the help of PY4A. I made it in python 3. I am a beginner. I have been lea..... More

Print this item

  Adding text to files easy but I need help
Posted by: bodo1025 - Mar-07-2017, 08:12 PM - Forum: Homework - Replies (2)

[color=#404040][size=medium][font=Lato, proxima-nova,]Given a file containing test scores, one per line, we want to have a new file that contains the ..... More

Print this item

  How to use a UDP server and client to setup a chat
Posted by: abrew132 - Mar-07-2017, 07:30 PM - Forum: General Coding Help - Replies (2)

well i am just learning python and i know this is complicated... maybe... idk, but what i am trying to do is: lest say i want to talk to someone on an..... More

Print this item

  Calculate the fewest zip codes, for the largest coverage
Posted by: nilamo - Mar-07-2017, 05:57 PM - Forum: General Coding Help - Replies (4)

This is a problem I'm in the middle of solving, and because I don't want to spend forever on it, I'll probably brute force a solution.

Suppose ther..... More


Attached Files

Thumbnail(s)
   
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Seeking feedback: dynamic... 59 minutes ago Bona2000 Bona2000 General Codin...
  Select Python comment (#)... Yesterday, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... Yesterday, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame Yesterday, 11:25 JMcM JMcM Game Developm...
  Python Installation issue Yesterday, 11:16 RFHill Dev News and Disc...
  New to the field Yesterday, 08:15 Polybunny Larz60+ News and Disc...
  [Tkinter] Too much space ... Yesterday, 02:34 RonR deanhystad GUI
  I'm trying to make a piec... 09-13, 06:11 Alislugacool MilesWeb General Codin...
  Python and excel vba codi... 09-12, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... 09-12, 08:36 physalis2099 Olivia General Codin...
  403 Error 09-11, 20:39 CaptainNewb snippsat Web Scraping ...
Most views
  The best Prog... 575661
  Tutorial Requ... 496772
  Web Scraping ... 439711
  Newbie with P... 383356
  New Users Int... 364667
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+ 12087
buran 8174
snippsat 7366
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Williefaree Today
faithsally Today
compuman145 Today
DeadEyes Today
Fobertsmene Yesterday

User Panel Messages

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