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,933
» Latest member: randydurham
» Forum threads: 38,723
» Forum posts: 175,504

Full Statistics

Online Users
There are currently 45 online users.
» 1 Member(s) | 37 Guest(s)
Applebot, Bing, AOL, Google, Mojeek, AOL, kshahzad1985

Latest Threads
NEED HELP TO RECOVER SCAM...
Forum: Data Science
Last Post: randydurham
1 hour ago
» Replies: 0
» Views: 12
THE MOST TRUSTWORTHY CRYP...
Forum: General Coding Help
Last Post: randydurham
1 hour ago
» Replies: 0
» Views: 12
Too much space between gr...
Forum: GUI
Last Post: RonR
3 hours ago
» Replies: 2
» Views: 871
How Reliable Is Assignmen...
Forum: News and Discussions
Last Post: tobey12
7 hours ago
» Replies: 0
» Views: 47
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
11 hours ago
» Replies: 1
» Views: 353
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,459
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,525
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 391
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 122
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,898

 
  setup epson lq350 dot matrix printer by python-printer-escpos
Posted by: gray - May-30-2017, 11:10 AM - Forum: GUI - Replies (10)

hello
i want to setup epson lq350 dot matrix printer...
i used python-printer-escpos module
my program is:
[python][rom escpos.connections import..... More

Print this item

  What is xrange?
Posted by: failedSIGNAL - May-30-2017, 01:50 AM - Forum: News and Discussions - Replies (7)

I'm about to create this thread to post some small questions to understand more about the instinct of some stuffs.
My first question: what (really) i..... More

Print this item

  Find kerning info from font
Posted by: 1marc1 - May-29-2017, 10:49 PM - Forum: General Coding Help - Replies (2)

Hi team,

I am looking to build a small program that takes three inputs:
- the name of an existing font file
- a character
- another character
..... More

Print this item

  Python list problem
Posted by: bagjohn - May-29-2017, 08:49 PM - Forum: General Coding Help - Replies (4)

Hello!
Can someone please explain what happens here???

[python]a = [[0] * 2] * 3
b = [[0,0],[0,0],[0,0]]
print(b==a)
a[1][1] = 5
b[1][1] = 5
..... More

Print this item

  Image Puzzle
Posted by: Digitalchemist - May-29-2017, 08:38 PM - Forum: Homework - Replies (6)

Hi, i am trying to solve this problem,

I have a test image (A) , this  image is the scrambled form of original image (O).

The goal is to determ..... More

Print this item

  Game Scoring
Posted by: jacob1986 - May-29-2017, 06:19 PM - Forum: Game Development - Replies (2)

I am trying to write a small game like Pong but I can't seem to be able to correctly adjust the scoring system. There are several problems in the scor..... More

Print this item

  wmi returns no data from an other pc
Posted by: panoss - May-29-2017, 12:15 PM - Forum: General Coding Help - Replies (9)

I 'm trying to secure my program using the pc 'c data (disk drives and processor).
I use this code:

[python]
import wmi
c = wmi.WMI()
for item ..... More

Print this item

  Writting system comand into a file.
Posted by: Mike Ru - May-29-2017, 11:58 AM - Forum: General Coding Help - Replies (2)

How can I write it into file?
I have a script

import os
os.system('ls')
I need to put output of this script into file.txt.
H..... More

Print this item

  Async server/client
Posted by: Bokka - May-29-2017, 10:08 AM - Forum: General Coding Help - Replies (2)

Hello! I have that 2 small programs 1 for server and 1 for client:


Server:

[python]
import socket

serversocket = socket.socket(socket.AF_I..... More

Print this item

  SinCos Vectors Math
Posted by: Dmitry_KZ - May-29-2017, 07:51 AM - Forum: General Coding Help - No Replies

Hi every one!
i have question about math
I have oculus controllers witch give me position and rotation of them, also i have surface somewhere in the..... More

Print this item

  web server that comes with Python
Posted by: Skaperen - May-29-2017, 07:07 AM - Forum: News and Discussions - Replies (7)

while reading stuff to try to understand WSGI i read that since 2.5 Python includes a web server. the implication is that it is WSGI compliant. not..... More

Print this item

  WSGI working examples
Posted by: Skaperen - May-29-2017, 06:56 AM - Forum: News and Discussions - Replies (1)

where can i get/install/deploy/run working examples of WSGI? the tutorials and descriptions i am finding online don't seem to make any sense. maybe ..... More

Print this item

  WSGI vs CGI
Posted by: Skaperen - May-29-2017, 06:50 AM - Forum: News and Discussions - Replies (9)

is WSGI an improved CGI-like interface?

Print this item

  Chatroom in TCP
Posted by: daltorya19 - May-29-2017, 12:53 AM - Forum: Networking - Replies (1)

Hello, I am completely new to sockets and TCP and have 0% understanding with it. I would like to learn how to communicate using a TCP server and would..... More

Print this item

  Recursion exit | DFS
Posted by: BeerLover - May-28-2017, 10:29 PM - Forum: General Coding Help - No Replies

Dear all,

I would very much appreciate some help with the code. It is supposed to find a quickest path towards ".". Like in the game "PacMan". It w..... More

Print this item

  Poker Dice while loop
Posted by: gullidog - May-28-2017, 07:48 PM - Forum: General Coding Help - Replies (2)

I am not sure why my while loop is broken, any help would be greatly appreciated.


[python]#This program will simulate a poker dice game.
import ..... More

Print this item

  Putting GPS data into a file
Posted by: kendias - May-28-2017, 06:56 PM - Forum: General Coding Help - No Replies

my question here
I am trying to input data that streams from a GPS module into a file. The file locations.csv opens OK but stays blank with no data ..... More

Print this item

  Pygames image
Posted by: Strofix - May-28-2017, 04:44 PM - Forum: Game Development - No Replies

Hi , to begin sorry for my english he is not good .


Is a script . I want to add a image (Representing an enemy) which would move randomly. But I..... More

Print this item

  GUI Webbrowser
Posted by: zarnav - May-28-2017, 04:37 PM - Forum: GUI - Replies (2)

Hey guys!

Just a quick question here for you.

I am thinking in creating my own "management center" in python, basically an app that would contro..... More

Print this item

  Adding Parameters to an API Request
Posted by: Bass - May-28-2017, 03:36 PM - Forum: General Coding Help - Replies (4)

Hi,

Could someone kindly advise on how to add a parameter to an API request, this maybe using curl, but I am unsure of how to do this.

I am usin..... More

Print this item

  Google Calendar & Python
Posted by: MeeranRizvi - May-28-2017, 09:01 AM - Forum: General Coding Help - Replies (2)

Hello Guys,
In this python script i am going to sync my google calendar events to the script.
I have gone through the setup of the API, I know that ..... More

Print this item

  Using Python to read external files
Posted by: beginnertoday - May-28-2017, 08:22 AM - Forum: General Coding Help - Replies (2)

Hi, I'm a beginner at coding. I had a query regarding how an external text file (like an .txt file or even a .py file saved on the hard drive of my co..... More

Print this item

  Convert py2exe
Posted by: daltorya19 - May-28-2017, 05:26 AM - Forum: General Coding Help - Replies (6)

I need to make this an exe with pyinstaller It's not working for me so what I'm really looking for is for someone to do it for me, I've looked everywh..... More

Print this item

  how to make class and instance method (multiple decorator) ?
Posted by: harun2525 - May-27-2017, 10:32 PM - Forum: General Coding Help - Replies (7)

I want make a method like in the following example

[python]

class foo():
   
   @classmethod
   @instancemethod # problem:NameError: name 'in..... More

Print this item

  Ideas for creating a function
Posted by: Ganjena - May-27-2017, 08:57 PM - Forum: General Coding Help - No Replies

Hi

I would like to make a program where a user can copy and paste various items from a game which would include amounts of these items into my prog..... More

Print this item

  Type consistency cross-application via UDP
Posted by: to_the_sun - May-27-2017, 07:09 PM - Forum: Networking - Replies (6)

When sending data from Max/MSP to Python via UDP all I wind up receiving on the other side is stuff that looks like this:

b'float\x00\x00\x00,f\x00..... More

Print this item

  Python Trading Engine
Posted by: icabero0225 - May-27-2017, 07:00 PM - Forum: General Coding Help - Replies (3)

So I am trying to code a python script to assist me with my stock trading. here's my code so far.
[python]def buy():
   datr = float(input("Daily AT..... More

Print this item

  Can't make the turtle walk..
Posted by: Turry - May-27-2017, 06:16 PM - Forum: Game Development - Replies (3)

I made this game that there is a turtle and you can make walls using mouse1, delete them using mouse2 and "command" the turtle to walk with scroll cli..... More

Print this item

  mysql.connector - incorrect integer value
Posted by: Milo - May-27-2017, 09:22 AM - Forum: General Coding Help - Replies (3)

Hi all,

I've been playing around with mysql.connector and trying to insert data into a mysql database. When using the %s or %d syntax I receive a "..... More

Print this item

  columnize.py
Posted by: Skaperen - May-27-2017, 08:00 AM - Forum: Code sharing - Replies (1)

here is a "first working" case of my class to tightly columnize output.  as a command/program it will columnize STDIN to STDOUT.  this is just a first..... More

Print this item

  Dazed and confused...
Posted by: RodNintendeaux - May-27-2017, 04:57 AM - Forum: General Coding Help - Replies (10)

Hello everyone! Rod here with a new account saying "Hi!" and looking to fix a little problem I am having as I setup to learn this new programming thin..... More

Print this item

  Modules in Python
Posted by: Ewkos - May-26-2017, 05:24 PM - Forum: General Coding Help - Replies (15)

Hello everyone,

i have the following problem with modules and my folder structure:

thats my folder and file structur:

main-folder
-python module 1
..... More

Print this item

  Pyplot line color and spacing/padding
Posted by: metalray - May-26-2017, 08:39 AM - Forum: Homework - No Replies

Dear Python Experts,

I have prepared a chart and just some visual upgrades in mind
I wonder why the chart goes beyond the maximum values given and..... More


Attached Files

Thumbnail(s)
   
Print this item

  str vs repr
Posted by: Skaperen - May-26-2017, 05:22 AM - Forum: General Coding Help - Replies (9)

besides the difference in how they handle strings, is there anything in which str() will handle differently than repr()?  i have the ide..... More

Print this item

  Exception while intalling jupyter notebook
Posted by: bmohanraj91 - May-26-2017, 05:00 AM - Forum: General Coding Help - Replies (3)

my question here

I am trying to install jupyter notebook systems in my linux machine, I checked their website which states

pip3 install jupyter..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  NEED HELP TO RECOVER SCAM... 1 hour ago randydurham randydurham Data Science
  THE MOST TRUSTWORTHY CRYP... 1 hour ago randydurham randydurham General Codin...
  [Tkinter] Too much space ... 3 hours ago RonR RonR GUI
  How Reliable Is Assignmen... 7 hours ago tobey12 tobey12 News and Disc...
  Another app idea - intera... 11 hours ago decuser Lenowell News and Disc...
  403 Error Yesterday, 20:58 CaptainNewb snippsat Web Scraping ...
  real community Yesterday, 20:16 decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
Most views
  The best Prog... 575819
  Tutorial Requ... 497087
  Web Scraping ... 439832
  Newbie with P... 383530
  New Users Int... 365408
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8174
snippsat 7367
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
randydurham Today
XenonBlack Today
tobey12 Today
Lenowell Today
luisshulez6883 Yesterday

User Panel Messages

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