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,629
» Latest member: rosefresh
» Forum threads: 38,639
» Forum posts: 175,070

Full Statistics

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

Latest Threads
Best software to convert ...
Forum: News and Discussions
Last Post: rosefresh
16 minutes ago
» Replies: 0
» Views: 1
How to put my game loop i...
Forum: Game Development
Last Post: Thatedge
1 hour ago
» Replies: 10
» Views: 3,070
2D-Cube-Tic-Tac-Toe
Forum: Game Development
Last Post: Thatedge
1 hour ago
» Replies: 2
» Views: 1,877
replace or remove text fr...
Forum: General Coding Help
Last Post: Curbie
2 hours ago
» Replies: 2
» Views: 50
Unable to install pygame ...
Forum: Game Development
Last Post: Plyth
5 hours ago
» Replies: 3
» Views: 2,102
List[] in Python needs so...
Forum: Game Development
Last Post: DeaD_EyE
Yesterday, 01:32 PM
» Replies: 3
» Views: 375
Web scraping confusion
Forum: Web Scraping & Web Development
Last Post: AlluminumFoil
Yesterday, 11:05 AM
» Replies: 4
» Views: 1,863
Problem Converting Tradin...
Forum: General Coding Help
Last Post: wallneradam
Yesterday, 07:29 AM
» Replies: 2
» Views: 2,797
PyQT5 Thread crashes afte...
Forum: GUI
Last Post: Axel_Erfurt
Jun-26-2025, 08:17 PM
» Replies: 2
» Views: 3,071
can't use pyrepl: bad mag...
Forum: News and Discussions
Last Post: Plyth
Jun-26-2025, 05:53 AM
» Replies: 2
» Views: 248

 
  Speeding up Twitter parser
Posted by: kiton - Jun-16-2017, 03:39 PM - Forum: Data Science - Replies (3)

Hello dear forum members,

With your generous help I was able to successfully run the following code:

[python]
import os
import json
import pa..... More

Print this item

  Radiobutton in Tkinter not Updating Variable from Value
Posted by: Aidan54321 - Jun-16-2017, 03:34 PM - Forum: GUI - Replies (1)

Hello. So I am trying to create a radiobutton that changes the value of another variable when clicked on. Obviously I'm missing something, because no ..... More

Print this item

  Modulus operator giving incorrect result
Posted by: Chaos - Jun-16-2017, 09:54 AM - Forum: Data Science - Replies (1)

Hello,

I am fairly new to Python and I am trying to implement the Hill Cipher as a small project. I think I have the logic figured out and have got t..... More

Print this item

  syntax error
Posted by: CardBoy - Jun-16-2017, 09:47 AM - Forum: General Coding Help - Replies (2)

Hi

I am using python 2.6 and python-gitlab 0.21.2

But running I get this error which I do not understand as it looks ok to me

[error]Tracebac..... More

Print this item

  multiplying integer to decimal
Posted by: ArnabRoyBatman - Jun-16-2017, 08:45 AM - Forum: News and Discussions - Replies (8)

I was trying a multiplication in python
c = 0.72*5

instead of giving me 3.6 it returned 3.599999997 something like that...
whats that about ????..... More

Print this item

  short way to combine tuples and int's
Posted by: Annie - Jun-16-2017, 12:42 AM - Forum: General Coding Help - Replies (6)

if I have four kinds of data like

l1 = 1   #int
l0 = 8   #int
l2 = 2,3 #tuple
l3 = 4,5 #tuple
Is there an elegant single..... More

Print this item

  Simple Caesar Cipher Help
Posted by: as1221 - Jun-15-2017, 06:48 PM - Forum: General Coding Help - Replies (6)

Hello all,

I would like some expert python help. I'm very new to Python and I'm trying to create a simple caesar but it isn't working. It's stuck o..... More

Print this item

  Feasibility of my project.
Posted by: Smith08 - Jun-15-2017, 08:54 AM - Forum: General Coding Help - Replies (3)

Hi. I am currently studying computing and must create a project that successfully uses a GUI , stores data etc. and it must solve a problem. I thought..... More

Print this item

  [ tools atom v pycharm ] -- when it comes to easier learning, and making life easier,
Posted by: oneofakindpython - Jun-14-2017, 09:58 PM - Forum: General Coding Help - Replies (2)

[ tools atom v pycharm ] -- when it comes to easier learning, and making life easier, could you please link to a detailed analysis of how -- exactly -..... More

Print this item

  Flash is not working in flask
Posted by: sahilsiddharth - Jun-14-2017, 09:44 PM - Forum: General Coding Help - Replies (3)

I have written a simple code ,but flash is not showing any message .
Code -
[python]flash('OK. The User ID is x')
return redirect(url_for('about')..... More

Print this item

  Local TCP
Posted by: hackysack - Jun-14-2017, 09:29 PM - Forum: Networking - Replies (3)

Hi,

Is this feasible? I understand the the principle of TCP/IP is microsoft comms over the internet. I am hoping that there is a simple'ish way aro..... More

Print this item

  Python if else condition using with args
Posted by: emrebt39 - Jun-14-2017, 08:58 PM - Forum: General Coding Help - Replies (5)

I want to use if else condition with arguments.Main codes at part 1
And i want to divide each arg to 10 and put args in if else condition.If else try..... More

Print this item

  PlaintextCorpusReader connectives custom file
Posted by: raky - Jun-14-2017, 05:53 PM - Forum: General Coding Help - Replies (1)

Hi , Appreciate for any help if possible please,  I am newbie and trying to get "connectives" using custom corpora , a file named my_text.txt,  which ..... More

Print this item

  File Content comparison-csv
Posted by: JP_ROMANO - Jun-14-2017, 04:50 PM - Forum: Data Science - Replies (5)

Good day - I thought I was going to be able to put my continuous python failures behind me for another month or so, but I've received a new task at wo..... More

Print this item

  Is it possible to use unsupported ciphers? SSL
Posted by: Kacy538 - Jun-14-2017, 02:36 PM - Forum: Networking - Replies (1)

Hey, So I need to use RC4-SHA for my server to connect with the client. I've tried to modify SSL library, but I've only got "AECDH-RC4-SHA" and this i..... More

Print this item

  Problems with PyInstaller with tkinter app on python 3.5
Posted by: sealyons - Jun-14-2017, 02:27 PM - Forum: General Coding Help - Replies (10)

Just getting started with Pyinstaller (and somewhat with Tk windowing) and having trouble getting my tkinter windows app (under python 3.5.3) running ..... More

Print this item

  Access webcam via python
Posted by: ArnabRoyBatman - Jun-14-2017, 02:13 PM - Forum: General Coding Help - Replies (1)

I want to access my webcam via python without using opencv....I have got Pillow library. I couldn't find any code to access the webcam without opencv...... More

Print this item

  how to write and read variables to a file
Posted by: foxtreat - Jun-14-2017, 01:19 PM - Forum: General Coding Help - Replies (2)

I googled around to see how i can write a variable lets say the string name,which equals "john"to a file and then when i reopen the script i can read ..... More

Print this item

  Error handling not working
Posted by: desudesu - Jun-14-2017, 12:44 PM - Forum: General Coding Help - Replies (2)

Hi, i made a program that reads a URL from textfile and checks if that websites status is <=400, if it is, it will return "website is running" and sav..... More

Print this item

  Help with faulty code.
Posted by: Wilson1218 - Jun-14-2017, 07:01 AM - Forum: General Coding Help - Replies (1)

Why won't this code work? It doesn't run through as it's meant to and fails to set the variables to what they are meant to be! The first example is "c..... More

Print this item

  my latest creation
Posted by: Skaperen - Jun-14-2017, 06:06 AM - Forum: Code sharing - No Replies

i was feeling rather happy so i created this:

[python]#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from __future__ import division, print_funct..... More

Print this item

  Maybe
Posted by: Skaperen - Jun-14-2017, 04:25 AM - Forum: News and Discussions - Replies (2)

how much code out there would break if a new value Maybe were added to the bool type? would any of your code break?

Print this item

  True vs False
Posted by: Skaperen - Jun-14-2017, 04:21 AM - Forum: General Coding Help - Replies (10)

i am reading in data, splitting it, etc, and getting strings with 'True' and 'False', such as reading from python source code.
i want to convert thes..... More

Print this item

  How do I run python scripts from any directory using Windows command prompt?
Posted by: bigmit37 - Jun-14-2017, 12:32 AM - Forum: General Coding Help - Replies (4)

The default directory I'm usually in when I start up Windows command prompt is C:\Users\Moon\, which I'm content with.

I have some folders locat..... More

Print this item

  Question on runtime and improving nested for loops
Posted by: ackmondual - Jun-13-2017, 10:26 PM - Forum: General Coding Help - Replies (1)

I'm writing code to find all solutions of a commercial, physical puzzle.  This is done by having the script go through all possible configurations/per..... More

Print this item

  Count variations
Posted by: JP_ROMANO - Jun-13-2017, 08:23 PM - Forum: Data Science - Replies (11)

Hi all... will admit right up front that Python has been an horrible nightmare for me. I can't seem to get anything to work, can't figure out the syn..... More

Print this item

  Anyone use a tablet?
Posted by: nilamo - Jun-13-2017, 07:28 PM - Forum: Bar - Replies (15)

I'm thinking of getting a tablet sometime soon. Does anyone have/use one, and how well does Python run on it?
From the little bit of research I've d..... More

Print this item

  Figure with Python
Posted by: maria - Jun-13-2017, 05:43 PM - Forum: General Coding Help - Replies (2)

Hi,

I am completely new to Python. I never used it before but it would be nice to learn.
So I am planning to build a figure as attached in the fig..... More

Print this item

  Python wsgi example: problem with javascript
Posted by: imonike - Jun-13-2017, 10:44 AM - Forum: Web Scraping & Web Development - Replies (12)

Hello all,
          Please I am having a problem modifying wsgi example. The original example is as follows:

[python]import cgi

form = b'''
<..... More

Print this item

  convert html to pdf in django site
Posted by: shahpy - Jun-13-2017, 08:10 AM - Forum: Web Scraping & Web Development - Replies (4)

hello

i'm creating a site with django.

i want to let my user to have resume in pdf format from there profile.

i think i have to have templa..... More

Print this item

  Box Sizer inside of panel managed by wx.lib.agw.aui
Posted by: Larz60+ - Jun-13-2017, 07:24 AM - Forum: GUI - Replies (1)

Hello,

I have been playing with AUI in wxpython phoenix.
I have managed to get a nice window with a menu, and three fully resizable
(one panel an..... More


Attached Files

Thumbnail(s)
   
Print this item

  program wanted: clean up pyc files
Posted by: Skaperen - Jun-13-2017, 06:08 AM - Forum: Bar - Replies (6)

i would like to find a program/script (in python) that scans for .pyc files and lists or removes them if the .py file for them exists and is readable...... More

Print this item

  Separating a string into evenly sized elements in a list
Posted by: kennybassett - Jun-13-2017, 05:39 AM - Forum: General Coding Help - Replies (9)

Hey everyone! I'm very new to python, and this is really stumping me.

So let's say I have a list containing every character that someone could type..... More

Print this item

  Using an Array in a While Loop
Posted by: JakeWitten - Jun-13-2017, 01:28 AM - Forum: Homework - Replies (22)

I'm trying to model the solar system, with the gravitational effects of each planet interacting with every other planet (including the Sun). So far I..... More

Print this item

  Encoding issue while running Sysinternals Autorunsc via Python subprocess
Posted by: JChris - Jun-13-2017, 12:01 AM - Forum: General Coding Help - No Replies

I have a Python 3.6.0 script where I run autorunsc v13.71 (https://technet.microsoft.com/en-us/sysi...63902.aspx) on the system (x86 or x86..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Best software to convert ... 16 minutes ago rosefresh rosefresh News and Disc...
  How to put my game loop i... 1 hour ago temlotresid6 Thatedge Game Developm...
  2D-Cube-Tic-Tac-Toe 1 hour ago freethrownucleus Thatedge Game Developm...
  replace or remove text fr... 2 hours ago Curbie Curbie General Codin...
  Unable to install pygame ... 5 hours ago garthE Plyth Game Developm...
  List[] in Python needs so... Yesterday, 13:32 Codingdesigner12 DeaD_EyE Game Developm...
  Web scraping confusion Yesterday, 11:05 keifin AlluminumFoil Web Scraping ...
  Problem Converting Tradin... Yesterday, 07:29 kralxs wallneradam General Codin...
  [PyQt] PyQT5 Thread crash... 06-26, 20:17 Suresh Axel_Erfurt GUI
  can't use pyrepl: bad mag... 06-26, 05:53 eliastw85 Plyth News and Disc...
  Setting AST node lineno c... 06-24, 14:10 voidtrance voidtrance General Codin...
Most views
  The best Prog... 572353
  Tutorial Requ... 485037
  Web Scraping ... 436890
  Newbie with P... 379720
  Thread remain... 351241
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 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
rosefresh Today
t3stocks Today
TheJeffah Yesterday
ChauHaiCim9904 Yesterday
barrelmarble Yesterday

User Panel Messages

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