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,397
» Latest member: JulioLet
» Forum threads: 38,823
» Forum posts: 176,029

Full Statistics

Online Users
There are currently 36 online users.
» 1 Member(s) | 30 Guest(s)
Applebot, Google, Facebook, Axel_Erfurt

Latest Threads
IP address for users
Forum: Networking
Last Post: Ruth_Hernandez
8 hours ago
» Replies: 5
» Views: 7,143
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
10 hours ago
» Replies: 28
» Views: 15,578
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 138
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,608
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 213
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,627
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 182
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 339
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,996
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 206

 
  Vectorized parsing in dataFrame
Posted by: aibrain - Apr-02-2017, 10:49 AM - Forum: General Coding Help - Replies (2)

I wanted to know if there is a simpler way of doing this:
[python]
data={'A': [1, 2, 3], 'B': ['123456', '789012', '345678']}
cd=pd.DataFrame(data)..... More

Print this item

  NameError! shopping_list not defined
Posted by: kotwenyo - Apr-02-2017, 04:48 AM - Forum: General Coding Help - Replies (1)

[python]def show_help():
   # print out instructions on how to use the app
   print("What should we pick up at the store?")
   print("""
Enter 'DO..... More

Print this item

  if i had written my own language
Posted by: Skaperen - Apr-02-2017, 03:13 AM - Forum: News and Discussions - Replies (9)

if i had written my own language there are some things i would have done differently.

[output]lt1/forums /home/forums 2> py2
Python 2.7.12 (defaul..... More

Print this item

  methods of a dictionary vs a sequence
Posted by: Skaperen - Apr-02-2017, 01:29 AM - Forum: News and Discussions - No Replies

both dictionary and sequence have .pop that gets a value (indexed according to the behavior/methods of the type/class) then removes it from the source..... More

Print this item

  NoneType Error
Posted by: Sam - Apr-01-2017, 08:50 PM - Forum: Homework - Replies (6)

Hi, I'me trying to run a code but I'm getting an error that is 'NoneType' object has no attribute 'SetGeoTransform. I'm not sure what this means or ho..... More

Print this item

  Translating language in python
Posted by: Liquid_Ocelot - Apr-01-2017, 08:41 PM - Forum: Homework - Replies (11)

Hey everyone.

I am struggling to get my head around nested if statements particularly with a program I am needing to write which requires me to use..... More

Print this item

  sorting nested dict according to values
Posted by: merlem - Apr-01-2017, 06:09 PM - Forum: General Coding Help - Replies (6)

What I have: a nested dict (see code), with integer values as lowest "level".
What I wish to reach: a couple of lists with pairs of the highest level..... More

Print this item

  Question about primitive variables.
Posted by: Nirelg - Apr-01-2017, 05:06 PM - Forum: General Coding Help - Replies (16)

Hi all,

I have started to learn what primitive variables are vs Referenced ones.

The problem is, that once I have read that python is fully refe..... More

Print this item

  Python Selenium WebDriver Problem
Posted by: SlpnGnt - Apr-01-2017, 03:19 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello,

I'm currently trying to extract some tables from a particular website, but I have to use the Selenium WebDriver to do so because I believe t..... More

Print this item

  Not Getting The desired output on my system
Posted by: Rashi - Apr-01-2017, 02:44 PM - Forum: General Coding Help - Replies (12)

[python]

from tkinter import *
import random

class ExamGuru:
    def _init_(self, parent):
        self.parent=parent
        self.index=0
..... More

Print this item

  Why can't I get this code to loop
Posted by: sexualpanda - Apr-01-2017, 01:14 PM - Forum: Homework - Replies (1)

[python]import operator
import random

casefile=open('case.txt','a')
devicefile = open('devicefile.txt','r')

def ask():

    global model
  ..... More

Print this item

  How to print in colors
Posted by: JohnNo - Apr-01-2017, 01:09 PM - Forum: General Coding Help - Replies (2)

So I use python shell to do my stuff
but I want to print out in color I tried everything from ANSI escape routes or ansicolors but nothing everything..... More

Print this item

  Methods for Interegating output from an API
Posted by: Bass - Apr-01-2017, 12:33 PM - Forum: Data Science - Replies (1)

Hi,

I am trying to extract data values from an Rest API response. 

Firstly, could someone please clarify this as well as any corrections of the ..... More


Attached Files

.zip   Candle.zip (Size: 41.84 KB / Downloads: 53)
Print this item

  Name guessing game in python
Posted by: Liquid_Ocelot - Apr-01-2017, 07:44 AM - Forum: Homework - Replies (6)

Hey guys so I am having some trouble with the second part of a program that I need to write 

So the first part was to write a number guessing game in..... More

Print this item

  VAO and VBO not working.
Posted by: hsunteik - Apr-01-2017, 07:14 AM - Forum: General Coding Help - Replies (4)

[python]
class cube():
    def __init__(self,vertexcount,VAOid):
        self.vertexcount=vertexcount
        self.VAOid=VAOid

    def draw(sel..... More

Print this item

  blender python code
Posted by: metulburr - Apr-01-2017, 01:57 AM - Forum: Bar - Replies (7)

This looks quite nice. Came across it from http://jos.ai/
[Image: dube_1.gif]

Print this item

  Need To Create Simple Mutiple Choice Quiz In Tkinter
Posted by: Rashi - Apr-01-2017, 01:02 AM - Forum: Homework - Replies (5)

i am trying to create a simple quiz in tkinter but i have no proper reference how to get it done properly i researched alot on google but as i am new ..... More

Print this item

  Having some issues, pls halp
Posted by: Bidgey225 - Apr-01-2017, 12:13 AM - Forum: Homework - Replies (2)

So I'm taking a course, and I can't quite see what I'm doing wrong with this program.
[Image: mb2zobw.png]
[modd=snippsat]Post ..... More

Print this item

  [?] UTF8, Unicode and Binary data reading troubles
Posted by: doublezero - Mar-31-2017, 06:45 PM - Forum: General Coding Help - Replies (1)

Hi guys.

I have been working in a script to read files, extract and index some strings. Everything is going fine, except for one problem with file ..... More

Print this item

  SSH Multi Threading
Posted by: nizami22247 - Mar-31-2017, 06:04 PM - Forum: General Coding Help - No Replies

Hi, guys. I'm currently having issue with multi threading specifically when i try to use SSH to multiple devices at a time. It works if i don't use mu..... More

Print this item

  Pygame Heli Dodge
Posted by: georgecoopers - Mar-31-2017, 03:38 PM - Forum: Code sharing - Replies (2)

I've spent the past few days developing this small game: 

http://www.mediafire.com/file/sz28835b23...r]http://w..... More

Print this item

  Sort() Question / Getting Error
Posted by: richardbl27 - Mar-31-2017, 02:06 PM - Forum: General Coding Help - Replies (3)

Hi... I am relatively new to Python... I find it very interesting coming originally from a mainframe background. 
I have a question.  I'm trying to d..... More

Print this item

  QModelIndex set Column in tablemodel
Posted by: nieselfriem - Mar-31-2017, 01:59 PM - Forum: GUI - No Replies

Hello,

[color=#141414][size=small]I use a table with tableview. In one of the Columns I present boolean v..... More

Print this item

  What terms do I need to know?
Posted by: psocretes - Mar-31-2017, 12:26 PM - Forum: Web Scraping & Web Development - Replies (5)

I want to be able to find a play (audio) button and activate it (on a BBC website) so the audio plays and when that 15 minute play has finished, for t..... More

Print this item

  iPython tab completion of method variable
Posted by: sixteenornumber - Mar-31-2017, 12:09 PM - Forum: General Coding Help - Replies (1)

is there any way to get iPython to recognize the type of "each" in B.printBarList().  for example I want to use tab-complete in iPython so I type "eac..... More

Print this item

  newbie while loop error: IndexError: list assignment index out of range
Posted by: msa969 - Mar-31-2017, 10:45 AM - Forum: General Coding Help - Replies (3)

I want to create a list called numbers that contains all the integers from 1 to 30 

[python]
numbers = []
i = 1
while(i < 30):
    numbers[i] = i +1 ..... More

Print this item

  Error when converting MATLAB's datenum to Python's datetime
Posted by: zoya2385 - Mar-31-2017, 10:00 AM - Forum: General Coding Help - Replies (5)

Hello,

I have to convert a MATLAB's datenum to Python's datetime. The following code is as below:

[code]import datetime
matlab_datenum = 636505..... More

Print this item

  I'm a new Python programmer and I need some tips
Posted by: Qubayel - Mar-31-2017, 07:46 AM - Forum: GUI - Replies (6)

I toke an online Python course for beginners the course was good and there was an final project on the first section, so I tried to Do it by myself by..... More

Print this item

  exception index
Posted by: Skaperen - Mar-31-2017, 06:03 AM - Forum: General Coding Help - Replies (2)

as i rewrite a lot of stuff into python, i want to include many functions and make a lot of error handling raise exceptions.  i have not seen this, ye..... More

Print this item

  boolean result of loop
Posted by: Skaperen - Mar-31-2017, 01:47 AM - Forum: General Coding Help - Replies (19)

a classic loop structure tests for one of a sequence of possible conditions.  in python the loop iterates over an iterator or equivalent (a sequence)...... More

Print this item

  Creating lists or arrays as the input
Posted by: nickalvar - Mar-31-2017, 01:05 AM - Forum: Homework - Replies (4)

I'm fairly new to using python. I would greatly appreciate it if someone could explain exactly what i'm supposed to do here.

Create the following l..... More

Print this item

  Module Help?
Posted by: 20AJ0931 - Mar-31-2017, 01:04 AM - Forum: General Coding Help - Replies (5)

Hi guys,
I am new to python and wanted to start working with modules like the pywin32, pysensors and pyspectator. But whenever I download them from p..... More

Print this item

  Lost in Translation - v.1.2
Posted by: wavic - Mar-31-2017, 12:51 AM - Forum: Bar - Replies (7)

http://www.bbc.com/capital/story/2016102...municators

Print this item

  Stacked Barchart from Counter using matplotlib
Posted by: alicarlos13 - Mar-31-2017, 12:26 AM - Forum: Data Science - Replies (4)

I have a large csv file. This file is read and a

Counter
is returned every predefined amount of lines. As an Example:
[code]counte..... More

Print this item

  check my tcp code plz
Posted by: abrew132 - Mar-30-2017, 07:45 PM - Forum: General Coding Help - Replies (1)

hi I'm running python on ma terminal using the command "python _____.py" and it runs the code. i made a simple tcp server, but with all the help that ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  IP address for users 8 hours ago Robots Ruth_Hernandez Networking
  Merge video with subtitle... 10 hours ago Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q Yesterday, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
Most views
  The best Prog... 580458
  Tutorial Requ... 519873
  Web Scraping ... 442794
  Newbie with P... 387005
  New Users Int... 386707
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 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
JulioLet Today
aellatsz9602 Yesterday
cruisesfares Yesterday
azam Yesterday
zcharlesoogleto9533 Yesterday

User Panel Messages

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