Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.

Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,362
» Latest member: to_the_sun
» Forum threads: 2,807
» Forum posts: 17,801

Full Statistics

Online Users
There are currently 18 online users.
» 2 Member(s) | 16 Guest(s)
buran

Latest Threads
Type consistency cross-ap...
Forum: Networking
Last Post: to_the_sun
7 minutes ago
» Replies: 0
» Views: 1
Python Trading Engine
Forum: General Coding Help
Last Post: icabero0225
15 minutes ago
» Replies: 0
» Views: 4
Python Application Starte...
Forum: General Coding Help
Last Post: MistakenGuru
35 minutes ago
» Replies: 2
» Views: 60
Can't make the turtle wal...
Forum: Game Development
Last Post: Turry
1 hour ago
» Replies: 0
» Views: 12
format String in SQL stat...
Forum: Homework
Last Post: Steven
1 hour ago
» Replies: 4
» Views: 67
Dazed and confused...
Forum: General Coding Help
Last Post: RodNintendeaux
1 hour ago
» Replies: 3
» Views: 63
Modules in Python
Forum: General Coding Help
Last Post: nilamo
1 hour ago
» Replies: 5
» Views: 72
mysql.connector - incorre...
Forum: General Coding Help
Last Post: snippsat
3 hours ago
» Replies: 1
» Views: 31
columnize.py
Forum: Scripts & Snippets
Last Post: Skaperen
11 hours ago
» Replies: 0
» Views: 18
Getting csrf token to log...
Forum: General Coding Help
Last Post: snippsat
Today, 06:37 AM
» Replies: 2
» Views: 70

 
  Type consistency cross-application via UDP
Posted by: to_the_sun - 7 minutes ago - Forum: Networking - No Replies

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 - 15 minutes ago - Forum: General Coding Help - No Replies

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 - 1 hour ago - Forum: Game Development - No Replies

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 - 9 hours ago - Forum: General Coding Help - Replies (1)

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 - 11 hours ago - Forum: Scripts & Snippets - No Replies

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 - Today, 04:57 AM - Forum: General Coding Help - Replies (3)

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 - Yesterday, 05:24 PM - Forum: General Coding Help - Replies (5)

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 - Yesterday, 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 - Yesterday, 05:22 AM - Forum: General Coding Help - No Replies

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 - Yesterday, 05:00 AM - Forum: General Coding Help - Replies (2)

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

  format String in SQL statement.
Posted by: Steven - Yesterday, 03:44 AM - Forum: Homework - Replies (4)

Hello everyone. I am having a problem formatting a string. That's what it boils down to. I am using a sglite3 database and looking for a date format i..... More

Print this item

  Trouble with general code flow
Posted by: JCN - Yesterday, 03:31 AM - Forum: General Coding Help - Replies (1)

As you can see by my crude coding I am a newbie.  I've gotten this far and know my objectives could be achieved by much better coding (last file asked..... More

Print this item

  Pausing a loop with spacebar, resume again with spacebard
Posted by: bigmit37 - May-25-2017, 09:12 PM - Forum: General Coding Help - Replies (3)

I have a loop that opens and closes images.



[python]from PIL import Image
import time
import subprocess
for i in bio:
   p = subprocess.Pop..... More

Print this item

Bug Priority problem with PyQt5 QMenu() and QSystemTrayIcon()
Posted by: Alfalfa - May-25-2017, 07:37 PM - Forum: GUI - No Replies

I made a very simplistic GUI which rely mainly on the status of the system tray icon. Overall it works fine, but there seems to be a problem with the ..... More

Print this item

  How to embed mp3 file with Pyinstaller
Posted by: panoss - May-25-2017, 05:21 PM - Forum: General Coding Help - Replies (1)

I 'm tryin to use an mp3 in my app.
This is how:
[python]
def _response_to_alert(self):
if getattr(sys, 'frozen', False):
# we are running ..... More

Print this item

  Nested Loop to Generate Triangle
Posted by: Babbare - May-25-2017, 04:13 PM - Forum: Homework - Replies (3)

I need the triangle to be in reverse. The assignment requires a nested loop to generate a triangle with the user input of how many lines.

Currently..... More

Print this item

  Graphic of total different connection opened by one ip (per seconds) by time
Posted by: FoxModem56k - May-25-2017, 03:27 PM - Forum: General Coding Help - No Replies

Graphic of total different connection opened by one ip (per seconds) by time (slowloris attack)

I have a network dump (PCAP file) from a "conversat..... More

Print this item

  How can I get Colors of current GTK theme?
Posted by: ondoho - May-25-2017, 02:37 PM - Forum: GUI - Replies (2)

Hello,
On ArchLinux, I'm trying to get the Colors of the current GTK3 theme, but without opening a gtk window.
All I want the script to do is g..... More

Print this item

  How to find the cosine of an angle
Posted by: sylas - May-25-2017, 01:23 PM - Forum: General Coding Help - Replies (6)

my question here:Hi all. I have not received my book yet, so I am unable to go on.

[python]#file2.py
#module
# Import built-in module math
impor..... More

Print this item

  Jython for music
Posted by: RoseRodent - May-25-2017, 08:57 AM - Forum: Homework - No Replies

Background My apologies if this isn't even python! I have been trying to look up what the differences and similarities are and people tell me t..... More

Print this item

  National Flood Hazard Layer (NFHL) files extraction
Posted by: sirgeo - May-25-2017, 04:50 AM - Forum: Homework - Replies (2)

Noob looking for some guidance with the following task.

Use Python to extract flood hazard info from ..... More

Print this item

  Mini-Web Framework
Posted by: nilamo - May-25-2017, 03:34 AM - Forum: Scripts & Snippets - Replies (5)

So I've had an idea running around my head for a while, and I decided to finally do something about it and try it out.  The basics of the mini framewo..... More

Print this item

  splitting or parsing control characters
Posted by: Skaperen - May-25-2017, 02:57 AM - Forum: General Coding Help - Replies (19)

i would like to do a split on a string (including bytes) such that it splits control characters as classes.  for example if a string is [inline]'foo\n..... More

Print this item

  Basic DC Electronics- Resistors Part I
Posted by: sparkz_alot - May-24-2017, 09:11 PM - Forum: Tutorials - No Replies

Seeing an increase recently in Raspberry Pi and Arduino questions, I thought I would dust off the cobwebs and write a simple script in Python about so..... More

Print this item

  Underscores And You, A Guide To Turning Magic Into Science
Posted by: nilamo - May-24-2017, 08:00 PM - Forum: Tutorials - No Replies

Source: https://medium.com/embrace-technology/th...63c86b8c0d

Print this item

  Change color of a row of a QTableView?
Posted by: panoss - May-24-2017, 05:21 PM - Forum: GUI - Replies (2)

How can I change the color of a row of QTableView which has as model a QStandardItemModel?

I tried this with no success:
[python]index = self.game..... More

Print this item

  Cancel update of text of QPlainTextEdit if terms not satisfied
Posted by: panoss - May-24-2017, 05:07 PM - Forum: GUI - No Replies

I have a QPlainTextEdit 's textChanged event connected to _criterion_txt_textChanged function.
I want the user not to able to enter a value grater th..... More

Print this item

  Help? I can't figure this out.
Posted by: hentera - May-24-2017, 05:04 PM - Forum: General Coding Help - Replies (4)

If a line in my program contains the word murder, how can I get my program to replace the word murder with "-------")?
[python]import sys


file =..... More

Print this item

  Django with socket-io
Posted by: charlesprince - May-24-2017, 03:25 PM - Forum: Web Development - Replies (1)

I am going to create socket io server with Django, is there any example to make it.

Print this item

  Simple Browser
Posted by: Turry - May-24-2017, 02:50 PM - Forum: Scripts & Snippets - No Replies

I did a simple browser using Tkinter and requests.
It's not the best and I can really improve on it but atleast it works.
[python]import tkinter
fr..... More

Print this item

  Randomise network while maintaining topology of nodes using edge-swap approach
Posted by: Tom1988 - May-24-2017, 02:30 PM - Forum: General Coding Help - Replies (3)

I have an array of nodes and edges like this (in reality, there are over 200,000 edges):

[size=medium][python][101_123,12312_23..... More

Print this item

  Help with code
Posted by: BNB - May-24-2017, 12:07 PM - Forum: General Coding Help - Replies (3)

Hello,
*sorry about the subject, unable to edit it*
I am new to Python and trying to figure out a way to start. I have a large section of code that wa..... More

Print this item

  Python module cx_Oracle ld installation issue on Solaris11U3 SPARC: fatal: file /orac
Posted by: sameernatekar - May-24-2017, 10:47 AM - Forum: News and Discussions - No Replies

Trying to install cx_Oracle on Solaris11U3 but getting ld: fatal: file /oracle/database/lib/libclntsh.so: wrong ELF class: ELFCLASS64 error
 
# pyth..... More

Print this item

  List repetition
Posted by: ashwin - May-24-2017, 10:35 AM - Forum: General Coding Help - Replies (3)

my question here
I was experimenting with lists and this particular behavior of python caused me some confusion. Can anyone please clarify if what i ..... More

Print this item

  Could not load module
Posted by: Bani - May-24-2017, 10:12 AM - Forum: General Coding Help - Replies (3)

Hi,

I have a below error on line 756 of this file. What should I d..... More

Print this item