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,396
» Latest member: aellatsz9602
» Forum threads: 38,824
» Forum posts: 176,027

Full Statistics

Online Users
There are currently 26 online users.
» 0 Member(s) | 22 Guest(s)
Bing, Google, Apple

Latest Threads
What Happened At The End ...
Forum: General Coding Help
Last Post: aellatsz9602
8 minutes ago
» Replies: 0
» Views: 3
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Today, 12:11 AM
» Replies: 1
» Views: 89
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Yesterday, 09:12 AM
» Replies: 1
» Views: 4,594
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 08:37 AM
» Replies: 4
» Views: 187
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Yesterday, 07:27 AM
» Replies: 7
» Views: 3,603
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 161
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 308
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,115
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,974
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 186

 
  wishing for a 3-way loop construct
Posted by: Skaperen - Feb-13-2017, 03:07 AM - Forum: Bar - Replies (16)

when i make a loop, i often need for the body of the loop to do something different or a little bit different in the first pass or the last pass.  som..... More

Print this item

  how to read a dictionary line from txt file?
Posted by: Doug - Feb-13-2017, 01:03 AM - Forum: General Coding Help - Replies (2)

Hey! I have a txt file with multiple dictionary lines. How could I possible read it literally as a dictionary line or straight as a dictionary line va..... More

Print this item

  How to ask smart questions
Posted by: Ofnuts - Feb-12-2017, 08:14 PM - Forum: Board - Replies (7)

It occurs to me that the examples in the How to ask smart questions help page ar..... More

Print this item

  Print format
Posted by: valerydolce - Feb-12-2017, 05:05 PM - Forum: General Coding Help - Replies (2)

Hi Gigs,

Below is a code that I'm working on:
[python]
def class_tuple_create(filename):
    try:
        file = open (filename, 'r')
    exce..... More

Print this item

  Please help with the code
Posted by: zarnav - Feb-12-2017, 02:15 PM - Forum: General Coding Help - Replies (7)

Hi guys, my code should do this:

I have an account of 10000$ and every month I take interest of 0.5% and also I substract 500$ every month
I need ..... More

Print this item

  Setting interdependencies between checkboxes
Posted by: merlem - Feb-12-2017, 12:16 PM - Forum: GUI - Replies (2)

Aim is to show the user that he shouldn't check some items if he already has chosen others.
(He should be able to do so, just get a hint, maybe even..... More

Print this item

  Mind stimulation for Saturday Night
Posted by: Larz60+ - Feb-12-2017, 06:21 AM - Forum: Bar - Replies (3)

I was doing some research tonight and got sidetracked for a while.
I am so glad that it happened.
For those of you who are unfamiliar with Neri Oxma..... More

Print this item

  in python 2 and python 3
Posted by: Skaperen - Feb-12-2017, 04:19 AM - Forum: General Coding Help - Replies (13)

in python 2 and python 3 i want to test if a variable refers to any kind of string.  in python 2 i can do [icode]if isinstance( var, (str,unicode) ):[..... More

Print this item

  fill tint
Posted by: Zman350x - Feb-12-2017, 04:00 AM - Forum: Game Development - Replies (1)

for my pause screen I want to tint the background a bit black so you can still see the game in the back but it's darker (you have probably seen this i..... More

Print this item

  Module Dependency installation error
Posted by: draems - Feb-12-2017, 02:28 AM - Forum: General Coding Help - Replies (10)

Good day everyone. Need some help in installing pycld2 in ubuntu 14.04 with python 2.7 and python 3.4  as  pre-installed [i](I'm using virtualenv to r..... More

Print this item

  Copying the Screen (PyGame)
Posted by: Zman350x - Feb-11-2017, 06:04 PM - Forum: Game Development - Replies (4)

My code allows the user to create a drawing. later in the code I want to display that drawing. Is there any way that once the drawing is done I can co..... More

Print this item

  code that takes inputs for user name amounts etc and then sends custom message
Posted by: shaumyabrata - Feb-11-2017, 05:09 PM - Forum: General Coding Help - Replies (5)

I was trying this cose and I am not sure why this is not working as I am new to Python hence I am not abel to figure this out. Just trying to create a..... More

Print this item

  need help with game
Posted by: Darbandiman123 - Feb-11-2017, 12:23 PM - Forum: General Coding Help - Replies (6)

i am making a choose your own adventure game and need help with the coding. i am mid way throught, and tried to play it so far but some of the outcome..... More

Print this item

  enter data with keypad
Posted by: gray - Feb-11-2017, 11:31 AM - Forum: GUI - Replies (4)

hello friends
i want to comminucate between keypad & tkinter.
i used from 'sql' to create a data table.how can i enter my data into 'id' entry by ke..... More

Print this item

  Problem in Loop
Posted by: saumya - Feb-11-2017, 11:13 AM - Forum: General Coding Help - Replies (2)

[python]
num=raw_input("enter range")
def pract(num):
    i=0
    numbers=[]
    while i<=(num):
        print "At the top i is %d"%i
        n..... More

Print this item

  Incredibly basic coding problem
Posted by: AndyF - Feb-11-2017, 10:28 AM - Forum: General Coding Help - Replies (12)

Hi everyone

I have zero programming experience but just began a Python tutorial. The code I am writing is not behaving like in the example that I a..... More

Print this item

  how to show a value to the user?
Posted by: elhetch - Feb-11-2017, 12:06 AM - Forum: GUI - Replies (4)

i created the below code to do some math, i would like to know how to show the value after running the code to the user?


[python]
import math
f..... More

Print this item

  does not exist
Posted by: Zman350x - Feb-10-2017, 11:59 PM - Forum: General Coding Help - Replies (2)

I had this code:
[python]    import color
    Block_Color_Q = input('Robot Color: Red(1) Blue(2) Green(3) Yellow(4) Orange(5)')
    if Block_Color_..... More

Print this item

  Pyscripter Error
Posted by: Zman350x - Feb-10-2017, 09:47 PM - Forum: General Coding Help - Replies (2)

I have been using pyscripter for some time now with out errors. I press "run" and it constantly prints out errors so I change my code, still  more err..... More

Print this item

  How to create a value system with a temp/humidity sensor?
Posted by: Tacoon - Feb-10-2017, 07:01 PM - Forum: General Coding Help - Replies (2)

I have a dht22 temp/humidity sensor and I am looking for help on how to create a value system within the sensor reading. Currently I have a fan turnin..... More

Print this item

  scapy ssh connection my network sniffing from my router
Posted by: Boss - Feb-10-2017, 11:59 AM - Forum: Networking - Replies (1)

I want to sniff ssh connection to any pc on my network. I have scapy on my router and I would like to get a sniff result whenever someone connect to a..... More

Print this item

  file detection
Posted by: Skaperen - Feb-10-2017, 10:36 AM - Forum: General Coding Help - Replies (9)

you can detect if x is a float like:

if isinstance(x,float):
    ...
so how do you detect if x is a file?

Print this item

  inivisible attribute
Posted by: Skaperen - Feb-10-2017, 09:38 AM - Forum: General Coding Help - Replies (7)

i would like to create a global object in a class instance that is not visible as an instance attribute (e.g. private).  is this possible in python?

Print this item

  Web Scrapping Application
Posted by: lion137 - Feb-10-2017, 09:00 AM - Forum: Web Scraping & Web Development - Replies (4)

Hello everybody! I have a web crawler project, this is the main part of the code:
[python]

# crawler
import urllib.request
from parse_tree impo..... More

Print this item

  How to talk with Real Time Clock hardware?
Posted by: jackbk - Feb-10-2017, 08:14 AM - Forum: General Coding Help - Replies (12)

Dear all,

I am finding a way to read/write to my Real Time Clock Hardware by Python.

The background is as below.

I have a board that integrat..... More

Print this item

  Writing incorrect passwords to a file till its correct
Posted by: garth - Feb-10-2017, 07:53 AM - Forum: Homework - Replies (2)

# Now, create a Python file called forgetful.py . Imagine your friend was very forgetful and always seemed to enter his email password incorrectly. Yo..... More

Print this item

  Need help in framing data read from wav file
Posted by: Vishweshkumar - Feb-10-2017, 05:19 AM - Forum: Data Science - Replies (1)

Hi, I am quite new to python. I am using scipy and numpy libraries for my project. My project involves framing the data read from the .wav file and ta..... More

Print this item

  jaydebeapi architecture error?
Posted by: CraigBoyd - Feb-10-2017, 04:41 AM - Forum: General Coding Help - Replies (2)

Hello All,

I am struggling with connecting to a database using a jdbc driver.  In the interest of full disclosure I am a bit of n00b with python.
..... More

Print this item

  coding issue
Posted by: Lee - Feb-10-2017, 04:05 AM - Forum: General Coding Help - Replies (2)

I wirte a simple as following.
Could someone can tell me why the answer is different Buf1 and Buf2 ??
Thank for you help.

[python]
def fList_Tes..... More

Print this item

  big app in python
Posted by: Skaperen - Feb-10-2017, 03:16 AM - Forum: News and Discussions - Replies (21)

i am trying to convince my nephew to learn python.   he's been asking some things about python and we came to this point.  what is the biggest, or a v..... More

Print this item

  Smooth linestrings
Posted by: dusca - Feb-10-2017, 12:10 AM - Forum: Data Science - Replies (3)

Hello,

Theres any algoritm to get smooth linestring coordinates (red line) from original linestring coordinates (green line)???

See image, please: h..... More

Print this item

  UnicodeDecodeError while installing polyglot
Posted by: draems - Feb-09-2017, 10:21 PM - Forum: Data Science - Replies (2)

Good day everyone. I'm installing polyglot for python 3.4.3 in windows 7 64 bit. Dependencies were installed already and when I installed  polyglot, I..... More

Print this item

  strings that cycles
Posted by: lizarragaman - Feb-09-2017, 09:25 PM - Forum: Homework - Replies (6)

a.     Generate a list of 10,000 strings that cycles through the lower case alphabet in a way simila..... More

Print this item

  Turtle Bar Chart Colour fill question
Posted by: JRod - Feb-09-2017, 09:02 PM - Forum: General Coding Help - Replies (3)

Hey,
I am using Turtle to learn how if and elif statements work.
I have a quick program that draws a bar chart... here it is...

[python]
import ..... More

Print this item

  MaxPlus
Posted by: sajley - Feb-09-2017, 06:39 PM - Forum: General Coding Help - Replies (5)

Hi Guys.
Can anyone help me about MaxPlus class. ?  (CG)

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  What Happened At The End ... 8 minutes ago aellatsz9602 aellatsz9602 General Codin...
  Opencv findContours Q Today, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... Yesterday, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Yesterday, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Yesterday, 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...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  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... 580429
  Tutorial Requ... 519631
  Web Scraping ... 442785
  Newbie with P... 386990
  New Users Int... 386583
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
aellatsz9602 Today
cruisesfares Today
azam Today
zcharlesoogleto9533 Today
MaxTranslate Yesterday

User Panel Messages

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