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,400
» Latest member: BioNanoTech
» Forum threads: 38,825
» Forum posts: 176,034

Full Statistics

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

Latest Threads
Sorry Help
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 1
» Views: 38
IP address for users
Forum: Networking
Last Post: DeaD_EyE
8 hours ago
» Replies: 6
» Views: 7,152
Check if running from she...
Forum: General Coding Help
Last Post: DeaD_EyE
8 hours ago
» Replies: 1
» Views: 59
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,609
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 166
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,612
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 244
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,630
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 212
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 365

 
  Connect BigSQL using python
Posted by: Learner_Python - May-04-2017, 03:35 PM - Forum: General Coding Help - Replies (2)

Hello I have to connect & retrieve data from BigSQL using python.I have written a java code for doing that & I'm invoking my java code from python. My..... More

Print this item

  String Slicing
Posted by: jack - May-04-2017, 09:52 AM - Forum: General Coding Help - Replies (9)

explain this to me ?

astring = "Hello world!"
print(astring[3:7])
print(astring[3:7:1])

Print this item

  Select rows based on a criteria
Posted by: klllmmm - May-04-2017, 02:01 AM - Forum: Data Science - Replies (8)

I have a dataset which i need to select specific rows.

1. Select-
   1. If DrAccount or CrAccount contain 9000
        eg-
       -If the line conta..... More


Attached Files

.csv   Dataset1.csv (Size: 442 bytes / Downloads: 69)
Print this item

  Double Quotes will not go away, must be missing something
Posted by: smiths87 - May-03-2017, 08:28 PM - Forum: General Coding Help - Replies (3)

I've tried using the below, and various 'csv import' machinations, and no matter what I do the double quotes are present when I open the file in notep..... More

Print this item

  Help with Try With
Posted by: PickyBiker - May-03-2017, 07:48 PM - Forum: General Coding Help - Replies (2)

The code below is an attempt to catch an error opening and parsing a JSON file. When an error occurs, it does not print the text in the except block. ..... More

Print this item

  Resources for converting Python 2.x code to 3.x
Posted by: Luke_Drillbrain - May-03-2017, 05:45 PM - Forum: General Coding Help - Replies (4)

Resources for converting Python 2.x code to 3.x
[font=Courier New, monospace]I don't intend to use Python 2.x. I'll be writing all my projects in 3.x..... More

Print this item

  Getting Tesseract to work for pytesseract
Posted by: bigmit37 - May-03-2017, 05:20 PM - Forum: General Coding Help - No Replies

I'm trying to use pytesseract but it seems I have to first install Tesseract on my windows OS and get it working properly first on Windows before ..... More

Print this item

  Code issue with time remaining loop. Python3
Posted by: deboerdn2000 - May-03-2017, 03:57 PM - Forum: General Coding Help - Replies (11)

So I have an issue. im running a timer to turn a gpio port on and need to return a time stamp over rs232. I have the rs232 outputting just fine in its..... More

Print this item

  Formatting question regarding tables (Interest loan calculator)
Posted by: Liquid_Ocelot - May-03-2017, 10:13 AM - Forum: Homework - Replies (14)

Hey guys I am pulling my hair out over this program. 

Basically; 

I am instructed to write a program that calculates the total amount of savings..... More

Print this item

  Output on same line
Posted by: takaa - May-03-2017, 10:02 AM - Forum: General Coding Help - Replies (4)

Hi,

I made a little code to extract some stock quotes. 

[python]open('outputyahoo.txt', 'w').close()
from yahoo_finance import Share
symbolfil..... More

Print this item

  Strange logic! :)
Posted by: alsimm - May-03-2017, 09:49 AM - Forum: General Coding Help - Replies (10)

Hi all
python 2.7
can someone explain the logic here I am confused Confused (doesn't take much to confuse me Smile
In the first example ev..... More

Print this item

  sqlite 3 python help
Posted by: yuvalsaias - May-03-2017, 07:16 AM - Forum: General Coding Help - Replies (9)

[align=left]hello everyone i have a problem as you can see in the code and i don't know how to fix it, i need your help please with this situation abo..... More

Print this item

  Requisites for live data extraction and display
Posted by: Denniz - May-03-2017, 12:59 AM - Forum: Web Scraping & Web Development - Replies (1)

Dear all,

im a noob, but would like to create a monitor for certain purposes.
a friend told me python would be a viable option to conceive this in..... More

Print this item

  Directory error? Mac
Posted by: jconway2190 - May-02-2017, 08:25 PM - Forum: General Coding Help - Replies (3)

Hi there,

First post here, i've been messing around with Python for a while now and recently decided to do an online class about it. I've been doin..... More

Print this item

  Display error, beginner help :(
Posted by: Armandas - May-02-2017, 07:57 PM - Forum: General Coding Help - Replies (1)

Hello, still noob and probably going to be like that for few months or so... Anyway, so I've been trying to get this to work, went over it around 4 ti..... More

Print this item

  Ways to check if the variable works.
Posted by: AlwaysNew - May-02-2017, 07:48 PM - Forum: Homework - Replies (3)

Hi this might be a obvious answer but I cant get the random number to display when i put my name as ranNum , This is kind of a dev key to see if the r..... More

Print this item

  Fun TicTacToe
Posted by: RuthlessLlama - May-02-2017, 07:34 PM - Forum: Game Development - Replies (1)

Hey, I had to create a game for my comp science class

Check it out!

Give me some feedback if you'd like

I'm currently working on a 'hard' version b..... More

Print this item

  Looking for critique on my code
Posted by: zeevo234 - May-02-2017, 04:39 PM - Forum: General Coding Help - Replies (11)

I'm a beginner in python, and have worked on making a script that solves quadratic functions. The code works, as far as I'm aware, and I've even imple..... More

Print this item

  popup message box code runs in Windows, but not in Linux
Posted by: Luke_Drillbrain - May-02-2017, 04:22 PM - Forum: GUI - Replies (13)

This code is straight from a Bucky Roberts tutorial.  (https://www.youtube.com/watch?v=IB6VkXJVf0Y)

[python]
from tkinter import *

import tkint..... More

Print this item

  ad-blocker-blocker
Posted by: metulburr - May-02-2017, 04:10 PM - Forum: Bar - Replies (6)

How come i have never heard of this? I was about to ask how to stop this very thing when i came across it.
https://github.com/reek/anti-adblock-kille..... More

Print this item

  Alphabeta pruning error
Posted by: Zeflonex - May-02-2017, 01:02 PM - Forum: Homework - Replies (1)

the beta yielded is not the expected one, i thinks its a problem in the modulo section , but  cannot pinpoint it exactly

[python]tree = [[[5, 1, 2]..... More

Print this item

  Exception capture, logging and grouping services
Posted by: caxis - May-02-2017, 10:51 AM - Forum: Bar - Replies (3)

I know the RoR (Ruby on Rails) community relies on error/exception logging or grouping services.

Do any of you use an exception tracking or excepti..... More

Print this item

  Cannot import Pygame
Posted by: PySoD - May-02-2017, 08:43 AM - Forum: General Coding Help - Replies (9)

I cannot import pygame.i dont know why?.i could use some help

Error:
ModueNotFoundError:No module named pygame

Print this item

  Which is best for python?Linux or windows?
Posted by: PySoD - May-02-2017, 08:09 AM - Forum: News and Discussions - Replies (21)

Which is the best OS for python ?Linux OS or Windows OS?

Print this item

  error 'ring' is not a callable object
Posted by: JakeWitten - May-02-2017, 04:45 AM - Forum: Homework - Replies (1)

I'm trying to get the ball to fly through a series of rings, but I keep getting this error message 'ring' is not a callable object.  The strange thing..... More

Print this item

  Reverse string sentence with for loop?
Posted by: BillGates - May-02-2017, 03:53 AM - Forum: Homework - Replies (3)

Hello, last week our class had a homework assignment in which we created a function which that capitalized all of the even words within a sentence, an..... More

Print this item

  named tuples
Posted by: Skaperen - May-02-2017, 03:34 AM - Forum: News and Discussions - Replies (20)

so i got a named tuple.  how can code get a list of just the names (much like getting the keys of a dict)?  the built-in dir() function (gets a list o..... More

Print this item

  data push from logger to server
Posted by: asdfasdf - May-01-2017, 09:00 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello,

Newb question here...

I'm trying to figure out how to push data from an electrical meter that is capable of sending XML to a server thru ..... More

Print this item

  Extract nouns out of a CoNLL-file
Posted by: MattaFX - May-01-2017, 05:31 PM - Forum: General Coding Help - Replies (3)

Hi everybody,

I've got a CoNLL-file, which looks like this:

[quote]
[color=#000000][size=x-small][font=Arial, Helvetica, sans-serif][color=#000..... More

Print this item

  Code completion for namedtupe-based object in PyCharm
Posted by: volcano63 - May-01-2017, 05:24 PM - Forum: General Coding Help - Replies (4)

Hi,
I am defining an Enum-style object as a wrapper for string constants
[python]import time, re, collections
def make_enum(*enum_..... More

Print this item

  Closing an image opened by Pillow in Window Photo Viewer
Posted by: bigmit37 - May-01-2017, 03:49 PM - Forum: General Coding Help - Replies (16)

I'm trying to close each image opened via iteration, within each iteration.




[code]for i in Final_Bi..... More

Print this item

  object class
Posted by: ichabod801 - May-01-2017, 01:36 PM - Forum: General Coding Help - Replies (6)

[output]>>> x.name = 'Fred'
>>> fred = object()
>>> fred.name = 'Fred'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
A..... More

Print this item

  Why glGenVertexArray()gives access violation error?
Posted by: hsunteik - May-01-2017, 12:40 PM - Forum: General Coding Help - Replies (4)

[align=left]My old error,the NullFunctionError is solved by creating a opengl context before calling the opengl function,but now I get a new error,tha..... More

Print this item

  Append to dataframe with for loop
Posted by: nocoffeenoworkee - May-01-2017, 11:44 AM - Forum: General Coding Help - No Replies

I'm trying to loop through a list(y) and output by appending a row for each item to a dataframe.

[color=#333333][python]y=[d..... More

Print this item

  loops goes on forever
Posted by: alsimm - May-01-2017, 11:04 AM - Forum: General Coding Help - Replies (8)

Hello all, Smile
python 2.7
The following code uses input to get 3 numbers then adds them up.I then placed it into a while loop
thinking that ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Sorry Help 1 hour ago BioNanoTech Pedroski55 General Codin...
  IP address for users 8 hours ago Robots DeaD_EyE Networking
  Check if running from she... 8 hours ago rjdegraff42 DeaD_EyE General Codin...
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q 12-30, 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...
Most views
  The best Prog... 580463
  Tutorial Requ... 519952
  Web Scraping ... 442797
  Newbie with P... 387010
  New Users Int... 386747
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
BioNanoTech Today
arachlmaarley4839 Yesterday
CarlApome Yesterday
JulioLet Yesterday
aellatsz9602 12-30

User Panel Messages

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