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,585
» Latest member: Cio
» Forum threads: 38,636
» Forum posts: 175,041

Full Statistics

Online Users
There are currently 389 online users.
» 1 Member(s) | 384 Guest(s)
Bing, Yandex, Baidu, snippsat

Latest Threads
Using EventSource in Pyth...
Forum: Web Scraping & Web Development
Last Post: snippsat
2 hours ago
» Replies: 1
» Views: 88
need help with tracking a...
Forum: General Coding Help
Last Post: gqdeep01
9 hours ago
» Replies: 0
» Views: 56
A penny doubled every day...
Forum: Homework
Last Post: DeaD_EyE
Yesterday, 05:26 PM
» Replies: 5
» Views: 177
I have a question
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 09:26 AM
» Replies: 2
» Views: 194
Problème d'exécutable
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 09:22 AM
» Replies: 1
» Views: 172
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Jun-20-2025, 07:21 PM
» Replies: 11
» Views: 497
[split] Simple webbot for...
Forum: Code Review
Last Post: Plyth
Jun-20-2025, 04:55 AM
» Replies: 3
» Views: 150
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: Pedroski55
Jun-20-2025, 12:07 AM
» Replies: 3
» Views: 211
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
Jun-19-2025, 03:37 AM
» Replies: 2
» Views: 159
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
Jun-18-2025, 09:15 PM
» Replies: 4
» Views: 281

 
  Tasks for Python
Posted by: Lamon112 - Jan-12-2017, 04:49 PM - Forum: General Coding Help - Replies (2)

Hello im new at python and i just finished learning wirting appending and reading from files.I learned about if,for,while,elif,else commands and i kno..... More

Print this item

  Array to construct matrix
Posted by: Felipe - Jan-12-2017, 03:28 PM - Forum: Data Science - Replies (1)

Hi guys,

I have 3 arrays with 10 elements which I used numpy to create:

Array 1    Array 2    Array 3
    1              2..... More

Print this item

  Crawling tweets with scrapy
Posted by: R3turnz - Jan-12-2017, 12:24 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello,
I want to crawl all tweets of a specific user because the twitter api does not allow this behavior.
I thinks twitter loads the tweets if you ..... More

Print this item

  How to run C++ code
Posted by: sajley - Jan-12-2017, 10:56 AM - Forum: General Coding Help - Replies (8)

hi guys

how i can run C++ code in python ?     Think

Print this item

  tutorial series python directx
Posted by: hsunteik - Jan-12-2017, 08:22 AM - Forum: General Coding Help - Replies (2)

1)I need a tutorial series(YouTube or  tutorial only)for directx in python but I can't really find it ,can I have it?
2)for you,is opengl or directx ..... More

Print this item

  Only one of two lines print/syntax error
Posted by: naysjp - Jan-12-2017, 06:47 AM - Forum: General Coding Help - Replies (2)

I searched the internet for syntax errors but I just get a general definition of what a syntax error could be. I am new to Python and teaching myself ..... More

Print this item

  Help pulling tkinter Entry string data
Posted by: Raudert - Jan-12-2017, 03:18 AM - Forum: General Coding Help - Replies (8)

So I have just picked up python as of three days ago and I am in the process of making a program. This is also my first experience with programming so..... More

Print this item

  Reports with Python?
Posted by: panoss - Jan-11-2017, 10:22 PM - Forum: General Coding Help - Replies (1)

I want to make reports for my db application I 'm making with python.
I 've found here s..... More

Print this item

Question Code golfing: splitting a list
Posted by: Ofnuts - Jan-11-2017, 10:04 PM - Forum: General Coding Help - Replies (7)

So I have a list L. To do some parallel processing, I want to split it into N sublists of equivalent length. The contents of the sublists are indi..... More

Print this item

  text-to-screen help
Posted by: Zman350x - Jan-11-2017, 09:47 PM - Forum: Game Development - Replies (9)

hey I want to blit user input to screen, I know how to blit text:

(example, not real code)

text = font.render("Enter Text Here", True, color)
s..... More

Print this item

  Detect if an integer ends in 0 or 5
Posted by: birdieman - Jan-11-2017, 09:05 PM - Forum: General Coding Help - Replies (4)

I am new to Python.  How do I determine if a variable (it will always be a two or three digit integer) ends either in a '0' or a '5'.  If it does, I w..... More

Print this item

  How to create def for sorted() from list of versioning files (filename+datetime)
Posted by: DrLove73 - Jan-11-2017, 02:10 PM - Forum: General Coding Help - Replies (10)

Hi everyone.

I am running FreeFileSync app on PC clients to sync/backup Users folders to network file server, with versioning turned on.

System..... More

Print this item

  Drawing raw data to screen
Posted by: LoganDark - Jan-11-2017, 12:27 PM - Forum: GUI - Replies (2)

I need to overlay an image on my screen, underneath my cursor if possible. Not a window, I need it to stay on top of everything.

I'm OK with..... More

Print this item

  Global Variables. Migrate code from MatLab
Posted by: Felipe - Jan-11-2017, 12:16 PM - Forum: General Coding Help - Replies (8)

Hi guys,

During my undergraduation I wrote a program in MatLab. This program have functions separated in different files that are called in the mai..... More

Print this item

  Cinema
Posted by: ZeroSpin2309 - Jan-11-2017, 10:34 AM - Forum: Homework - Replies (9)

The mission is to do a Python programm for a Cinema. 

Data for the cinema

The cinema got 2 cinema halls (A and B)
Every hall got ..... More

Print this item

  General Make_Python_Easier script
Posted by: Techmokid - Jan-11-2017, 10:26 AM - Forum: Code sharing - Replies (2)

This is an importable file that i have been working on.
It has no specific purpose other than to add some features to python to make it easier.
I just..... More

Print this item

  3D animation of neural spiking data
Posted by: lb5999 - Jan-11-2017, 09:28 AM - Forum: General Coding Help - Replies (4)

Hello Python-Forum,

This is my first post Dance

I have a very specific question - apologies if it fits into a different forum.

I have so..... More

Print this item

  cannot find file
Posted by: landlord1984 - Jan-11-2017, 07:04 AM - Forum: General Coding Help - Replies (6)

I am learning loading files by open().
I am sure I placed my text file in the same folder with my scripts.
But still get error:No such file or direc..... More

Print this item

  How to print the IP which shows destination host unreachable
Posted by: MeeranRizvi - Jan-11-2017, 07:02 AM - Forum: Homework - Replies (7)

Hello Guys,
Here i am writing a script to ping a certain range of ip in python.I just did with which ip is pingable and which ip is not pingable,i ju..... More

Print this item

  Print list items on separate lines with additional text
Posted by: DBS - Jan-11-2017, 01:04 AM - Forum: General Coding Help - Replies (2)

Hello,

I have some code that reads the columns of a csv and if the column value is True, print the list as a string, which I have working.  I now n..... More

Print this item

  US Census site
Posted by: Larz60+ - Jan-11-2017, 12:37 AM - Forum: Bar - Replies (12)

Hello,

I recently (last night) downloaded a bunch of data files from the US census public data site using a bot.
I thought I had inserted a delay ..... More

Print this item

  Im looking for someone to help me with Python
Posted by: Lamon112 - Jan-10-2017, 11:35 PM - Forum: General Coding Help - Replies (2)

I have just started Python 2-3 days ago and I dont know pretty much annything about it.My idea is that someone could talk all chat with me and help me..... More

Print this item

  free pony island
Posted by: metulburr - Jan-10-2017, 09:29 PM - Forum: Bar - Replies (1)

This game

believe it or not is awesome. 

I have a free key through humble bund..... More

Print this item

  Unwanted new lines
Posted by: snippsat - Jan-10-2017, 07:17 PM - Forum: Board - Replies (1)

First line.
12345
6789
last line.
-----------------------------
Output test with added code tag to numbers:
First line.

[python]12345

6789..... More

Print this item

  Pyusb freeze when using Dev.read(nr,nr,timeout=1000)
Posted by: bojane - Jan-10-2017, 07:15 PM - Forum: General Coding Help - Replies (3)

Shouldn't timeout release after 1sek ? As of now the code just halt with no error or anything.

Print this item

  PyGame Colors
Posted by: Zman350x - Jan-10-2017, 06:17 PM - Forum: Game Development - Replies (2)

Here's some Python/PyGame Colors. Enjoy!!! Smile
[python]white = ((255,255,255))
blue = ((0,0,255))
green = ((0,255,0))
red = ((255,0,0))
bla..... More

Print this item

  repeat function?
Posted by: ScarletSwitch - Jan-10-2017, 12:49 PM - Forum: General Coding Help - Replies (4)

is there a repeat function in python?
what I want to do is
[code]
use = input('Attack?')
if use == 'Yes':
    opponent_health = opponent_health -..... More

Print this item

  reverse generator
Posted by: Skaperen - Jan-10-2017, 09:28 AM - Forum: General Coding Help - Replies (7)

i like the simple way a generator can be created in python.  but i need something that is the opposite.   what i need is the ability to run, keeping i..... More

Print this item

  Cannot close matplot figure
Posted by: landlord1984 - Jan-10-2017, 08:35 AM - Forum: General Coding Help - Replies (5)

I thought it should be easy, but I couldn't get to close my figure.

My code:
[python]
import matplotlib.pyplot as plt
x=[1,2,3]
y=[5,7,4]
x2=[1,2,3]
..... More

Print this item

  datetime.datetime.now
Posted by: Skaperen - Jan-10-2017, 04:06 AM - Forum: General Coding Help - Replies (4)

i want to import the datetime.datetime.now function, only.  how can i do that?  i still don't understand the package module system.

Print this item

  Ho can I get the first parent of a class?
Posted by: panoss - Jan-09-2017, 01:10 PM - Forum: GUI - Replies (2)

I have a main class.
This creates another class, achild.
achild creates another class, bchild.
bchild can get it's parent (ach..... More

Print this item

  print pandas's df
Posted by: landlord1984 - Jan-09-2017, 08:03 AM - Forum: Data Science - Replies (4)

Here is my code:

import pandas as pd
web_stats={'Day':[1,2,3,4,5,6],
           'Visitor':[43,34,65,56,29,76],
           'Bounce Rate':[65,67,7..... More

Print this item

  TypeError: can't multiply sequence by non-int of type 'str'
Posted by: rmpadilla73 - Jan-09-2017, 03:28 AM - Forum: Homework - Replies (4)

Hello, I'm new to Python and I'm trying to type some code for an assignment.  It seemed relatively easy but it turned out being a hassle.
I get the f..... More

Print this item

  Installation problems
Posted by: leap - Jan-09-2017, 01:27 AM - Forum: Game Development - Replies (4)

Hi, I have a bit of a dilemma. I need both pygame and python on my computer. I have read the forums available and I have tried many suggestions availa..... More

Print this item

  Installation of bs4 and BeatifulSoup
Posted by: landlord1984 - Jan-08-2017, 11:42 PM - Forum: Web Scraping & Web Development - Replies (7)

I am trying to use BeatifulSoup from bs4. I am using eclipse IDE.

I followed the installation guide. Install by $ pip install beautifulsoup4:

Re..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using EventSource in Pyth... 2 hours ago rbadis snippsat Web Scraping ...
  need help with tracking a... 9 hours ago gqdeep01 gqdeep01 General Codin...
  A penny doubled every day... Yesterday, 17:26 esoyboy DeaD_EyE Homework
  I have a question Yesterday, 09:26 Clictithe noisefloor General Codin...
  Problème d'exécutable Yesterday, 09:22 Zauf noisefloor General Codin...
  How do select this table ... 06-20, 19:21 MarkMan snippsat Web Scraping ...
  [split] Simple webbot for... 06-20, 04:55 AB073 Plyth Code Review
  Dynamic Module Import Err... 06-20, 00:07 DaddyMAN Pedroski55 General Codin...
  What Are the Most Overloo... 06-19, 03:37 shreyapatel Plyth News and Disc...
  Setting AST node lineno c... 06-18, 21:15 voidtrance deanhystad General Codin...
  Wish to write a code for ... 06-18, 06:40 Hasan2025 Hasan2025 General Codin...
Most views
  The best Prog... 572295
  Tutorial Requ... 484800
  Web Scraping ... 436834
  Newbie with P... 379661
  Thread remain... 351226
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+ 12066
buran 8173
snippsat 7340
deanhystad 6839
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
Cio Today
Harsh Today
gqdeep01 Today
woefdram Yesterday
Yorrana Yesterday

User Panel Messages

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