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,616
» Latest member: Jatayu_12
» Forum threads: 38,637
» Forum posts: 175,054

Full Statistics

Online Users
There are currently 551 online users.
» 0 Member(s) | 545 Guest(s)
Applebot, Bing, Baidu, Google, Yandex

Latest Threads
Setting AST node lineno c...
Forum: General Coding Help
Last Post: voidtrance
Yesterday, 02:10 PM
» Replies: 5
» Views: 435
[SOLVED] Let user search ...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:04 PM
» Replies: 3
» Views: 166
color names
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 08:10 AM
» Replies: 9
» Views: 199,364
Python Install Mager Help
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 04:43 AM
» Replies: 1
» Views: 117
tracking version during r...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 04:15 AM
» Replies: 3
» Views: 620
Comparing two columns wit...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:41 AM
» Replies: 3
» Views: 1,518
Convert any Python expres...
Forum: General Coding Help
Last Post: DeaD_EyE
Jun-23-2025, 07:06 AM
» Replies: 2
» Views: 321
Using EventSource in Pyth...
Forum: Web Scraping & Web Development
Last Post: snippsat
Jun-22-2025, 08:45 AM
» Replies: 1
» Views: 175
need help with tracking a...
Forum: General Coding Help
Last Post: gqdeep01
Jun-22-2025, 02:14 AM
» Replies: 0
» Views: 158
A penny doubled every day...
Forum: Homework
Last Post: DeaD_EyE
Jun-21-2025, 05:26 PM
» Replies: 5
» Views: 299

 
  Send the output from a running script
Posted by: MeeranRizvi - Apr-06-2017, 02:43 PM - Forum: Homework - Replies (1)

Hello Guyz,
Here i am writing a script by pinging an ip continously.



[python]
def ip_ping():
    import subprocess
    b= "172.30.36.136"
..... More

Print this item

  OOP Code help!
Posted by: ajaY - Apr-06-2017, 02:00 PM - Forum: Homework - Replies (3)

Implement the following classes from the following UML class diagrams, instantiate some objects and show the functionality of the classes. 
1.[size=..... More

Print this item

  Just some second choice answers help please
Posted by: ajaY - Apr-06-2017, 01:26 PM - Forum: Homework - Replies (6)

Forget my uni assignment was in for today :/


1.      What could we do to better encapsulate our..... More

Print this item

  Round a number up to certain significant figures
Posted by: brocq_18 - Apr-06-2017, 12:12 PM - Forum: General Coding Help - Replies (4)

[python]import math
maxValue = 12345678
a = maxValue/4.0 # Python 2.x requires either numerator/denominator to be a float to return one
print "This..... More

Print this item

  String in Pandas
Posted by: yamanda - Apr-06-2017, 11:41 AM - Forum: Data Science - Replies (12)

Hello Once again

I have somethehing like this

[quote]
[font=Courier New]komen_F1=df2.iloc[[color=#0000ff]21,[color=#0000..... More

Print this item

  Problem with animation
Posted by: jdewk - Apr-06-2017, 04:48 AM - Forum: GUI - No Replies

I have this code for animating two lines
[python]
def animate(i):
   global GLOBAL_TARGET
   global GLOBAL_RESULT
   if i > 19:
       i = 19
..... More

Print this item

  With pyCharm how to run(build) the whole(3 files)
Posted by: sylas - Apr-06-2017, 04:23 AM - Forum: General Coding Help - Replies (14)

Hi all! I have 3 files in the same project. To join files I use import. Is it correct ?? But the most important question is: how to run the whole proj..... More

Print this item

  Help on a program to help with distributing food to the needy
Posted by: teenspirit - Apr-06-2017, 01:13 AM - Forum: General Coding Help - Replies (39)

I am not a very experienced programmer, but i have done some coding in python. I helped distribute food from a food bank the other day, and found a ma..... More

Print this item

  hotkeys module
Posted by: Skaperen - Apr-05-2017, 11:57 PM - Forum: General Coding Help - Replies (2)

researching a smooth way to do hotkeys (a way to have a single key press be passed to the program where that program then decides what to do based on ..... More

Print this item

  List of square roots python
Posted by: py7 - Apr-05-2017, 10:22 PM - Forum: Homework - Replies (6)

So the question is:

I have to do a little program where the function receives a argument x, who is an integer and returns a list of the sum of the fi..... More

Print this item

  Writing List to CSV
Posted by: tkj80 - Apr-05-2017, 08:25 PM - Forum: General Coding Help - Replies (6)

Hi,

I have a list as follows stored in a variable name csvImport:

[['3-March-17', 'a', 'b', 'c'],
['16-February-17', 'd', 'e', 'f'],
['19-Janu..... More

Print this item

  checking if there are numbers in the string
Posted by: Sp00f - Apr-05-2017, 07:12 PM - Forum: General Coding Help - Replies (11)

[python]flyTo = input("Where would you like to fly? ")
if flyTo == flyTo.isdigit():
    print("You accidentally added a number")
elif flyTo == flyT..... More

Print this item

  unpacking error - chess
Posted by: gboreham - Apr-05-2017, 06:55 PM - Forum: General Coding Help - Replies (3)

I have been trying to work on coding a chess game for some fun, i know it is very inefficient and so forth but this does not bother me largely as i am..... More

Print this item

  Hack the world! - soon
Posted by: wavic - Apr-05-2017, 06:40 PM - Forum: Bar - Replies (3)

https://flipboard.com/@flipboard/flip.it...nsider.com

IoT - I don't think so.

Print this item

  Inputting a varible
Posted by: BlathaBlather - Apr-05-2017, 06:24 PM - Forum: General Coding Help - Replies (3)

Say I had a list called 'rade' and in it was [1,2, 3, 4, 5,] and I also had another list called 'spam' and in it was  [6,  7, 8, 9, 10,]
I want to inp..... More

Print this item

  UDP Socket Issues
Posted by: hellboy632789 - Apr-05-2017, 04:51 PM - Forum: Homework - Replies (3)

Hello, I am trying to figure out how to properly print the data from a UDP packet. For homework our professor has a server running that when it receiv..... More

Print this item

  PyCalc(V1.5.1) Errors!
Posted by: timmyiscool8 - Apr-05-2017, 03:09 PM - Forum: General Coding Help - No Replies

This is a python calculator I am making. Based off of source code from: BlendyCat.

I just wanted someone with more experience than me to make sure ..... More

Print this item

  Drag and drop image object
Posted by: vijaysagi - Apr-05-2017, 02:57 PM - Forum: GUI - Replies (1)

The following is the code to display an image and am trying to drag it to desired location. Once i click on the image the relavnt event method is not ..... More

Print this item

  Matrix Problem
Posted by: Salito - Apr-05-2017, 11:28 AM - Forum: Homework - Replies (1)

Hi everyone,

I'm a beginner in Python language and I've got a little problem with a matrix I tried to encode.
I want to have these vectors :
[pyt..... More

Print this item

  Symbols Distinguished From Letters?
Posted by: MeMeBigBoy - Apr-05-2017, 10:46 AM - Forum: General Coding Help - Replies (3)

Hi, I'm creating a password score program, everything seems to be fine until you enter a password with only symbols. It comes out saying that both upp..... More

Print this item

  Python symbols AND letters
Posted by: gullidog - Apr-05-2017, 10:42 AM - Forum: General Coding Help - Replies (1)

[python]
symbols = "~`!@#$%^&*()/_-+={}[]:>;',</?*-+"


contains_symbol = False
for symbols in symbols:
    if symbols in pw1:
      contains_s..... More

Print this item

  install couchdb-python
Posted by: iFunKtion - Apr-05-2017, 10:35 AM - Forum: General Coding Help - No Replies

Hi,
I have spent a couple of months developing an application that uses the python module for couchdb, and now i want to deploy it, I can't remember ..... More

Print this item

  How to get pyhton to identify symbols in a string
Posted by: MemeLord15 - Apr-05-2017, 09:58 AM - Forum: General Coding Help - Replies (4)

Smile

Print this item

  Do all class need constructors?(__init__)
Posted by: hsunteik - Apr-05-2017, 09:57 AM - Forum: General Coding Help - Replies (13)

I know it is all up to the programmer,but do most programmer do 
like this:

[python]
class test():
    def say(message):
        print (message..... More

Print this item

  Symbols in a String
Posted by: MeMeBigBoy - Apr-05-2017, 09:41 AM - Forum: General Coding Help - Replies (4)

I am a student and I am currently working on a password scoring program, I need to find a way to identify whether the password entered (the string) co..... More

Print this item

  Symbol identification in variables
Posted by: Ollie - Apr-05-2017, 09:41 AM - Forum: General Coding Help - Replies (2)

[size=medium][size=small]I am a student working on a password checking program, I need help with identifiying if a variable has symbols ("~`!@#$%^&*()..... More

Print this item

  Pandac_concat
Posted by: yamanda - Apr-05-2017, 07:45 AM - Forum: General Coding Help - Replies (2)

Dear all

I want to combine two different data frames in one so i have a code
[quote]
SUM=pd.concat([SUM_1a, result_F1], join='outer' ,axis=1, ign..... More

Print this item

  'OSError: [Errno 16] Device or resource busy' for ralationship with ds1307
Posted by: gray - Apr-05-2017, 04:59 AM - Forum: General Coding Help - Replies (4)

i want to set time & date by ds1307 IC...I added rtc-ds1307 to /etc/modules my program is
[python]
from RTC_DS1307 import RTC

rtc = RTC()
rtc.se..... More

Print this item

  disable proxy with requests module
Posted by: metulburr - Apr-05-2017, 02:44 AM - Forum: Web Scraping & Web Development - Replies (2)

doing a simple request with the requests module causes the error below. This error is due to me using a proxy for web browsers only. However i dont wa..... More

Print this item

  Testing with Python
Posted by: harrington40 - Apr-05-2017, 01:14 AM - Forum: General Coding Help - Replies (5)

Hell all. I have few questions about developing an automating test for the real-time measuring device.
 The goal is to write a couple of test cases t..... More

Print this item

  Simple Function Call
Posted by: PappaBear - Apr-04-2017, 10:59 PM - Forum: General Coding Help - Replies (2)

Complete Noob to programming.  With that out of the way,  Going into the function does not appear to be happening.

I put a print statement in the "..... More

Print this item

  Beautifulsoup parsing
Posted by: Larz60+ - Apr-04-2017, 09:28 PM - Forum: Web Scraping & Web Development - Replies (7)

line in html:

Output:
<b>Host Software</b> S. Crocker
I want Host software and author separated
i get the title with x.find('b'),

I ..... More

Print this item

  Can't understand the output of this recursion function
Posted by: bigmit37 - Apr-04-2017, 08:52 PM - Forum: General Coding Help - Replies (5)

def f(n):
    if n < 5:
        return n + 1
    
    return (f(n // 2) ,  f(n // 3) ) 
f(100) is leading to an ou..... More

Print this item

  Strings containing both symbols and letters
Posted by: gullidog - Apr-04-2017, 07:32 PM - Forum: General Coding Help - Replies (13)

Hello, I am a student and i need to know how to check if a string contains both symbols and text. Any help would be greatly appreciated.

Print this item

  Traceback Help
Posted by: Low_Ki_ - Apr-04-2017, 06:47 PM - Forum: Game Development - Replies (9)

I have 5 files that tie together to create a simple alien invaders type game. While adding the bullet function I've made a mistake somewhere and canno..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Setting AST node lineno c... Yesterday, 14:10 voidtrance voidtrance General Codin...
  [WxPython] [SOLVED] Let u... Yesterday, 14:04 Winfried deanhystad GUI
  color names Yesterday, 08:10 jimrinaldo DeaD_EyE General Codin...
  Python Install Mager Help Yesterday, 04:43 bowens1983 DeaD_EyE News and Disc...
  tracking version during r... Yesterday, 04:15 Skaperen DeaD_EyE News and Disc...
  Comparing two columns wit... Yesterday, 03:41 doug2019 Pedroski55 General Codin...
  Convert any Python expres... 06-23, 07:06 voidtrance DeaD_EyE General Codin...
  Using EventSource in Pyth... 06-22, 08:45 rbadis snippsat Web Scraping ...
  need help with tracking a... 06-22, 02:14 gqdeep01 gqdeep01 General Codin...
  A penny doubled every day... 06-21, 17:26 esoyboy DeaD_EyE Homework
  I have a question 06-21, 09:26 Clictithe noisefloor General Codin...
Most views
  The best Prog... 572329
  Tutorial Requ... 484928
  Web Scraping ... 436859
  Newbie with P... 379689
  Thread remain... 351234
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12067
buran 8173
snippsat 7340
deanhystad 6840
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
Jatayu_12 Today
Kupo Today
usulek Today
john_morgan Today
Sreearvind Today

User Panel Messages

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